//
// SetupShakePopup::sliderChanged from 0x95a3c8 to 0x95a498 (208 bytes)
//
// 3 xrefs:
// > ??> @ 0x9e670
// > SetupShakePopup::init @ 0x959d4c
// > ??> @ 0x122d6c0
//
// 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; // s8
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);
}
}