//
// SetupStopTriggerPopup::onClose from 0x140472d90 to 0x140472e21 (145 bytes)
//
// 2 xrefs:
// > ??> @ 0x1405ffd80
// > ??> @ 0x1406db378
//
// 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; // rcx
struct cocos2d::CCArray *m_gameObjects; // rdi
unsigned int i; // ebx
TriggerControlGameObject *v7; // rax
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
m_gameObjects = cocos2d::CCArray::createWithObject(m_gameObject);
else
m_gameObjects = a1->m_gameObjects;
for ( i = 0; i < cocos2d::CCArray::count(m_gameObjects); ++i )
{
v7 = (TriggerControlGameObject *)cocos2d::CCArray::objectAtIndex(m_gameObjects, i);
TriggerControlGameObject::updateTriggerControlFrame(v7);
}
SetupTriggerPopup::onClose(a1, a2);
}