//
// SetupPortalPopup::onClose from 0x100570150 to 0x1005701a0 (80 bytes)
//
// 1 xrefs:
// > SetupPortalPopup::init @ 0x10056fa0c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall SetupPortalPopup::onClose(SetupPortalPopup *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // rax
v3 = GameManager::sharedState();
LevelEditorLayer::resetEffectTriggerOptim(
v3->m_levelEditorLayer,
(GameObject *)a1->m_gameObjects,
(cocos2d::CCArray *)a1->m_gameObject);
((void (__fastcall *)(SetupPortalPopup *, _QWORD))a1->setKeypadEnabled)(a1, 0);
((void (__fastcall *)(SetupPortalPopup *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
}