//
// SetupObjectTogglePopup::valueDidChange from 0x14042a360 to 0x14042a3cd (109 bytes)
//
// 5 xrefs:
// > ??> @ 0x1405e8968
// > ??> @ 0x1406a0e58
// > ??> @ 0x1406a0e68
// > ??> @ 0x1406d98fc
// > ??> @ 0x1406d9908
//
// 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; // rcx
struct cocos2d::CCArray *m_gameObjects; // rdi
unsigned int i; // ebx
EffectGameObject *v7; // rax
if ( a2 == 56 )
{
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
m_gameObjects = cocos2d::CCArray::createWithObject(m_gameObject);
else
m_gameObjects = a1->m_gameObjects;
for ( i = 0; i < cocos2d::CCArray::count(m_gameObjects); ++i )
{
v7 = (EffectGameObject *)cocos2d::CCArray::objectAtIndex(m_gameObjects, i);
EffectGameObject::updateSpecialColor(v7);
}
}
}