//
// sub_180109120 from 0x180109120 to 0x180109155 (53 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801b0810
// > ??> @ 0x1802016ac
//
// 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 sub_180109120()
{
int v0; // eax
__int64 result; // rax
v0 = dword_1801F2538;
if ( !dword_1801F2538 )
{
result = FMOD_OS_CriticalSection_Create(&lpCriticalSection, 0);
if ( (_DWORD)result )
return result;
v0 = dword_1801F2538;
}
dword_1801F2538 = v0 + 1;
return 0;
}