//
// SetupAreaTintTriggerPopup::onClose from 0x1000385d8 to 0x10003866c (148 bytes)
//
// 2 xrefs:
// > ??> @ 0x10076b698
// > ??> @ 0x10076c6e0
//
// 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 SetupAreaTintTriggerPopup::onClose(SetupAreaTintTriggerPopup *a1, cocos2d::CCObject *a2)
{
EffectGameObject *m_gameObject; // x8
cocos2d::CCArray *m_gameObjects; // x0
__int64 v6; // x21
if ( 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(m_gameObjects) )
{
v6 = 0;
do
{
*(cocos2d::ccHSVValue *)(sub_10024A388(a1->m_gameObjects, v6) + 1612) = a1->m_hsvValue;
v6 = (unsigned int)(v6 + 1);
}
while ( (unsigned int)v6 < (unsigned int)sub_10024A36C(a1->m_gameObjects) );
}
}
}
SetupTriggerPopup::onClose(a1, a2);
}