//
// SetupRandAdvTriggerPopup::onClose from 0x100032f44 to 0x100032fb0 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008b3750
//
// 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 10:57:31 +0000
//
__int64 __fastcall SetupRandAdvTriggerPopup::onClose(__int64 a1, __int64 a2)
{
_QWORD *v4; // x0
_QWORD *v5; // x0
__int64 v6; // x0
v4 = *(_QWORD **)(a1 + 1024);
v4[73] = 0;
(*(void (__fastcall **)(_QWORD *, _QWORD))(*v4 + 1160LL))(v4, 0);
v5 = *(_QWORD **)(a1 + 1032);
v5[73] = 0;
v6 = (*(__int64 (__fastcall **)(_QWORD *, _QWORD))(*v5 + 1160LL))(v5, 0);
*(_BYTE *)(*(_QWORD *)(GameManager::sharedState(v6) + 552) + 14153LL) = 1;
return SetupTriggerPopup::onClose(a1, a2);
}