//
// sub_58C6C from 0x58c6c to 0x58ca2 (54 bytes)
//
// 1 xrefs:
// > FMOD::System::registerOutput @ 0xb859c
//
// 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
//
int __fastcall sub_58C6C(int a1, _DWORD *a2, _DWORD *a3)
{
int result; // r0
if ( *(_BYTE *)(a1 + 5) )
return sub_51398(*(_DWORD *)(a1 + 68272), a2, a3, 0, 1);
result = sub_56BEC(a1);
if ( !result )
return sub_51398(*(_DWORD *)(a1 + 68272), a2, a3, 0, 1);
return result;
}