// // dllmain_dispatch from 0x180120c78 to 0x180120da9 (305 bytes) // // 4 xrefs: // > dllmain_crt_process_detach @ 0x180120c77 // > DllEntryPoint @ 0x180120de4 // > @ 0x180202588 // > @ 0x180202594 // // 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(Concurrency::details::ScheduleGroupSegmentBase *a1, DWORD a2, void *const a3) { unsigned int v7; // ebx BOOL v8; // eax if ( !a2 && dword_1801F4A2C <= 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; }