//
// SetupObjectTogglePopup::valueDidChange from 0x1003767a0 to 0x100376818 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x10091e7e0
//
// 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 __fastcall SetupObjectTogglePopup::valueDidChange(SetupObjectTogglePopup *a1, int a2, float a3)
{
cocos2d::CCArray *m_gameObjects; // rbx
unsigned int v4; // r14d
EffectGameObject *v5; // rax
if ( a2 == 56 )
{
if ( a1->m_gameObject )
{
m_gameObjects = (cocos2d::CCArray *)sub_10071FA80(a1->m_gameObject);
if ( !(unsigned int)sub_100720070(m_gameObjects) )
return;
}
else
{
m_gameObjects = a1->m_gameObjects;
if ( !(unsigned int)sub_100720070(m_gameObjects) )
return;
}
v4 = 0;
do
{
v5 = (EffectGameObject *)sub_1007200C0(m_gameObjects, v4);
EffectGameObject::updateSpecialColor(v5);
++v4;
}
while ( v4 < (unsigned int)sub_100720070(m_gameObjects) );
}
}