//
// SetupPortalPopup::onClose from 0x633dea to 0x633e1e (52 bytes)
//
// 1 xrefs:
// > SetupPortalPopup::keyBackClicked @ 0x633e20
//
// 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:18 +0000
//
int __fastcall SetupPortalPopup::onClose(cocos2d::CCArray **this, cocos2d::CCObject *a2)
{
int v3; // r0
v3 = GameManager::sharedState((GameManager *)this);
LevelEditorLayer::resetEffectTriggerOptim(*(LevelEditorLayer **)(v3 + 408), *(this + 131), *(this + 130));
(*((void (__fastcall **)(cocos2d::CCArray **, _DWORD))*this + 134))(this, 0);
return (*((int (__fastcall **)(cocos2d::CCArray **, int))*this + 66))(this, 1);
}