//
// FMOD::Reverb3D::setActive from 0x1800a68c0 to 0x1800a6975 (181 bytes)
//
// 3 xrefs:
// > FMOD_Reverb3D_SetActive @ 0x1800c63de
// > ??> @ 0x180194348
// > ??> @ 0x1801fb868
//
// 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::setActive(__int64 a1, unsigned __int8 a2)
{
int v3; // esi
unsigned int v4; // ebx
__int64 result; // rax
__int64 v6; // [rsp+30h] [rbp-128h] BYREF
_BYTE v7[256]; // [rsp+40h] [rbp-118h] BYREF
v3 = a1;
v4 = sub_1800DC8D0(a1, &v6);
if ( v4 || (result = sub_1800DC490(v6, a2), (v4 = result) != 0) )
{
if ( *((char *)off_1801AED20 + 16) < 0 )
{
sub_1800F3320(v7);
sub_1800B20E0(v4, 10, v3, (unsigned int)"Reverb3D::setActive", (__int64)v7);
}
return v4;
}
return result;
}