//
// SetupReverbPopup::onReverb from 0xa3fd04 to 0xa3fd80 (124 bytes)
//
// 4 xrefs:
// > ??> @ 0xb05f8
// > SetupReverbPopup::init @ 0xa3f66c
// > SetupReverbPopup::init @ 0xa3f754
// > ??> @ 0x122e1a8
//
// 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 SetupReverbPopup::onReverb(SetupReverbPopup *a1, cocos2d::CCObject *a2)
{
float v4; // s0
cocos2d::CCObject_vtbl *v5; // x1
cocos2d::CCObject *v6; // x0
int v7; // w19
int v8; // w0
int v9; // w2
v4 = a1->getValue(a1, 502);
v5 = a2->__vftable;
v6 = a2;
v7 = (int)v4;
v8 = v5->getTag(v6);
v9 = v7 + 1;
if ( v8 != 1 )
v9 = v7 - 1;
if ( v9 > 22 )
v9 = 22;
if ( v9 < 0 )
v9 = 0;
SetupTriggerPopup::updateValue(a1, 502, (float)v9);
SetupReverbPopup::updateReverbLabel(a1);
}