//
// SetupPulsePopup::sliderChanged from 0x8ecc50 to 0x8ecd2c (220 bytes)
//
// 5 xrefs:
// > ??> @ 0x9e400
// > SetupPulsePopup::init @ 0x8eeea0
// > SetupPulsePopup::init @ 0x8ef240
// > SetupPulsePopup::init @ 0x8ef5bc
// > ??> @ 0x122d6a8
//
// 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 SetupPulsePopup::sliderChanged(SetupPulsePopup *a1, cocos2d::CCObject *a2)
{
float Value; // s0
const char *v4; // x1
cocos2d::CCString *v5; // x0
int v6; // w0
bool v7; // w19
float v9; // [xsp+30h] [xbp+30h]
Value = SliderThumb::getValue((SliderThumb *)a2);
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.01f", v4, (float)(Value * 10.0));
v9 = cocos2d::CCString::floatValue(v5);
v6 = a2->getTag(a2);
v7 = v6;
switch ( v6 )
{
case 2:
a1->m_holdTime = v9;
SetupPulsePopup::updateHoldTime(a1);
SetupPulsePopup::updateHoldLabel(a1, 1);
break;
case 3:
a1->m_fadeOutTime = v9;
SetupPulsePopup::updateFadeOutTime(a1);
SetupPulsePopup::updateFadeOutLabel(a1, 1);
break;
case 1:
a1->m_fadeInTime = v9;
SetupPulsePopup::updateFadeInTime(a1);
SetupPulsePopup::updateFadeInLabel(a1, v7);
break;
}
}