# satypardus/wowdecomp architecture

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

- Interactive diagram: https://gitdiagram.com/satypardus/wowdecomp
- Repository: https://github.com/satypardus/wowdecomp

## Overview

wowdecomp reconstructs the World of Warcraft 3.3.5a client, preserving original function addresses for comparison. Its user-facing result is a playable client: startup initializes client services, loads game data and interface resources, then runs game, UI, rendering, audio, and network behavior. The README identifies these as engine and game modules; the source index shows Client.cpp referencing several startup-facing systems. Most implementation details were not sampled, so unsourced connections are omitted rather than inferred.

Main entry points: [`WoW/Source/Client.cpp`](https://github.com/satypardus/wowdecomp/blob/main/WoW/Source/Client.cpp) (Client startup), [`WoW/Source`](https://github.com/satypardus/wowdecomp/tree/main/WoW/Source) (Game modules), [`Engine/Source/Frame`](https://github.com/satypardus/wowdecomp/tree/main/Engine/Source/Frame) (UI framework), [`WoW/Source/Ui/EquipmentManager.cpp`](https://github.com/satypardus/wowdecomp/blob/main/WoW/Source/Ui/EquipmentManager.cpp) (Equipment manager)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Client entry"]
  node_client["Client startup<br/>[Client.cpp]"]
end

subgraph group_engine["Engine systems"]
  node_stream["Asset streaming"]
  node_storm["Storm file services"]
  node_events["Event system"]
  node_console["Console variables<br/>[ConsoleVar.h]"]
end

subgraph group_game["Game runtime"]
  node_game["Game modules"]
  node_world["World runtime"]
  node_objects["Game objects"]
  node_network["Client networking"]
  node_database["Client database<br/>[DBClient.cpp]"]
  node_equipment["Equipment manager"]
end

subgraph group_interface["Interface and media"]
  node_ui["UI framework"]
  node_xml["Frame XML"]
  node_scripts["Lua scripting<br/>[FrameScript.h]"]
  node_sound["Sound engine<br/>[SoundEngine.cpp]"]
  node_graphics["Graphics engine"]
end

node_user(("Player"))

node_user -->|"starts"| node_client
node_client -->|"references"| node_stream
node_client -->|"references"| node_events
node_client -->|"references"| node_console
node_client -->|"references"| node_ui
node_client -.->|"runs"| node_game
node_game -->|"includes"| node_world
node_game -->|"includes"| node_objects
node_game -->|"includes"| node_network
node_game -->|"includes"| node_database
node_ui -.->|"uses"| node_xml
node_ui -.->|"uses"| node_scripts
node_equipment -->|"sends packets"| node_network
node_equipment -->|"signals event"| node_scripts
node_client -->|"references"| node_sound
node_client -->|"references"| node_graphics
node_stream -.->|"uses file services"| node_storm

click node_client "https://github.com/satypardus/wowdecomp/blob/main/WoW/Source/Client.cpp"
click node_stream "https://github.com/satypardus/wowdecomp/tree/main/Engine/Source/BlizzardCore/Source/Packages/Streaming"
click node_storm "https://github.com/satypardus/wowdecomp/tree/main/Engine/Source/Storm"
click node_events "https://github.com/satypardus/wowdecomp/tree/main/Engine/Source/Event"
click node_console "https://github.com/satypardus/wowdecomp/blob/main/Engine/Source/ConsoleBase/ConsoleVar.h"
click node_game "https://github.com/satypardus/wowdecomp/tree/main/WoW/Source"
click node_world "https://github.com/satypardus/wowdecomp/tree/main/WoW/Source/WorldClient"
click node_objects "https://github.com/satypardus/wowdecomp/tree/main/WoW/Source/Object"
click node_network "https://github.com/satypardus/wowdecomp/tree/main/WoW/Source/Game/GameClient"
click node_database "https://github.com/satypardus/wowdecomp/blob/main/WoW/Source/DB/DBClient/DBClient.cpp"
click node_ui "https://github.com/satypardus/wowdecomp/tree/main/Engine/Source/Frame"
click node_xml "https://github.com/satypardus/wowdecomp/tree/main/Engine/Source/FrameXML"
click node_scripts "https://github.com/satypardus/wowdecomp/blob/main/Engine/Source/FrameScript/FrameScript.h"
click node_sound "https://github.com/satypardus/wowdecomp/blob/main/Engine/Source/SoundEngine/SoundEngine.cpp"
click node_graphics "https://github.com/satypardus/wowdecomp/tree/main/Engine/Source/Gx"
click node_equipment "https://github.com/satypardus/wowdecomp/blob/main/WoW/Source/Ui/EquipmentManager.cpp"

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_client toneBlue
class node_stream,node_storm,node_events,node_console toneAmber
class node_game,node_world,node_objects,node_network,node_database,node_equipment toneMint
class node_ui,node_xml,node_scripts,node_sound,node_graphics toneRose
class node_user toneIndigo
```

## Components

### Client entry

- [Client startup](https://github.com/satypardus/wowdecomp/blob/main/WoW/Source/Client.cpp): `WoW/Source/Client.cpp`

### Engine systems

- [Asset streaming](https://github.com/satypardus/wowdecomp/tree/main/Engine/Source/BlizzardCore/Source/Packages/Streaming): `Engine/Source/BlizzardCore/Source/Packages/Streaming`
- [Storm file services](https://github.com/satypardus/wowdecomp/tree/main/Engine/Source/Storm): `Engine/Source/Storm`
- [Event system](https://github.com/satypardus/wowdecomp/tree/main/Engine/Source/Event): `Engine/Source/Event`
- [Console variables](https://github.com/satypardus/wowdecomp/blob/main/Engine/Source/ConsoleBase/ConsoleVar.h): `Engine/Source/ConsoleBase/ConsoleVar.h`

### Game runtime

- [Game modules](https://github.com/satypardus/wowdecomp/tree/main/WoW/Source): `WoW/Source`
- [World runtime](https://github.com/satypardus/wowdecomp/tree/main/WoW/Source/WorldClient): `WoW/Source/WorldClient`
- [Game objects](https://github.com/satypardus/wowdecomp/tree/main/WoW/Source/Object): `WoW/Source/Object`
- [Client networking](https://github.com/satypardus/wowdecomp/tree/main/WoW/Source/Game/GameClient): `WoW/Source/Game/GameClient`
- [Client database](https://github.com/satypardus/wowdecomp/blob/main/WoW/Source/DB/DBClient/DBClient.cpp): `WoW/Source/DB/DBClient/DBClient.cpp`
- [Equipment manager](https://github.com/satypardus/wowdecomp/blob/main/WoW/Source/Ui/EquipmentManager.cpp): `WoW/Source/Ui/EquipmentManager.cpp`

### Interface and media

- [UI framework](https://github.com/satypardus/wowdecomp/tree/main/Engine/Source/Frame): `Engine/Source/Frame`
- [Frame XML](https://github.com/satypardus/wowdecomp/tree/main/Engine/Source/FrameXML): `Engine/Source/FrameXML`
- [Lua scripting](https://github.com/satypardus/wowdecomp/blob/main/Engine/Source/FrameScript/FrameScript.h): `Engine/Source/FrameScript/FrameScript.h`
- [Sound engine](https://github.com/satypardus/wowdecomp/blob/main/Engine/Source/SoundEngine/SoundEngine.cpp): `Engine/Source/SoundEngine/SoundEngine.cpp`
- [Graphics engine](https://github.com/satypardus/wowdecomp/tree/main/Engine/Source/Gx): `Engine/Source/Gx`

### Other components

- **Player**

## Connections

- Player → Client startup: starts (evidence: `README.md`)
- Client startup → Asset streaming: references (evidence: `WoW/Source/Client.cpp`)
- Client startup → Event system: references (evidence: `WoW/Source/Client.cpp`)
- Client startup → Console variables: references (evidence: `WoW/Source/Client.cpp`)
- Client startup → UI framework: references (evidence: `WoW/Source/Client.cpp`)
- Client startup → Game modules: runs (evidence: `WoW/Source/Client.cpp`)
- Game modules → World runtime: includes (evidence: `README.md`)
- Game modules → Game objects: includes (evidence: `README.md`)
- Game modules → Client networking: includes (evidence: `README.md`)
- Game modules → Client database: includes (evidence: `README.md`)
- UI framework → Frame XML: uses
- UI framework → Lua scripting: uses
- Equipment manager → Client networking: sends packets (evidence: `WoW/Source/Ui/EquipmentManager.cpp`)
- Equipment manager → Lua scripting: signals event (evidence: `WoW/Source/Ui/EquipmentManager.cpp`)
- Client startup → Sound engine: references (evidence: `Engine/Source/SoundEngine/SoundEngine.cpp`)
- Client startup → Graphics engine: references (evidence: `WoW/Source/Client.cpp`)
- Asset streaming → Storm file services: uses file services
