//
// sub_5F3C0 from 0x5f3c0 to 0x5f434 (116 bytes)
//
// 1 xrefs:
// > FMOD_System_Create @ 0x50334
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:13:53 +0000
//
__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;
}