Tool client (Tools/WowClient) with generated stand-ins now runs InitializeGlobal completely: config, locale, MPQs, signature file, hardware detect, D3D device, Storm log. Stops at InitializeEngineCallback. - entry start 0x401000 (StormRtlInitialize before CRT), /ENTRY:start - ConsoleDevice + ConsoleDetect module, GxDefaultApi - SFile signature path (ClearAllFileFlags, SetFileSignature, HashMap insert) - WowLogHeader + helpers, SMemIsValidPointer, ClntObjMgrIsValid - ConsoleWrite line list, CGObject_C vtable declarations - crash handler prints symbolized x64 stack - Engine/FFX port (FFX agent), Pass headers moved out of _Triage Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
13 lines
315 B
C++
13 lines
315 B
C++
#include <cstdint>
|
|
#include "ObjectMgrClient.h"
|
|
#include "Engine/Source/Storm/H/storm.h"
|
|
|
|
// STATIC: 0x00DD2008
|
|
static thread_local ObjectMgr* s_curMgr;
|
|
|
|
// OFFSET: 0x004D3750
|
|
int32_t ClntObjMgrIsValid(int32_t a1) {
|
|
ObjectMgr* mgr = s_curMgr;
|
|
return mgr && SMemIsValidPointer(mgr, sizeof(ObjectMgr), a1);
|
|
}
|