//
// SetupShakePopup::sliderChanged from 0xaa1824 to 0xaa18f4 (208 bytes)
//
// 3 xrefs:
// > ??> @ 0xd07c8
// > SetupShakePopup::init @ 0xaa2150
// > ??> @ 0x1546270
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:00:48 +0000
//
__int64 __fastcall SetupShakePopup::sliderChanged(SetupShakePopup *this, cocos2d::CCObject *a2)
{
float Value; // s8
Value = SliderThumb::getValue(a2);
if ( (*(unsigned int (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2) == 3 )
{
*((float *)this + 258) = Value + Value;
SetupShakePopup::updateDuration(this);
return SetupShakePopup::updateDurLabel(this, 1u);
}
else if ( (*(unsigned int (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2) == 7 )
{
*((float *)this + 270) = Value * 0.1;
SetupShakePopup::updateInterval(this);
return SetupShakePopup::updateIntervalLabel(this, 1u);
}
else
{
*((float *)this + 264) = Value * 5.0;
SetupShakePopup::updateShake(this);
return SetupShakePopup::updateShakeLabel(this, 1u);
}
}