//
// SetupObjectTogglePopup::valueDidChange from 0x1001a3424 to 0x1001a3494 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007ac7b0
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void __fastcall SetupObjectTogglePopup::valueDidChange(SetupObjectTogglePopup *a1, int a2, float a3)
{
cocos2d::CCArray *m_gameObjects; // x19
__int64 v4; // x20
EffectGameObject *v5; // x0
if ( a2 == 56 )
{
if ( a1->m_gameObject )
m_gameObjects = (cocos2d::CCArray *)sub_10024A1B8(a1->m_gameObject, *(_QWORD *)&a2);
else
m_gameObjects = a1->m_gameObjects;
if ( (unsigned int)sub_10024A36C(m_gameObjects) )
{
v4 = 0;
do
{
v5 = (EffectGameObject *)sub_10024A388(m_gameObjects, v4);
EffectGameObject::updateSpecialColor(v5);
v4 = (unsigned int)(v4 + 1);
}
while ( (unsigned int)v4 < (unsigned int)sub_10024A36C(m_gameObjects) );
}
}
}