//
// SetupGravityModPopup::sliderChanged from 0xafb38c to 0xafb3ec (96 bytes)
//
// 3 xrefs:
// > ??> @ 0xcd540
// > SetupGravityModPopup::init @ 0xafba90
// > ??> @ 0x1546070
//
// 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 13:01:17 +0000
//
__int64 __fastcall SetupGravityModPopup::sliderChanged(SetupGravityModPopup *this, cocos2d::CCObject *a2)
{
float v3; // s9
float v4; // s8
float Value; // s0
const char *v6; // x1
cocos2d::CCString *v7; // x0
int v8; // s0
v3 = *((float *)this + 176);
v4 = *((float *)this + 177) - v3;
Value = SliderThumb::getValue(a2);
v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%.1f",
v6,
(float)(v3 + (float)(v4 * Value)));
cocos2d::CCString::floatValue(v7);
*((_DWORD *)this + 174) = v8;
SetupGravityModPopup::updateValue(this);
return SetupGravityModPopup::updateValueLabel(this);
}