//
// SetupObjectTogglePopup::valueDidChange from 0x8e9264 to 0x8e92d8 (116 bytes)
//
// 2 xrefs:
// > ??> @ 0x2b5f0
// > ??> @ 0x11a3870
//
// 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 SetupObjectTogglePopup::valueDidChange(SetupObjectTogglePopup *a1, int a2, float a3)
{
EffectGameObject *m_gameObject; // x0
cocos2d::CCArray *m_gameObjects; // x20
unsigned int v6; // w19
EffectGameObject *v7; // x0
bool v8; // cf
unsigned int v9; // w1
if ( a2 == 56 )
{
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
m_gameObjects = (cocos2d::CCArray *)cocos2d::CCArray::createWithObject((cocos2d::CCArray *)m_gameObject, a1);
else
m_gameObjects = a1->m_gameObjects;
v6 = 0;
while ( 1 )
{
v8 = v6 >= (unsigned int)cocos2d::CCArray::count(m_gameObjects);
v9 = v6++;
if ( v8 )
break;
v7 = (EffectGameObject *)cocos2d::CCArray::objectAtIndex(m_gameObjects, v9);
EffectGameObject::updateSpecialColor(v7);
}
}
}