//
// sub_5F3C0 from 0x5f3c0 to 0x5f434 (116 bytes)
//
// 1 xrefs:
// > FMOD_System_Create @ 0x50334
//
// 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_5F3C0(__int64 a1)
{
int v1; // w8
__int64 result; // x0
v1 = *(_DWORD *)(a1 + 16);
if ( v1 )
goto LABEL_2;
result = sub_5F560(a1 + 304);
if ( !(_DWORD)result )
{
result = sub_5F560(a1 + 296);
if ( !(_DWORD)result )
{
result = sub_5F560(a1 + 312);
if ( !(_DWORD)result )
{
result = sub_5F560(a1 + 8);
if ( !(_DWORD)result )
{
result = sub_E69C8();
if ( !(_DWORD)result )
{
v1 = *(_DWORD *)(a1 + 16);
LABEL_2:
*(_DWORD *)(a1 + 16) = v1 + 1;
return 0;
}
}
}
}
}
return result;
}