//
// sub_59E7A from 0x59e7a to 0x59e9c (34 bytes)
//
// 1 xrefs:
// > FMOD::System::getChannelsPlaying @ 0xb924e
//
// 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_59E7A(int a1, _DWORD *a2, _DWORD *a3)
{
int result; // r0
if ( a2 )
*a2 = *(_DWORD *)(a1 + 300);
if ( !a3 )
return 0;
result = sub_4CA42(*(_DWORD *)(*(_DWORD *)(a1 + 1172) + 32), a3);
if ( !result )
return 0;
return result;
}