//
// SetupReverbPopup::onReverb from 0x1004b8390 to 0x1004b8402 (114 bytes)
//
// 2 xrefs:
// > SetupReverbPopup::init @ 0x1004b80a5
// > SetupReverbPopup::init @ 0x1004b8189
//
// 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
//
void __fastcall SetupReverbPopup::onReverb(SetupReverbPopup *a1, cocos2d::CCObject *a2)
{
int v2; // r15d
int v3; // eax
int v4; // ecx
int v5; // eax
v2 = (int)((float (__fastcall *)(SetupReverbPopup *, __int64))a1->getValue)(a1, 502);
v3 = v2 + 2 * (((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == 1) - 1;
v4 = 22;
if ( v3 < 22 )
v4 = v3;
v5 = 0;
if ( v4 > 0 )
v5 = v4;
SetupTriggerPopup::updateValue(a1, 502, (float)v5);
SetupReverbPopup::updateReverbLabel(a1);
}