//
// FMODAudioEngine::updateReverb from 0x14005d140 to 0x14005d9fc (2236 bytes)
//
// 9 xrefs:
// > FMODAudioEngine::setupAudioEngine @ 0x14005d0f3
// > EditorUI::onPlayback @ 0x1401b45f1
// > GJBaseGameLayer::resetLevelVariables @ 0x14034515d
// > GJBaseGameLayer::activateSFXTrigger @ 0x14034becd
// > SetupReverbPopup::onPlay @ 0x1405dc2e3
// > SetupSFXPopup::overridePlaySFX @ 0x1405de4c6
// > ??> @ 0x140887c68
// > ??> @ 0x140887c78
// > ??> @ 0x1409108d4
//
// 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 11:25:43 +0000
//
void __fastcall FMODAudioEngine::updateReverb(__int64 a1, int a2, char a3)
{
__int64 v5; // rcx
__int64 v6; // [rsp+C0h] [rbp+8h] BYREF
if ( *(_DWORD *)(a1 + 1768) != a2 || a3 )
{
v5 = *(_QWORD *)(a1 + 592);
v6 = 0;
FMOD::ChannelControl::getDSP(v5, 0, &v6);
FMOD::DSP::setParameterFloat(v6, 0);
FMOD::DSP::setParameterFloat(v6, 1);
FMOD::DSP::setParameterFloat(v6, 2);
FMOD::DSP::setParameterFloat(v6, 3);
FMOD::DSP::setParameterFloat(v6, 4);
FMOD::DSP::setParameterFloat(v6, 5);
FMOD::DSP::setParameterFloat(v6, 6);
FMOD::DSP::setParameterFloat(v6, 7);
FMOD::DSP::setParameterFloat(v6, 8);
FMOD::DSP::setParameterFloat(v6, 9);
FMOD::DSP::setParameterFloat(v6, 10);
FMOD::DSP::setParameterFloat(v6, 11);
*(_DWORD *)(a1 + 1768) = a2;
}
}