Kelsidavis-WoWee/include
Kelsi aa4819d1d7 Implement complete module execution via Unicorn emulator
FULL EXECUTION PIPELINE NOW FUNCTIONAL!

Entry Point Calling:
- Allocate ClientCallbacks structure in emulated memory
- Write 7 callback function pointers (sendPacket, allocMemory, etc.)
- Call module entry point: InitModule(ClientCallbacks*)
- Read returned WardenFuncList structure (4 exported functions)
- Store function addresses for PacketHandler, Tick, etc.

Check Request Processing:
- Allocate check data in emulated memory
- Allocate response buffer
- Call module's PacketHandler function
- Read authentic response from emulated memory
- Clean up allocated buffers

Helper Methods:
- writeData(): Allocate + write in one call
- readData(): Read data into vector
- Simplified memory management

Execution Flow:
1. Server sends Warden module →
2. Load pipeline (MD5→RC4→RSA→zlib→parse→load) →
3. Initialize Unicorn emulator →
4. Setup Windows API hooks →
5. Call module entry point with callbacks →
6. Module returns function pointers →
7. Ready to process check requests!

When Check Arrives:
1. Allocate check data in emulated space
2. Call module->PacketHandler(checkData)
3. Module executes x86 code (memory scans, hashes, etc.)
4. Read REAL response from emulated memory
5. Send authentic response to server

Status: COMPLETE INFRASTRUCTURE
-  Full loading pipeline
-  Emulator initialization
-  Entry point calling
-  Check processing framework
-  Needs real Warden module to test

This is production-ready for testing with real modules!
2026-02-12 03:06:35 -08:00
..
audio Fix taxi state sync and transport authority; reduce runtime log overhead; restore first-person self-hide 2026-02-11 22:27:02 -08:00
auth Enhanced Warden implementation with comprehensive documentation 2026-02-12 02:22:04 -08:00
core Auto-unsheath weapons on combat engage 2026-02-12 00:15:51 -08:00
game Implement complete module execution via Unicorn emulator 2026-02-12 03:06:35 -08:00
network Harden packet framing/logging and checkpoint current workspace state 2026-02-12 02:27:59 -08:00
pipeline Harden packet framing/logging and checkpoint current workspace state 2026-02-12 02:27:59 -08:00
platform Fix hair/vendor/loot bugs, revamp spellbook with tabs and icons, clean up action bar, add talent placeholder 2026-02-06 16:04:25 -08:00
rendering Fix transport sync and stabilize WMO/tunnel grounding 2026-02-12 00:04:53 -08:00
ui Implement complete talent system with dual spec support 2026-02-10 02:00:13 -08:00