//
// SetupStopTriggerPopup::onClose from 0x1004924e0 to 0x10049255c (124 bytes)
//
// 1 xrefs:
// > ??> @ 0x100976958
//
// 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 11:05:54 +0000
//
__int64 __fastcall SetupStopTriggerPopup::onClose(__int64 a1)
{
__int64 v2; // x0
void *v3; // x21
unsigned int v4; // w22
__int64 v5; // x0
v2 = *(_QWORD *)(a1 + 680);
if ( v2 )
v3 = sub_1002E73C8(v2);
else
v3 = *(void **)(a1 + 688);
if ( (unsigned int)sub_1002E757C((__int64)v3) )
{
v4 = 0;
do
{
v5 = sub_1002E75A0((__int64)v3, v4);
sub_10043F454(v5);
++v4;
}
while ( v4 < (unsigned int)sub_1002E757C((__int64)v3) );
}
return SetupTriggerPopup::onClose(a1);
}