//
// SetupPulsePopup::sliderChanged from 0xa45248 to 0xa45324 (220 bytes)
//
// 5 xrefs:
// > ??> @ 0xd0510
// > SetupPulsePopup::init @ 0xa46dd0
// > SetupPulsePopup::init @ 0xa47178
// > SetupPulsePopup::init @ 0xa474fc
// > ??> @ 0x1546258
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:59:58 +0000
//
__int64 __fastcall SetupPulsePopup::sliderChanged(SetupPulsePopup *this, cocos2d::CCObject *a2)
{
float Value; // s0
const char *v4; // x1
cocos2d::CCString *v5; // x0
int v6; // s0
__int64 result; // x0
unsigned int v8; // w19
int v10; // [xsp+30h] [xbp+30h]
Value = SliderThumb::getValue(a2);
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.01f", v4, (float)(Value * 10.0));
cocos2d::CCString::floatValue(v5);
v10 = v6;
result = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
v8 = result;
switch ( (_DWORD)result )
{
case 2:
*((_DWORD *)this + 321) = v10;
SetupPulsePopup::updateHoldTime(this);
return SetupPulsePopup::updateHoldLabel(this, 1u);
case 3:
*((_DWORD *)this + 322) = v10;
SetupPulsePopup::updateFadeOutTime(this);
return SetupPulsePopup::updateFadeOutLabel(this, 1u);
case 1:
*((_DWORD *)this + 320) = v10;
SetupPulsePopup::updateFadeInTime(this);
return SetupPulsePopup::updateFadeInLabel(this, v8);
}
return result;
}