//
// SetupShakePopup::sliderChanged from 0x4f9f18 to 0x4f9fa6 (142 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 SetupShakePopup::sliderChanged(SetupShakePopup *a1, cocos2d::CCObject *a2)
{
float Value; // s16
Value = SliderThumb::getValue((SliderThumb *)a2);
if ( a2->getTag(a2) == 3 )
{
a1->m_duration = Value + Value;
SetupShakePopup::updateDuration(a1);
SetupShakePopup::updateDurLabel(a1, 1);
}
else if ( 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);
}
}