// // dllmain_dispatch from 0x1800dfec4 to 0x1800dfff5 (305 bytes) // // 4 xrefs: // > dllmain_crt_process_detach @ 0x1800dfec3 // > DllEntryPoint @ 0x1800e0030 // > @ 0x1801bb100 // > @ 0x1801bb10c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall dllmain_dispatch(cocos2d::CCComponent *a1, DWORD a2, void *const a3) { unsigned int v7; // ebx BOOL v8; // eax if ( !a2 && dword_1801AC704 <= 0 ) return 0; if ( a2 - 1 > 1 || (v7 = dllmain_crt_dispatch(a1, a2, a3)) != 0 ) { v8 = DllMain((HINSTANCE)a1, a2, a3); v7 = v8; if ( a2 == 1 && !v8 ) { DllMain((HINSTANCE)a1, 0, a3); dllmain_crt_process_detach(a3 != nullptr); } if ( !a2 || a2 == 3 ) return (unsigned int)dllmain_crt_dispatch(a1, a2, a3) != 0; } return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source