How riik26/pixelgun3d-cheetos works
Cheetos is an internal Pixel Gun 3D trainer and reverse-engineering framework. Its principal runtime path is DLL startup, IL2CPP/game-method resolution, feature and hook initialization, then rendering an in-game menu and overlays while feature callbacks modify game behavior. The README documents three-tier method resolution and Windows/Linux Proton use; feature directories also show distinct visual, player, weapon, currency, gadget, and anti-cheat domains. Edges are limited to startup calls, indexed source references, and README statements; unsampled implementation details are not treated as inspected.
Main entry points: dllmain.cpp DLL startup · hooks.cpp Detour hooks · il2cpp.cpp IL2CPP resolver · weaponmod.cpp Weapon modifications
Components 21
Runtime and rendering
- Process injector
src/core/injector.cpp - DLL startup
src/core/dllmain.cpp - D3D renderer
src/core/renderer.cpp - Linux overlay
src/core/linux_overlay.cpp - Streamproof overlay
src/core/streamproof_win32.cpp
Game integration
- IL2CPP resolver
src/utils/il2cpp.cpp - Method offsets
src/utils/offsets.h - Obfuscated values
src/utils/salted.cpp - Detour hooks
src/utils/hooks.cpp - Feature callbacks
src/utils/feature_callbacks.cpp
Trainer features
- Anti-cheat hooks
src/features/anticheat/anticheat_hooks.cpp - ESP and visuals
src/features/visual/visual.cpp - ESP body
src/features/visual/esp_body.cpp - Player modifications
src/features/playermod/playermod_hooks.cpp - Weapon modifications
src/features/weaponmod/weaponmod.cpp - Gadget modifications
src/features/gadgetmod/gadgetmod.cpp - Currency features
src/features/currency/currency_hooks.cpp
Settings and interface
- In-game menu
src/ui/menu.cpp - Settings registry
src/utils/settings_registry.cpp - Configuration
src/utils/config.cpp
Other components
- Trainer user
Connections 27
- Trainer user → Process injector: launches
- Process injector → DLL startup: loads
- DLL startup → IL2CPP resolver: initializes
src/core/dllmain.cpp - IL2CPP resolver → Method offsets: resolves from
- DLL startup → Settings registry: registers settings
src/core/dllmain.cpp - DLL startup → Configuration: loads
src/core/dllmain.cpp - DLL startup → Obfuscated values: initializes
src/core/dllmain.cpp - DLL startup → Detour hooks: initializes
src/core/dllmain.cpp - DLL startup → Anti-cheat hooks: registers hooks
src/core/dllmain.cpp - DLL startup → Player modifications: registers hooks
src/core/dllmain.cpp - DLL startup → Weapon modifications: registers hooks
src/core/dllmain.cpp - DLL startup → D3D renderer: initializes
src/core/dllmain.cpp - D3D renderer → In-game menu: renders
src/core/renderer.cpp - D3D renderer → Feature callbacks: invokes
src/core/renderer.cpp - In-game menu → Settings registry: reads groups
src/ui/menu.cpp - In-game menu → Configuration: uses
src/ui/menu.cpp - ESP and visuals → IL2CPP resolver: resolves game methods
src/features/visual/visual.cpp - ESP and visuals → Feature callbacks: registers callbacks
src/features/visual/visual.cpp - ESP and visuals → ESP body: updates
src/features/visual/esp_body.cpp - Weapon modifications → Detour hooks: installs detours
src/features/weaponmod/weaponmod.cpp - Weapon modifications → IL2CPP resolver: resolves methods
src/features/weaponmod/weaponmod.cpp - Weapon modifications → Obfuscated values: uses
src/features/weaponmod/weaponmod.cpp - Player modifications → Detour hooks: uses
src/features/playermod/playermod_hooks.cpp - Player modifications → IL2CPP resolver: resolves methods
src/features/playermod/playermod_hooks.cpp - Anti-cheat hooks → Detour hooks: uses
src/features/anticheat/anticheat_hooks.cpp - Gadget modifications → Detour hooks: uses
src/features/gadgetmod/gadgetmod.cpp - Currency features → Detour hooks: uses
src/features/currency/currency_hooks.cpp