//
// SetupPortalPopup::onClose from 0xab0694 to 0xab06ec (88 bytes)
//
// 4 xrefs:
// > SetupPortalPopup::keyBackClicked @ 0xab06f0
// > ??> @ 0x83f50
// > SetupPortalPopup::init @ 0xab0e20
// > ??> @ 0x1543718
//
// 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:56 +0000
//
__int64 __fastcall SetupPortalPopup::onClose(SetupPortalPopup *this, cocos2d::CCObject *a2)
{
__int64 v3; // x0
long double v4; // q0
v3 = GameManager::sharedState(this);
*(__n128 *)&v4 = LevelEditorLayer::resetEffectTriggerOptim(
(LevelEditorLayer *)*(_QWORD *)(v3 + 552),
(GameObject *)*((_QWORD *)this + 84),
(cocos2d::CCArray *)*((_QWORD *)this + 83));
(*(void (__fastcall **)(SetupPortalPopup *, _QWORD, long double))(*(_QWORD *)this + 1072LL))(this, 0, v4);
return (*(__int64 (__fastcall **)(SetupPortalPopup *, __int64))(*(_QWORD *)this + 528LL))(this, 1);
}