# fr0go1/aeonix-cs2 architecture

> Architecture diagram of the GitHub repository fr0go1/aeonix-cs2, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-10). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/fr0go1/aeonix-cs2
- Repository: https://github.com/fr0go1/aeonix-cs2

## Overview

Aeonix-Cs2 is an external Counter-Strike 2 cheat. Its documented user-to-result workflow is: launch the program, attach to the game and initialize offsets, then run the overlay; the runtime reads player/game state and applies enabled aim, trigger, radar, and visual features. The README also documents configurable features and file-based configuration. Several feature implementations are unsampled, so those components and links are included only where the README or source index supports them; dashed links mark uncertain integration.

Main entry points: [`CS2_External/main.cpp`](https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/main.cpp) (Application entry), [`CS2_External/Cheats.cpp`](https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Cheats.cpp) (Cheat runtime), [`CS2_External/Game.cpp`](https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Game.cpp) (Game access), [`CS2_External/Utils/ProcessManager.hpp`](https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Utils/ProcessManager.hpp) (Process memory)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_startup["Startup and game access"]
  node_entry["Application entry<br/>[main.cpp]"]
  node_memory["Process memory<br/>[ProcessManager.hpp]"]
  node_offsets["Game offsets<br/>[Offsets.cpp]"]
  node_game["Game access<br/>[Game.cpp]"]
  node_entities["Player entities<br/>[Entity.cpp]"]
  node_bones["Bone data<br/>[Bone.cpp]"]
end

subgraph group_features["Gameplay features"]
  node_runtime["Cheat runtime<br/>[Cheats.cpp]"]
  node_aim["Aim and recoil<br/>[AimBot.hpp]"]
  node_trigger["Triggerbot<br/>[TriggerBot.hpp]"]
  node_radar["Radar<br/>[Radar.cpp]"]
end

subgraph group_overlay["Overlay and rendering"]
  node_visuals["ESP visuals<br/>[Render.hpp]"]
  node_gui["Overlay window"]
  node_imgui["ImGui toolkit<br/>[imgui.cpp]"]
end

subgraph group_settings["Settings and configuration"]
  node_settings_ui["Feature menu<br/>[Cheats.cpp]"]
  node_config_ui["Config controls<br/>[ConfigMenu.cpp]"]
  node_config_store["Config files<br/>[ConfigSaver.cpp]"]
  node_config_state["Feature settings<br/>[MenuConfig.hpp]"]
end

node_user(("User"))
node_cs2["Counter-Strike 2"]

node_user -->|"launches"| node_entry
node_entry -->|"attaches to"| node_memory
node_memory -.->|"reads process"| node_cs2
node_entry -->|"updates"| node_offsets
node_entry -->|"initializes"| node_game
node_game -->|"uses"| node_memory
node_game -->|"uses"| node_offsets
node_entities -->|"uses"| node_game
node_entities -->|"uses"| node_bones
node_entry -->|"starts overlay"| node_gui
node_entry -->|"registers callback"| node_runtime
node_runtime -->|"updates players"| node_entities
node_runtime -->|"draws visuals"| node_visuals
node_runtime -->|"invokes aiming"| node_aim
node_runtime -->|"runs triggerbot"| node_trigger
node_runtime -->|"adds radar points"| node_radar
node_aim -->|"projects targets"| node_game
node_trigger -->|"reads target"| node_memory
node_trigger -->|"resolves entity list"| node_game
node_gui -.->|"uses toolkit"| node_imgui
node_settings_ui -->|"edits settings"| node_config_state
node_runtime -->|"shows menu"| node_settings_ui
node_settings_ui -->|"includes controls"| node_config_ui
node_config_ui -.->|"manages configs"| node_config_store
node_entry -->|"sets config directory"| node_config_store
node_config_store -.->|"persists settings"| node_config_state

click node_entry "https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/main.cpp"
click node_memory "https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Utils/ProcessManager.hpp"
click node_offsets "https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Offsets.cpp"
click node_game "https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Game.cpp"
click node_entities "https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Entity.cpp"
click node_bones "https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Bone.cpp"
click node_runtime "https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Cheats.cpp"
click node_aim "https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/AimBot.hpp"
click node_trigger "https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/TriggerBot.hpp"
click node_radar "https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Radar/Radar.cpp"
click node_visuals "https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Render.hpp"
click node_gui "https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/OS-ImGui/OS-ImGui_External.cpp"
click node_imgui "https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/OS-ImGui/imgui/imgui.cpp"
click node_settings_ui "https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Cheats.cpp"
click node_config_ui "https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Utils/ConfigMenu.cpp"
click node_config_store "https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Utils/ConfigSaver.cpp"
click node_config_state "https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/MenuConfig.hpp"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_entry,node_memory,node_offsets,node_game,node_entities,node_bones,node_user toneBlue
class node_runtime,node_aim,node_trigger,node_radar toneAmber
class node_visuals,node_gui,node_imgui toneMint
class node_settings_ui,node_config_ui,node_config_store,node_config_state toneRose
class node_cs2 toneIndigo
```

## Components

### Startup and game access

- [Application entry](https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/main.cpp): `CS2_External/main.cpp`
- [Process memory](https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Utils/ProcessManager.hpp): `CS2_External/Utils/ProcessManager.hpp`
- [Game offsets](https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Offsets.cpp): `CS2_External/Offsets.cpp`
- [Game access](https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Game.cpp): `CS2_External/Game.cpp`
- [Player entities](https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Entity.cpp): `CS2_External/Entity.cpp`
- [Bone data](https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Bone.cpp): `CS2_External/Bone.cpp`

### Gameplay features

- [Cheat runtime](https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Cheats.cpp): `CS2_External/Cheats.cpp`
- [Aim and recoil](https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/AimBot.hpp): `CS2_External/AimBot.hpp`
- [Triggerbot](https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/TriggerBot.hpp): `CS2_External/TriggerBot.hpp`
- [Radar](https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Radar/Radar.cpp): `CS2_External/Radar/Radar.cpp`

### Overlay and rendering

- [ESP visuals](https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Render.hpp): `CS2_External/Render.hpp`
- [Overlay window](https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/OS-ImGui/OS-ImGui_External.cpp): `CS2_External/OS-ImGui/OS-ImGui_External.cpp`
- [ImGui toolkit](https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/OS-ImGui/imgui/imgui.cpp): `CS2_External/OS-ImGui/imgui/imgui.cpp`

### Settings and configuration

- [Feature menu](https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Cheats.cpp): `CS2_External/Cheats.cpp`
- [Config controls](https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Utils/ConfigMenu.cpp): `CS2_External/Utils/ConfigMenu.cpp`
- [Config files](https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/Utils/ConfigSaver.cpp): `CS2_External/Utils/ConfigSaver.cpp`
- [Feature settings](https://github.com/fr0go1/aeonix-cs2/blob/master/CS2_External/MenuConfig.hpp): `CS2_External/MenuConfig.hpp`

### Other components

- **User**
- **Counter-Strike 2**

## Connections

- User → Application entry: launches (evidence: `CS2_External/main.cpp`)
- Application entry → Process memory: attaches to (evidence: `CS2_External/main.cpp`)
- Process memory → Counter-Strike 2: reads process
- Application entry → Game offsets: updates (evidence: `CS2_External/main.cpp`)
- Application entry → Game access: initializes (evidence: `CS2_External/main.cpp`)
- Game access → Process memory: uses
- Game access → Game offsets: uses
- Player entities → Game access: uses
- Player entities → Bone data: uses
- Application entry → Overlay window: starts overlay (evidence: `CS2_External/main.cpp`)
- Application entry → Cheat runtime: registers callback (evidence: `CS2_External/main.cpp`)
- Cheat runtime → Player entities: updates players (evidence: `CS2_External/Cheats.cpp`)
- Cheat runtime → ESP visuals: draws visuals (evidence: `CS2_External/Cheats.cpp`)
- Cheat runtime → Aim and recoil: invokes aiming (evidence: `CS2_External/Cheats.cpp`)
- Cheat runtime → Triggerbot: runs triggerbot (evidence: `CS2_External/Cheats.cpp`)
- Cheat runtime → Radar: adds radar points (evidence: `CS2_External/Cheats.cpp`)
- Aim and recoil → Game access: projects targets (evidence: `CS2_External/AimBot.hpp`)
- Triggerbot → Process memory: reads target (evidence: `CS2_External/TriggerBot.hpp`)
- Triggerbot → Game access: resolves entity list (evidence: `CS2_External/TriggerBot.hpp`)
- Overlay window → ImGui toolkit: uses toolkit
- Feature menu → Feature settings: edits settings (evidence: `CS2_External/Cheats.cpp`)
- Cheat runtime → Feature menu: shows menu (evidence: `CS2_External/Cheats.cpp`)
- Feature menu → Config controls: includes controls (evidence: `CS2_External/Cheats.cpp`)
- Config controls → Config files: manages configs
- Application entry → Config files: sets config directory (evidence: `CS2_External/main.cpp`)
- Config files → Feature settings: persists settings
