//
// SetupPulsePopup::sliderChanged from 0x5ecb94 to 0x5ecc1c (136 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:54:24 +0000
//
int __fastcall SetupPulsePopup::sliderChanged(SetupPulsePopup *this, cocos2d::CCObject *a2)
{
float v4; // r0
const char *v5; // r1
cocos2d::CCString *v6; // r0
int v7; // r6
int result; // r0
const char *v9; // r5
v4 = COERCE_FLOAT(SliderThumb::getValue(a2));
v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.01f", v5, (float)(v4 * 10.0));
v7 = cocos2d::CCString::floatValue(v6);
result = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);
v9 = (const char *)result;
switch ( result )
{
case 2:
*((_DWORD *)this + 214) = v7;
SetupPulsePopup::updateHoldTime(this);
return SetupPulsePopup::updateHoldLabel(this, (_BYTE *)&dword_0 + 1);
case 3:
*((_DWORD *)this + 215) = v7;
SetupPulsePopup::updateFadeOutTime(this);
return SetupPulsePopup::updateFadeOutLabel(this, (_BYTE *)&dword_0 + 1);
case 1:
*((_DWORD *)this + 213) = v7;
SetupPulsePopup::updateFadeInTime(this);
return SetupPulsePopup::updateFadeInLabel(this, v9);
}
return result;
}