//
// SetupGravityModPopup::sliderChanged from 0x663250 to 0x66329e (78 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:55:39 +0000
//
int __fastcall SetupGravityModPopup::sliderChanged(SetupGravityModPopup *this, cocos2d::CCObject *a2)
{
float v3; // s16
float v4; // s17
float v5; // r0
const char *v6; // r1
cocos2d::CCString *v7; // r0
v3 = *((float *)this + 136);
v4 = *((float *)this + 137);
v5 = COERCE_FLOAT(SliderThumb::getValue(a2));
v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%.1f",
v6,
(float)(v3 + (float)((float)(v4 - v3) * v5)));
*((_DWORD *)this + 134) = cocos2d::CCString::floatValue(v7);
SetupGravityModPopup::updateValue(this);
return SetupGravityModPopup::updateValueLabel(this);
}