//
// FMOD::Reverb3D::release from 0xd7bfc to 0xd7c74 (120 bytes)
//
// 4 xrefs:
// > FMOD::Reverb3D::release @ 0x107dec
// > ??> @ 0x2128
// > FMOD::Reverb3D::release @ 0x107de4
// > ??> @ 0x1107b8
//
// 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::release(FMOD::Reverb3D *this)
{
__int64 v1; // x19
unsigned int v2; // w20
char v3; // w8
_BYTE v5[256]; // [xsp+0h] [xbp-120h] BYREF
_QWORD *v6; // [xsp+108h] [xbp-18h] BYREF
v2 = sub_D8080(this, &v6);
if ( v2 || (v2 = sub_65C8C(v6, 1)) != 0 )
{
sub_D804C();
if ( v3 < 0 )
{
v5[0] = 0;
sub_DF504(v2, 10, v1, "Reverb3D::release", v5);
}
}
return v2;
}