//
// sub_180112960 from 0x180112960 to 0x1801129c1 (97 bytes)
//
// 3 xrefs:
// > sub_1801128D0 @ 0x180112915
// > sub_1801128D0 @ 0x180112925
// > ??> @ 0x180201c58
//
// 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 sub_180112960(__int64 a1)
{
__int64 result; // rax
sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), *(_DWORD **)a1);
result = FMOD_OS_CriticalSection_Free(*(LPCRITICAL_SECTION *)(a1 + 32), 0);
if ( !(_DWORD)result )
{
result = sub_1800C14D0(*(void **)(a1 + 40));
if ( !(_DWORD)result )
return sub_1800C14D0(*(void **)(a1 + 48));
}
return result;
}