//
// __vcrt_initialize_locks_0 from 0x180134664 to 0x1801346ac (72 bytes)
//
// 3 xrefs:
// > ??> @ 0x1801730b0
// > ??> @ 0x180203254
// > ??> @ 0x180203260
//
// 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
//
char _vcrt_initialize_locks_0()
{
__int64 v0; // rbx
v0 = 0;
while ( (unsigned int)_vcrt_InitializeCriticalSectionEx_0((LPCRITICAL_SECTION)&unk_1801F4D60 + v0, 0xFA0u) )
{
++dword_1801F4F90;
v0 = (unsigned int)(v0 + 1);
if ( (unsigned int)v0 >= 0xE )
return 1;
}
_vcrt_uninitialize_locks_0(0);
return 0;
}