//
// SetupGravityModPopup::updateValue from 0x9bf068 to 0x9bf0dc (116 bytes)
//
// 2 xrefs:
// > SetupGravityModPopup::sliderChanged @ 0x9bf124
// > ??> @ 0x4eeb8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void SetupGravityModPopup::updateValue(SetupGravityModPopup *a1)
{
EffectGameObject *m_gameObject; // x1
cocos2d::CCArray *m_gameObjects; // x1
unsigned int v4; // w20
__int64 v5; // x0
bool v6; // cf
unsigned int v7; // w1
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
m_gameObject->m_gravityMod = a1->m_gravityMod;
}
else
{
m_gameObjects = a1->m_gameObjects;
if ( m_gameObjects )
{
v4 = 0;
while ( 1 )
{
v6 = v4 >= (unsigned int)cocos2d::CCArray::count(m_gameObjects);
v7 = v4++;
if ( v6 )
break;
v5 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v7);
m_gameObjects = a1->m_gameObjects;
*(float *)(v5 + 1796) = a1->m_gravityMod;
}
}
}
}