//
// SetupGravityModPopup::updateValueLabel from 0x6631c0 to 0x663200 (64 bytes)
//
// 2 xrefs:
// > SetupGravityModPopup::sliderChanged @ 0x66329a
// > SetupGravityModPopup::init @ 0x6637e4
//
// 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::updateValueLabel(SetupGravityModPopup *this)
{
int v1; // r4
int (__fastcall *v2)(int, int); // r5
cocos2d::CCString *v3; // r0
int CString; // r0
v1 = *((_DWORD *)this + 132);
v2 = *(int (__fastcall **)(int, int))(*(_DWORD *)v1 + 464);
if ( *((_BYTE *)this + 540) )
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%s: %.1f",
"Gravity mod",
*((float *)this + 134));
else
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%s: %.1f",
"Force",
*((float *)this + 134));
CString = cocos2d::CCString::getCString(v3);
return v2(v1, CString);
}