//
// SetupStopTriggerPopup::onClose from 0xa43f54 to 0xa43fc8 (116 bytes)
//
// 2 xrefs:
// > ??> @ 0xa12f8
// > ??> @ 0x11e9c58
//
// 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 SetupStopTriggerPopup::onClose(SetupStopTriggerPopup *a1, cocos2d::CCObject *a2)
{
EffectGameObject *m_gameObject; // x0
cocos2d::CCArray *m_gameObjects; // x20
unsigned int v6; // w19
TriggerControlGameObject *v7; // x0
bool v8; // cf
unsigned int v9; // w1
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
m_gameObjects = (cocos2d::CCArray *)cocos2d::CCArray::createWithObject((cocos2d::CCArray *)m_gameObject, a2);
else
m_gameObjects = a1->m_gameObjects;
v6 = 0;
while ( 1 )
{
v8 = v6 >= (unsigned int)cocos2d::CCArray::count(m_gameObjects);
v9 = v6++;
if ( v8 )
break;
v7 = (TriggerControlGameObject *)cocos2d::CCArray::objectAtIndex(m_gameObjects, v9);
TriggerControlGameObject::updateTriggerControlFrame(v7);
}
SetupTriggerPopup::onClose(a1, a2);
}