# jerffffff/combat-arms architecture

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

- Interactive diagram: https://gitdiagram.com/jerffffff/combat-arms
- Repository: https://github.com/jerffffff/combat-arms

## Overview

CALIB appears to be a game-process modification tool: it scans game modules for addresses, accesses client/game objects, and provides a menu and Direct3D rendering hooks for features such as visual and player options. The tree also contains a broad LithTech SDK interface set and engine-object code. The README is empty, and the excerpts do not show a complete initialization or feature-dispatch path, so the graph limits connections to relationships evidenced by source references or excerpts.

Main entry points: [`CALIB/CALIB/Memory/Memory.cpp`](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Memory/Memory.cpp) (Memory scanning), [`CALIB/CALIB/Directx/Directx.cpp`](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Directx/Directx.cpp) (Direct3D hooks), [`CALIB/CALIB/Menu/Menu.cpp`](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Menu/Menu.cpp) (Feature menu), [`CALIB/CALIB/Strings/Strings.cpp`](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Strings/Strings.cpp) (Feature labels)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Modification Runtime"]
  node_memory["Memory scanning<br/>[Memory.cpp]"]
  node_client_access["Client access<br/>[Memory.h]"]
  node_game_shell["Game client shell<br/>[GameClientShell.h]"]
  node_player_model["Player model access<br/>[LTModel.h]"]
end

subgraph group_ui["User Interface"]
  node_menu["Feature menu<br/>[Menu.cpp]"]
  node_feature_labels["Feature labels<br/>[Strings.cpp]"]
  node_dx_hooks["Direct3D hooks<br/>[Directx.cpp]"]
  node_dx_render["Overlay rendering<br/>[Directx.h]"]
  node_font["Font support<br/>[Font.h]"]
end

subgraph group_sdk["Game SDK"]
  node_sdk_client["Client interfaces<br/>[iltclient.h]"]
  node_sdk_common["Engine contracts<br/>[iltcommon.h]"]
  node_sdk_message["Message contracts<br/>[iltmessage.h]"]
  node_sdk_database["Database contracts<br/>[idatabasemgr.h]"]
  node_engine_objects["Engine objects"]
  node_base_class["Base object class<br/>[ltengineobjects.h]"]
  node_sdk_server["Server interfaces<br/>[iltserver.h]"]
  node_math_types["Math types<br/>[ltbasetypes.h]"]
end

subgraph group_support["Support"]
  node_logging["Logging<br/>[Log.cpp]"]
  node_hwid["Hardware ID<br/>[HWID.cpp]"]
  node_breakpoint["Breakpoint utility<br/>[Breakpoint.cpp]"]
end

node_game_user(("Game user"))
node_game_process["Game process"]

node_game_user -.->|"uses"| node_menu
node_game_process -.->|"scans"| node_memory
node_memory -.->|"resolves"| node_client_access
node_menu -->|"uses"| node_memory
node_menu -->|"uses"| node_dx_render
node_menu -->|"uses"| node_feature_labels
node_dx_hooks -->|"implements"| node_dx_render
node_dx_hooks -->|"uses"| node_feature_labels
node_dx_hooks -->|"uses"| node_logging
node_dx_hooks -.->|"uses"| node_breakpoint
node_dx_render -->|"uses"| node_font
node_memory -->|"uses"| node_feature_labels
node_memory -->|"uses"| node_logging
node_memory -->|"accesses"| node_game_shell
node_memory -->|"accesses"| node_player_model
node_memory -->|"uses"| node_sdk_message
node_hwid -->|"uses"| node_feature_labels
node_sdk_client -->|"uses"| node_math_types
node_sdk_client -->|"uses"| node_sdk_common
node_sdk_common -.->|"uses"| node_math_types
node_sdk_message -->|"uses"| node_sdk_database
node_engine_objects -->|"uses"| node_sdk_message
node_engine_objects -->|"uses"| node_sdk_server
node_engine_objects -->|"derives from"| node_base_class
node_base_class -->|"exposes"| node_sdk_server

click node_memory "https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Memory/Memory.cpp"
click node_client_access "https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Memory/Memory.h"
click node_game_shell "https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Classes/GameClientShell.h"
click node_player_model "https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Classes/LTModel.h"
click node_menu "https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Menu/Menu.cpp"
click node_feature_labels "https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Strings/Strings.cpp"
click node_dx_hooks "https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Directx/Directx.cpp"
click node_dx_render "https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Directx/Directx.h"
click node_font "https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Directx/Font/Font.h"
click node_logging "https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Log/Log.cpp"
click node_hwid "https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/HWID/HWID.cpp"
click node_breakpoint "https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Breakpoint/Breakpoint.cpp"
click node_sdk_client "https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/SDK/iltclient.h"
click node_sdk_common "https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/SDK/iltcommon.h"
click node_sdk_message "https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/SDK/iltmessage.h"
click node_sdk_database "https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/SDK/idatabasemgr.h"
click node_engine_objects "https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/SDK/ltengineobjects.cpp"
click node_base_class "https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/SDK/ltengineobjects.h"
click node_sdk_server "https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/SDK/iltserver.h"
click node_math_types "https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/SDK/ltbasetypes.h"

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_memory,node_client_access,node_game_shell,node_player_model,node_game_user toneBlue
class node_menu,node_feature_labels,node_dx_hooks,node_dx_render,node_font toneAmber
class node_sdk_client,node_sdk_common,node_sdk_message,node_sdk_database,node_engine_objects,node_base_class,node_sdk_server,node_math_types toneMint
class node_logging,node_hwid,node_breakpoint toneRose
class node_game_process toneIndigo
```

## Components

### Modification Runtime

- [Memory scanning](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Memory/Memory.cpp): `CALIB/CALIB/Memory/Memory.cpp`
- [Client access](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Memory/Memory.h): `CALIB/CALIB/Memory/Memory.h`
- [Game client shell](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Classes/GameClientShell.h): `CALIB/CALIB/Classes/GameClientShell.h`
- [Player model access](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Classes/LTModel.h): `CALIB/CALIB/Classes/LTModel.h`

### User Interface

- [Feature menu](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Menu/Menu.cpp): `CALIB/CALIB/Menu/Menu.cpp`
- [Feature labels](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Strings/Strings.cpp): `CALIB/CALIB/Strings/Strings.cpp`
- [Direct3D hooks](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Directx/Directx.cpp): `CALIB/CALIB/Directx/Directx.cpp`
- [Overlay rendering](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Directx/Directx.h): `CALIB/CALIB/Directx/Directx.h`
- [Font support](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Directx/Font/Font.h): `CALIB/CALIB/Directx/Font/Font.h`

### Game SDK

- [Client interfaces](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/SDK/iltclient.h): `CALIB/CALIB/SDK/iltclient.h`
- [Engine contracts](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/SDK/iltcommon.h): `CALIB/CALIB/SDK/iltcommon.h`
- [Message contracts](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/SDK/iltmessage.h): `CALIB/CALIB/SDK/iltmessage.h`
- [Database contracts](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/SDK/idatabasemgr.h): `CALIB/CALIB/SDK/idatabasemgr.h`
- [Engine objects](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/SDK/ltengineobjects.cpp): `CALIB/CALIB/SDK/ltengineobjects.cpp`
- [Base object class](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/SDK/ltengineobjects.h): `CALIB/CALIB/SDK/ltengineobjects.h`
- [Server interfaces](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/SDK/iltserver.h): `CALIB/CALIB/SDK/iltserver.h`
- [Math types](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/SDK/ltbasetypes.h): `CALIB/CALIB/SDK/ltbasetypes.h`

### Support

- [Logging](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Log/Log.cpp): `CALIB/CALIB/Log/Log.cpp`
- [Hardware ID](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/HWID/HWID.cpp): `CALIB/CALIB/HWID/HWID.cpp`
- [Breakpoint utility](https://github.com/jerffffff/combat-arms/blob/master/CALIB/CALIB/Breakpoint/Breakpoint.cpp): `CALIB/CALIB/Breakpoint/Breakpoint.cpp`

### Other components

- **Game user**
- **Game process**

## Connections

- Game user → Feature menu: uses
- Game process → Memory scanning: scans
- Memory scanning → Client access: resolves (evidence: `CALIB/CALIB/Memory/Memory.cpp`)
- Feature menu → Memory scanning: uses (evidence: `CALIB/CALIB/Menu/Menu.cpp`)
- Feature menu → Overlay rendering: uses
- Feature menu → Feature labels: uses
- Direct3D hooks → Overlay rendering: implements (evidence: `CALIB/CALIB/Directx/Directx.cpp`)
- Direct3D hooks → Feature labels: uses (evidence: `CALIB/CALIB/Directx/Directx.cpp`)
- Direct3D hooks → Logging: uses (evidence: `CALIB/CALIB/Directx/Directx.cpp`)
- Direct3D hooks → Breakpoint utility: uses
- Overlay rendering → Font support: uses (evidence: `CALIB/CALIB/Directx/Directx.h`)
- Memory scanning → Feature labels: uses (evidence: `CALIB/CALIB/Memory/Memory.cpp`)
- Memory scanning → Logging: uses (evidence: `CALIB/CALIB/Memory/Memory.cpp`)
- Memory scanning → Game client shell: accesses
- Memory scanning → Player model access: accesses
- Memory scanning → Message contracts: uses
- Hardware ID → Feature labels: uses (evidence: `CALIB/CALIB/HWID/HWID.cpp`)
- Client interfaces → Math types: uses (evidence: `CALIB/CALIB/SDK/iltclient.h`)
- Client interfaces → Engine contracts: uses
- Engine contracts → Math types: uses
- Message contracts → Database contracts: uses (evidence: `CALIB/CALIB/SDK/iltmessage.h`)
- Engine objects → Message contracts: uses (evidence: `CALIB/CALIB/SDK/ltengineobjects.cpp`)
- Engine objects → Server interfaces: uses (evidence: `CALIB/CALIB/SDK/ltengineobjects.cpp`)
- Engine objects → Base object class: derives from (evidence: `CALIB/CALIB/SDK/ltengineobjects.h`)
- Base object class → Server interfaces: exposes (evidence: `CALIB/CALIB/SDK/ltengineobjects.h`)
