//
// FMOD::Reverb3D::release from 0xb4514 to 0xb4562 (78 bytes)
//
// 1 xrefs:
// > FMOD::Reverb3D::release @ 0xe11e8
//
// 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:42 +0000
//
int __fastcall FMOD::Reverb3D::release(FMOD::Reverb3D *this)
{
int v2; // r5
_BYTE v4[256]; // [sp+4h] [bp-10Ch] BYREF
_DWORD *v5; // [sp+104h] [bp-Ch] BYREF
v2 = sub_538E4((int)this, &v5);
if ( !v2 )
{
v2 = sub_53944(v5, 1);
if ( !v2 )
return 0;
}
if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )
{
v4[0] = 0;
sub_BAB40(v2, 10, this, "Reverb3D::release", v4);
}
return v2;
}