//
// SetupStopTriggerPopup::onClose from 0x1406098d0 to 0x140609961 (145 bytes)
//
// 2 xrefs:
// > ??> @ 0x14080f848
// > ??> @ 0x14092fa8c
//
// This function is hookable on this platform (idp: pc, 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 11:35:13 +0000
//
__int64 __fastcall SetupStopTriggerPopup::onClose(__int64 a1, __int64 a2)
{
struct cocos2d::CCObject *v4; // rcx
cocos2d::CCArray *v5; // rdi
unsigned int i; // ebx
struct cocos2d::CCObject *v7; // rax
v4 = *(struct cocos2d::CCObject **)(a1 + 680);
if ( v4 )
v5 = cocos2d::CCArray::createWithObject(v4);
else
v5 = *(cocos2d::CCArray **)(a1 + 688);
for ( i = 0; i < cocos2d::CCArray::count(v5); ++i )
{
v7 = cocos2d::CCArray::objectAtIndex(v5, i);
TriggerControlGameObject::updateTriggerControlFrame(v7);
}
return SetupTriggerPopup::onClose(a1, a2);
}