//
// FMOD::Reverb3D::release from 0x1800a6760 to 0x1800a67f9 (153 bytes)
//
// 3 xrefs:
// > FMOD_Reverb3D_Release @ 0x1800c63b9
// > ??> @ 0x180194348
// > ??> @ 0x1801fb850
//
// This function is hookable on this platform (idp: pc, 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 10:53:54 +0000
//
__int64 __fastcall FMOD::Reverb3D::release(__int64 a1)
{
int v1; // edi
__int64 v2; // rdx
unsigned int v3; // ebx
__int64 result; // rax
__int64 v5; // [rsp+30h] [rbp-128h] BYREF
_BYTE v6[256]; // [rsp+40h] [rbp-118h] BYREF
v1 = a1;
v3 = sub_1800DC8D0(a1, &v5);
if ( v3 || (LOBYTE(v2) = 1, result = sub_1800DC380(v5, v2), (v3 = result) != 0) )
{
if ( *((char *)off_1801AED20 + 16) < 0 )
{
v6[0] = 0;
sub_1800B20E0(v3, 10, v1, (unsigned int)"Reverb3D::release", (__int64)v6);
}
return v3;
}
return result;
}