//
// FMOD::Reverb3D::setActive from 0x1004bcf38 to 0x1004bcffc (196 bytes)
//
// 1 xrefs:
// > sub_100454660 @ 0x10045466c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// local variable allocation has failed, the output may be wrong!
FMOD_RESULT __fastcall FMOD::Reverb3D::setActive(FMOD::Reverb3D *a1, bool a2)
{
_BOOL8 v2; // x21
__int64 v4; // x20
__int64 v6; // [xsp+0h] [xbp-130h] BYREF
_BYTE v7[256]; // [xsp+8h] [xbp-128h] BYREF
v2 = a2;
v4 = sub_1004BD594(a1, &v6);
if ( (_DWORD)v4 || (v4 = sub_1004BD938(v6, v2), (_DWORD)v4) )
{
if ( (*((_BYTE *)off_1008524C8 + 32) & 0x80) != 0 )
{
sub_100435E24(v7, 0x100u, v2);
sub_10048489C(v4, 10, (__int64)a1, (__int64)"Reverb3D::setActive", (__int64)v7);
}
}
return (unsigned int)v4;
}