//
// SetupReverbPopup::onReverb from 0x6afa84 to 0x6afade (90 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:56:38 +0000
//
int __fastcall SetupReverbPopup::onReverb(cocos2d::CCDictionary **this, cocos2d::CCObject *a2)
{
int v4; // s15
int v5; // r2
v4 = (int)COERCE_FLOAT((*((int (__fastcall **)(cocos2d::CCDictionary **, int))*this + 183))(this, 502));
if ( (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2) == 1 )
v5 = v4 + 1;
else
v5 = v4 - 1;
if ( v5 >= 22 )
v5 = 22;
SetupTriggerPopup::updateValue(this, 502, (float)(v5 & ~(v5 >> 31)));
return SetupReverbPopup::updateReverbLabel((SetupReverbPopup *)this);
}