// // __vcrt_InitializeCriticalSectionEx from 0x18012525c to 0x1801252bd (97 bytes) // // 2 xrefs: // > __vcrt_initialize_locks @ 0x180124f87 // > @ 0x1802027c8 // // 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 // int __fastcall _vcrt_InitializeCriticalSectionEx( LPCRITICAL_SECTION lpCriticalSection, DWORD dwSpinCount, unsigned int a3) { FARPROC function; // rax function = try_get_function( 4u, "InitializeCriticalSectionEx", (unsigned int *)&unk_180170B08, (unsigned int *)"InitializeCriticalSectionEx"); if ( function ) return ((__int64 (__fastcall *)(LPCRITICAL_SECTION, _QWORD, _QWORD))function)(lpCriticalSection, dwSpinCount, a3); else return InitializeCriticalSectionAndSpinCount(lpCriticalSection, dwSpinCount); }