# lhy1339/cheat_escape_the_backrooms architecture

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

- Interactive diagram: https://gitdiagram.com/lhy1339/cheat_escape_the_backrooms
- Repository: https://github.com/lhy1339/cheat_escape_the_backrooms

## Overview

This repository is an Escape the Backrooms game cheat distributed with a Windows loader. The documented user workflow is to download and extract the release, run the loader, then open the game; the likely runtime path continues through an injected cheat DLL. The source tree separates UI/configuration, game-facing features, and Unreal SDK bindings, but most of those implementations were not excerpted, so their internal call relationships are left unasserted. The SDK is generated Unreal type and function binding code, not a separate user workflow.

Main entry points: [`cheat_etb/cheat/cheat.cpp`](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/cheat.cpp) (Cheat runtime), [`cheat_etb/cheat/sdk/SDK.hpp`](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/sdk/SDK.hpp) (Unreal SDK), [`cheat_etb/loader/loader.cpp`](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/loader/loader.cpp) (Loader), [`cheat_etb/cheat/menu.cpp`](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/menu.cpp) (Menu UI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_delivery["Loader and injection"]
  node_loader["Loader<br/>[loader.cpp]"]
  node_injector["Process injector<br/>[injector.cpp]"]
end

subgraph group_runtime["Cheat runtime"]
  node_dll["Cheat DLL entry<br/>[dll_main.cpp]"]
  node_cheat["Cheat runtime<br/>[cheat.cpp]"]
  node_hooks["Hook engine<br/>[hook.c]"]
end

subgraph group_features["Game features"]
  node_menu["Menu UI<br/>[menu.cpp]"]
  node_config["Configuration<br/>[config.cpp]"]
  node_commands["Commands<br/>[command.cpp]"]
  node_player["Player features<br/>[player.cpp]"]
  node_entities["Entity features<br/>[entity.cpp]"]
  node_items["Item features<br/>[item.cpp]"]
  node_visuals["Visual features<br/>[visual.cpp]"]
  node_render["Rendering<br/>[render.cpp]"]
  node_network["Network features<br/>[network.cpp]"]
  node_session["Session state<br/>[session.cpp]"]
  node_quick["Quick actions<br/>[quick.cpp]"]
end

subgraph group_bindings["Unreal bindings"]
  node_sdk["Unreal SDK<br/>[SDK.hpp]"]
  node_sdkcore["SDK core types<br/>[Basic.hpp]"]
  node_sdkai["AI bindings"]
  node_sdkengine["Engine bindings<br/>[Engine_classes.hpp]"]
  node_sdkphysics["Physics bindings"]
end

node_user(("Player"))
node_game["Escape the Backrooms"]

node_user -->|"runs"| node_loader
node_user -->|"opens"| node_game
node_loader -.->|"targets process"| node_game
node_loader -.->|"delegates injection"| node_injector
node_injector -.->|"loads DLL"| node_dll
node_dll -.->|"starts runtime"| node_cheat
node_cheat -.->|"uses hooks"| node_hooks
node_cheat -.->|"dispatches UI"| node_menu
node_menu -.->|"uses settings"| node_config
node_menu -.->|"dispatches actions"| node_commands
node_cheat -.->|"runs features"| node_player
node_cheat -.->|"runs features"| node_entities
node_cheat -.->|"runs features"| node_items
node_cheat -.->|"runs features"| node_visuals
node_visuals -.->|"uses renderer"| node_render
node_cheat -.->|"runs features"| node_network
node_cheat -.->|"uses state"| node_session
node_cheat -.->|"runs actions"| node_quick
node_cheat -.->|"uses bindings"| node_sdk
node_sdk -->|"includes"| node_sdkcore
node_sdk -->|"includes"| node_sdkai
node_sdk -->|"includes"| node_sdkengine
node_sdk -->|"includes"| node_sdkphysics

click node_loader "https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/loader/loader.cpp"
click node_injector "https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/injector/injector.cpp"
click node_dll "https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/dll_main.cpp"
click node_cheat "https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/cheat.cpp"
click node_hooks "https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/minhook/src/hook.c"
click node_menu "https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/menu.cpp"
click node_config "https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/config.cpp"
click node_commands "https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/command.cpp"
click node_player "https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/player.cpp"
click node_entities "https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/entity.cpp"
click node_items "https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/item.cpp"
click node_visuals "https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/visual.cpp"
click node_render "https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/render.cpp"
click node_network "https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/network.cpp"
click node_session "https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/session.cpp"
click node_quick "https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/quick.cpp"
click node_sdk "https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/sdk/SDK.hpp"
click node_sdkcore "https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/sdk/SDK/Basic.hpp"
click node_sdkai "https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/sdk/SDK/AIModule_classes.hpp"
click node_sdkengine "https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/sdk/SDK/Engine_classes.hpp"
click node_sdkphysics "https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/sdk/SDK/FieldSystemEngine_functions.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_loader,node_injector toneBlue
class node_dll,node_cheat,node_hooks toneAmber
class node_menu,node_config,node_commands,node_player,node_entities,node_items,node_visuals,node_render,node_network,node_session,node_quick toneMint
class node_sdk,node_sdkcore,node_sdkai,node_sdkengine,node_sdkphysics toneRose
class node_user,node_game toneIndigo
```

## Components

### Loader and injection

- [Loader](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/loader/loader.cpp): `cheat_etb/loader/loader.cpp`
- [Process injector](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/injector/injector.cpp): `cheat_etb/injector/injector.cpp`

### Cheat runtime

- [Cheat DLL entry](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/dll_main.cpp): `cheat_etb/cheat/dll_main.cpp`
- [Cheat runtime](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/cheat.cpp): `cheat_etb/cheat/cheat.cpp`
- [Hook engine](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/minhook/src/hook.c): `cheat_etb/cheat/minhook/src/hook.c`

### Game features

- [Menu UI](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/menu.cpp): `cheat_etb/cheat/menu.cpp`
- [Configuration](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/config.cpp): `cheat_etb/cheat/config.cpp`
- [Commands](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/command.cpp): `cheat_etb/cheat/command.cpp`
- [Player features](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/player.cpp): `cheat_etb/cheat/player.cpp`
- [Entity features](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/entity.cpp): `cheat_etb/cheat/entity.cpp`
- [Item features](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/item.cpp): `cheat_etb/cheat/item.cpp`
- [Visual features](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/visual.cpp): `cheat_etb/cheat/visual.cpp`
- [Rendering](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/render.cpp): `cheat_etb/cheat/render.cpp`
- [Network features](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/network.cpp): `cheat_etb/cheat/network.cpp`
- [Session state](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/session.cpp): `cheat_etb/cheat/session.cpp`
- [Quick actions](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/quick.cpp): `cheat_etb/cheat/quick.cpp`

### Unreal bindings

- [Unreal SDK](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/sdk/SDK.hpp): `cheat_etb/cheat/sdk/SDK.hpp`
- [SDK core types](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/sdk/SDK/Basic.hpp): `cheat_etb/cheat/sdk/SDK/Basic.hpp`
- [AI bindings](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/sdk/SDK/AIModule_classes.hpp): `cheat_etb/cheat/sdk/SDK/AIModule_classes.hpp`
- [Engine bindings](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/sdk/SDK/Engine_classes.hpp): `cheat_etb/cheat/sdk/SDK/Engine_classes.hpp`
- [Physics bindings](https://github.com/lhy1339/cheat_escape_the_backrooms/blob/main/cheat_etb/cheat/sdk/SDK/FieldSystemEngine_functions.cpp): `cheat_etb/cheat/sdk/SDK/FieldSystemEngine_functions.cpp`

### Other components

- **Player**
- **Escape the Backrooms**

## Connections

- Player → Loader: runs
- Player → Escape the Backrooms: opens
- Loader → Escape the Backrooms: targets process
- Loader → Process injector: delegates injection
- Process injector → Cheat DLL entry: loads DLL
- Cheat DLL entry → Cheat runtime: starts runtime
- Cheat runtime → Hook engine: uses hooks
- Cheat runtime → Menu UI: dispatches UI
- Menu UI → Configuration: uses settings
- Menu UI → Commands: dispatches actions
- Cheat runtime → Player features: runs features
- Cheat runtime → Entity features: runs features
- Cheat runtime → Item features: runs features
- Cheat runtime → Visual features: runs features
- Visual features → Rendering: uses renderer
- Cheat runtime → Network features: runs features
- Cheat runtime → Session state: uses state
- Cheat runtime → Quick actions: runs actions
- Cheat runtime → Unreal SDK: uses bindings
- Unreal SDK → SDK core types: includes (evidence: `cheat_etb/cheat/sdk/SDK.hpp`)
- Unreal SDK → AI bindings: includes (evidence: `cheat_etb/cheat/sdk/SDK.hpp`)
- Unreal SDK → Engine bindings: includes (evidence: `cheat_etb/cheat/sdk/SDK.hpp`)
- Unreal SDK → Physics bindings: includes (evidence: `cheat_etb/cheat/sdk/SDK.hpp`)
