//
// SetupPulsePopup::sliderChanged from 0x1003b5d84 to 0x1003b5e80 (252 bytes)
//
// 3 xrefs:
// > SetupPulsePopup::init @ 0x1003b3798
// > SetupPulsePopup::init @ 0x1003b3af0
// > SetupPulsePopup::init @ 0x1003b3e48
//
// 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 SetupPulsePopup::sliderChanged(SetupPulsePopup *a1, cocos2d::CCObject *a2)
{
float Value; // s0
cocos2d::CCString *v5; // x0
float v6; // s8
int v7; // w0
Value = SliderThumb::getValue((SliderThumb *)a2);
v5 = (cocos2d::CCString *)sub_100268F4C("%.01f", (float)(Value * 10.0));
v6 = cocos2d::CCString::floatValue(v5);
v7 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);
switch ( v7 )
{
case 3:
a1->m_fadeOutTime = v6;
SetupPulsePopup::updateFadeOutTime(a1);
SetupPulsePopup::updateFadeOutLabel(a1, 1);
break;
case 2:
a1->m_holdTime = v6;
SetupPulsePopup::updateHoldTime(a1);
SetupPulsePopup::updateHoldLabel(a1, 1);
break;
case 1:
a1->m_fadeInTime = v6;
SetupPulsePopup::updateFadeInTime(a1);
SetupPulsePopup::updateFadeInLabel(a1, 1);
break;
}
}