//
// SetupStopTriggerPopup::onClose from 0x1005868a0 to 0x100586926 (134 bytes)
//
// 1 xrefs:
// > ??> @ 0x10096b350
//
// 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 SetupStopTriggerPopup::onClose(SetupStopTriggerPopup *a1, cocos2d::CCObject *a2)
{
EffectGameObject *m_gameObject; // rdi
cocos2d::CCArray *m_gameObjects; // r15
unsigned int v5; // r12d
TriggerControlGameObject *v6; // rax
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
m_gameObjects = (cocos2d::CCArray *)sub_10071FA80(m_gameObject);
if ( !(unsigned int)sub_100720070(m_gameObjects) )
goto LABEL_7;
}
else
{
m_gameObjects = a1->m_gameObjects;
if ( !(unsigned int)sub_100720070(m_gameObjects) )
goto LABEL_7;
}
v5 = 0;
do
{
v6 = (TriggerControlGameObject *)sub_1007200C0(m_gameObjects, v5);
TriggerControlGameObject::updateTriggerControlFrame(v6);
++v5;
}
while ( v5 < (unsigned int)sub_100720070(m_gameObjects) );
LABEL_7:
SetupTriggerPopup::onClose(a1, a2);
}