//
// SetupShakePopup::sliderChanged from 0x629c34 to 0x629cc2 (142 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:55:11 +0000
//
int __fastcall SetupShakePopup::sliderChanged(SetupShakePopup *this, cocos2d::CCObject *a2)
{
float v4; // s16
v4 = COERCE_FLOAT(SliderThumb::getValue(a2));
if ( (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2) == 3 )
{
*((float *)this + 180) = v4 + v4;
SetupShakePopup::updateDuration((unsigned int)this);
return SetupShakePopup::updateDurLabel(this, (_BYTE *)&dword_0 + 1);
}
else if ( (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2) == 7 )
{
*((float *)this + 186) = v4 * 0.1;
SetupShakePopup::updateInterval((unsigned int)this);
return SetupShakePopup::updateIntervalLabel(this, (_BYTE *)&dword_0 + 1);
}
else
{
*((float *)this + 183) = v4 * 5.0;
SetupShakePopup::updateShake((unsigned int)this);
return SetupShakePopup::updateShakeLabel(this, (_BYTE *)&dword_0 + 1);
}
}