//
// SetupStopTriggerPopup::onClose from 0xb71b5c to 0xb71bd0 (116 bytes)
//
// 2 xrefs:
// > ??> @ 0xd4068
// > ??> @ 0x14d3258
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:02:21 +0000
//
__int64 __fastcall SetupStopTriggerPopup::onClose(SetupStopTriggerPopup *this, cocos2d::CCObject *a2)
{
cocos2d::CCArray *v4; // x0
cocos2d::CCArray *v5; // x20
unsigned int v6; // w19
TriggerControlGameObject *v7; // x0
bool v8; // cf
unsigned int v9; // w1
v4 = *((cocos2d::CCArray **)this + 85);
if ( v4 )
v5 = (cocos2d::CCArray *)cocos2d::CCArray::createWithObject(v4, a2);
else
v5 = *((cocos2d::CCArray **)this + 86);
v6 = 0;
while ( 1 )
{
v8 = v6 >= (unsigned int)cocos2d::CCArray::count(v5);
v9 = v6++;
if ( v8 )
break;
v7 = (TriggerControlGameObject *)cocos2d::CCArray::objectAtIndex(v5, v9);
TriggerControlGameObject::updateTriggerControlFrame(v7);
}
return SetupTriggerPopup::onClose((GameObject **)this, a2);
}