//
// FMOD::Reverb3D::getActive from 0xd7f38 to 0xd7f8c (84 bytes)
//
// 4 xrefs:
// > FMOD::Reverb3D::getActive @ 0x107e4c
// > ??> @ 0x7960
// > FMOD::Reverb3D::getActive @ 0x107e44
// > ??> @ 0x1107e8
//
// 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:53 +0000
//
__int64 __fastcall FMOD::Reverb3D::getActive(FMOD::Reverb3D *this, bool *a2)
{
_BYTE *v2; // x21
unsigned int v3; // w20
__int64 v4; // x0
_BYTE *v5; // x1
char v6; // w8
__int64 v7; // x0
_BYTE v9[296]; // [xsp+8h] [xbp-138h] BYREF
v3 = sub_D801C(this, a2);
if ( v3 || (v4 = sub_D8088(), (v3 = sub_65F88(v4, v5)) != 0) )
{
sub_D804C();
if ( v6 < 0 )
{
v7 = sub_716D4((__int64)v9, 256, v2);
sub_D8038(v7);
}
}
return v3;
}