//
// SetupGravityModPopup::updateValue from 0xafb31c to 0xafb38c (112 bytes)
//
// 2 xrefs:
// > SetupGravityModPopup::sliderChanged @ 0xafb3d4
// > ??> @ 0x6e5d8
//
// 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
//
cocos2d::CCArray *__fastcall SetupGravityModPopup::updateValue(SetupGravityModPopup *this)
{
cocos2d::CCArray *result; // x0
unsigned int v3; // w20
bool v4; // cf
unsigned int v5; // w1
result = *((cocos2d::CCArray **)this + 83);
if ( result )
{
*((_DWORD *)result + 453) = *((_DWORD *)this + 174);
}
else
{
result = *((cocos2d::CCArray **)this + 84);
if ( result )
{
v3 = 0;
while ( 1 )
{
result = (cocos2d::CCArray *)cocos2d::CCArray::count(result);
v4 = v3 >= (unsigned int)result;
v5 = v3++;
if ( v4 )
break;
*(_DWORD *)(cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 84), v5) + 1812) = *((_DWORD *)this + 174);
result = *((cocos2d::CCArray **)this + 84);
}
}
}
return result;
}