//
// SetupRandTriggerPopup::onClose from 0x6359d6 to 0x635a3c (102 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:55:19 +0000
//
int __fastcall SetupRandTriggerPopup::onClose(SetupRandTriggerPopup *this, cocos2d::CCObject *a2)
{
GameManager *v4; // r0
*(_DWORD *)(*((_DWORD *)this + 181) + 420) = 0;
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 181) + 580))(*((_DWORD *)this + 181), 0);
*(_DWORD *)(*((_DWORD *)this + 182) + 420) = 0;
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 182) + 580))(*((_DWORD *)this + 182), 0);
*(_DWORD *)(*((_DWORD *)this + 178) + 420) = 0;
v4 = (GameManager *)(*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 178) + 580))(
*((_DWORD *)this + 178),
0);
*(_BYTE *)(*(_DWORD *)(GameManager::sharedState(v4) + 408) + 11785) = 1;
return SetupTriggerPopup::onClose(this, a2);
}