// // dllmain_dispatch from 0x18001fa30 to 0x18001fb61 (305 bytes) // // 4 xrefs: // > dllmain_crt_process_detach @ 0x18001fa2f // > DllEntryPoint @ 0x18001fb9c // > @ 0x18004b25c // > @ 0x18004b268 // // 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(HINSTANCE a1, DWORD a2, void *const a3) { unsigned int v7; // ebx BOOL v8; // eax if ( !a2 && dword_180048038 <= 0 ) return 0; if ( a2 - 1 > 1 || (v7 = dllmain_crt_dispatch(a1, a2, a3)) != 0 ) { v8 = DllMain(a1, a2, a3); v7 = v8; if ( a2 == 1 && !v8 ) { DllMain(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; }