//
// SetupEnterEffectPopup::onClose from 0x100401590 to 0x100401630 (160 bytes)
//
// 1 xrefs:
// > ??> @ 0x100816c38
//
// 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 SetupEnterEffectPopup::onClose(SetupEnterEffectPopup *a1, cocos2d::CCObject *a2)
{
EffectGameObject *m_gameObject; // x8
cocos2d::CCArray *m_gameObjects; // x0
unsigned int v6; // w21
if ( a1->m_objectID == 3021 && a1->m_hsvChanged )
{
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
m_gameObject->m_hsvValue = a1->m_hsvValue;
}
else
{
m_gameObjects = a1->m_gameObjects;
if ( m_gameObjects && (unsigned int)sub_10024A36C((__int64)m_gameObjects) )
{
v6 = 0;
do
*(cocos2d::ccHSVValue *)(sub_10024A388((__int64)a1->m_gameObjects, v6++) + 1612) = a1->m_hsvValue;
while ( v6 < (unsigned int)sub_10024A36C((__int64)a1->m_gameObjects) );
}
}
}
SetupTriggerPopup::onClose(a1, a2);
}