//
// SetupShakePopup::sliderChanged from 0x1003a991c to 0x1003a99f4 (216 bytes)
//
// 1 xrefs:
// > SetupShakePopup::init @ 0x1003a9390
//
// 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 __fastcall SetupShakePopup::sliderChanged(SetupShakePopup *a1, cocos2d::CCObject *a2)
{
float Value; // s8
Value = SliderThumb::getValue((SliderThumb *)a2);
if ( ((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == 3 )
{
a1->m_duration = Value + Value;
SetupShakePopup::updateDuration(a1);
SetupShakePopup::updateDurLabel(a1, 1);
}
else if ( ((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == 7 )
{
a1->m_interval = Value * 0.1;
SetupShakePopup::updateInterval(a1);
SetupShakePopup::updateIntervalLabel(a1, 1);
}
else
{
a1->m_strength = Value * 5.0;
SetupShakePopup::updateShake(a1);
SetupShakePopup::updateShakeLabel(a1, 1);
}
}