//
// sub_1801128D0 from 0x1801128d0 to 0x18011295e (142 bytes)
//
// 4 xrefs:
// > sub_1800D9EB0 @ 0x1800da021
// > sub_1800DA320 @ 0x1800da38f
// > sub_1800DA550 @ 0x1800da8f3
// > ??> @ 0x180201c4c
//
// 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_1801128D0(__int64 a1)
{
__int64 result; // rax
result = sub_1801122A0(a1);
if ( !(_DWORD)result )
{
result = sub_1800B8560(a1 + 48);
if ( !(_DWORD)result )
{
result = sub_1800B8560(a1 + 384);
if ( !(_DWORD)result )
{
result = FMOD_OS_CriticalSection_Free(*(LPCRITICAL_SECTION *)(a1 + 40), 0);
if ( !(_DWORD)result )
{
result = sub_180112960(a1 + 1240);
if ( !(_DWORD)result )
{
result = sub_180112960(a1 + 1312);
if ( !(_DWORD)result )
{
sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), (_DWORD *)a1);
return 0;
}
}
}
}
}
}
return result;
}