// // dllmain_crt_dispatch from 0x1800dfcdc to 0x1800dfd2c (80 bytes) // // 5 xrefs: // > dllmain_dispatch @ 0x1800dff33 // > dllmain_dispatch @ 0x1800dffa5 // > dllmain_dispatch @ 0x1800e3a6a // > @ 0x1801bb0dc // > @ 0x1801bb0e8 // // 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_crt_dispatch(cocos2d::CCComponent *a1, int a2, void *const a3) { int v3; // edx unsigned __int64 v4; // rdx __int64 result; // rax if ( !a2 ) return dllmain_crt_process_detach(a3 != nullptr); v3 = a2 - 1; if ( !v3 ) return dllmain_crt_process_attach((HINSTANCE)a1, a3); v4 = (unsigned int)(v3 - 1); if ( (_DWORD)v4 ) { if ( (_DWORD)v4 != 1 ) return 1; LOBYTE(result) = _scrt_dllmain_crt_thread_detach(a1, (void *)v4); } else { LOBYTE(result) = sub_1800DF7E0(a1, (void *)v4); } return (unsigned __int8)result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source