// // __vcrt_InitializeCriticalSectionEx_0 from 0x180135abc to 0x180135b1d (97 bytes) // // 4 xrefs: // > __acrt_initialize_stdio @ 0x18012f900 // > __vcrt_initialize_locks_0 @ 0x180134683 // > __acrt_lowio_create_handle_array @ 0x18013600b // > @ 0x18020341c // // 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_0( LPCRITICAL_SECTION lpCriticalSection, DWORD dwSpinCount, unsigned int a3) { FARPROC function; // rax function = try_get_function( 0x12u, "InitializeCriticalSectionEx", (unsigned int *)"\a", (unsigned int *)&unk_180174A60); if ( function ) return ((__int64 (__fastcall *)(LPCRITICAL_SECTION, _QWORD, _QWORD))function)(lpCriticalSection, dwSpinCount, a3); else return InitializeCriticalSectionAndSpinCount(lpCriticalSection, dwSpinCount); }