//
// SetupReverbPopup::onReverb from 0x576048 to 0x5760a2 (90 bytes)
//
// 0 xrefs:
//
// 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)
{
int v4; // s15
int v5; // r2
v4 = (int)COERCE_FLOAT(((int (__fastcall *)(SetupReverbPopup *, int))a1->getValue)(a1, 502));
if ( a2->getTag(a2) == 1 )
v5 = v4 + 1;
else
v5 = v4 - 1;
if ( v5 >= 22 )
v5 = 22;
SetupTriggerPopup::updateValue(a1, 502, (float)(v5 & ~(v5 >> 31)));
SetupReverbPopup::updateReverbLabel(a1);
}