//
// SetupObjectTogglePopup::valueDidChange from 0x4bb740 to 0x4bb778 (56 bytes)
//
// 0 xrefs:
//
// 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; // r0
cocos2d::CCArray *m_gameObjects; // r5
unsigned int i; // r4
EffectGameObject *v7; // r0
if ( a2 == 56 )
{
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
m_gameObjects = (cocos2d::CCArray *)cocos2d::CCArray::createWithObject(
(cocos2d::CCArray *)m_gameObject,
(cocos2d::CCObject *)&dword_38);
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);
}
}
}