//
// FMOD::DSP::getActive from 0xd34b0 to 0xd3508 (88 bytes)
//
// 4 xrefs:
// > FMOD::DSP::getActive @ 0x107a2c
// > ??> @ 0x2908
// > FMOD::DSP::getActive @ 0x107a24
// > ??> @ 0x1105d8
//
// 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:51 +0000
//
__int64 __fastcall FMOD::DSP::getActive(FMOD::DSP *this, bool *a2)
{
bool *v2; // x21
unsigned int v3; // w19
__int64 v4; // x0
char v5; // w8
__int64 v6; // x0
char v7; // w8
v3 = sub_D4EC4(this, a2);
if ( !v3 )
{
if ( v2 )
{
v4 = sub_D5024();
*v2 = v7 < 0;
goto LABEL_6;
}
v3 = 31;
}
v4 = sub_D4D24();
if ( v5 < 0 )
{
v6 = sub_D4F48(v4);
v4 = sub_D4FCC(v6);
}
LABEL_6:
sub_D4EA8(v4);
return v3;
}