//
// sub_59E7A from 0x59e7a to 0x59e9c (34 bytes)
//
// 1 xrefs:
// > FMOD::System::getChannelsPlaying @ 0xb924e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:40:48 +0000
//
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;
}