//
// FMOD::DSP::release from 0xb0b94 to 0xb0bf0 (92 bytes)
//
// 1 xrefs:
// > FMOD::DSP::release @ 0xe0d88
//
// 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:41:40 +0000
//
int __fastcall FMOD::DSP::release(FMOD::DSP *this)
{
int v2; // r5
_BYTE v4[256]; // [sp+8h] [bp-110h] BYREF
int v5; // [sp+108h] [bp-10h] BYREF
int v6; // [sp+10Ch] [bp-Ch] BYREF
v5 = 0;
v2 = FMOD::DSPI::validate(this, &v6, &v5);
if ( v2 || (v2 = (*(int (__fastcall **)(int))(*(_DWORD *)v6 + 8))(v6)) != 0 )
{
if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )
{
v4[0] = 0;
sub_BAB40(v2, 7, this, "DSP::release", v4);
}
}
else
{
v2 = 0;
}
sub_444C0(&v5);
return v2;
}