//
// SetupRandTriggerPopup::onClose from 0xab2c74 to 0xab2d10 (156 bytes)
//
// 2 xrefs:
// > ??> @ 0x851c8
// > ??> @ 0x14a7438
//
// 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:00:57 +0000
//
__int64 __fastcall SetupRandTriggerPopup::onClose(SetupRandTriggerPopup *this, cocos2d::CCObject *a2)
{
GameManager *v4; // x0
*(_QWORD *)(*((_QWORD *)this + 130) + 584LL) = 0;
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 130) + 1160LL))(*((_QWORD *)this + 130), 0);
*(_QWORD *)(*((_QWORD *)this + 131) + 584LL) = 0;
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 131) + 1160LL))(*((_QWORD *)this + 131), 0);
*(_QWORD *)(*((_QWORD *)this + 127) + 584LL) = 0;
v4 = (GameManager *)(*(__int64 (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 127) + 1160LL))(
*((_QWORD *)this + 127),
0);
*(_BYTE *)(*(_QWORD *)(GameManager::sharedState(v4) + 552) + 14153LL) = 1;
return SetupTriggerPopup::onClose(this, a2);
}