//
// FMOD::System::getChannelsPlaying from 0xdd430 to 0xdd4b4 (132 bytes)
//
// 4 xrefs:
// > FMOD::System::getChannelsPlaying @ 0x106ecc
// > ??> @ 0x7588
// > FMOD::System::getChannelsPlaying @ 0x106ec4
// > ??> @ 0x110028
//
// 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:14:56 +0000
//
__int64 __fastcall FMOD::System::getChannelsPlaying(FMOD::System *this, int *a2, int *a3)
{
unsigned int v5; // w20
__int64 v6; // x0
_DWORD *v7; // x1
_DWORD *v8; // x2
__int64 v9; // x0
char v10; // w8
__int64 v11; // x0
__int64 v12; // x1
__int64 v13; // x0
_BYTE v15[8]; // [xsp+108h] [xbp-28h] BYREF
v5 = sub_DF284(this, v15, 0);
if ( v5 || (v6 = sub_DF1CC(), (v5 = sub_6D9F4(v6, v7, v8)) != 0) )
{
v9 = sub_DEFD0();
if ( v10 < 0 )
{
v11 = sub_DF4C8(v9);
v13 = sub_D90D8(v11, v12, a2, a3);
sub_DEFE4(v13);
}
}
return v5;
}