//
// SetupPortalPopup::onClose from 0x969adc to 0x969b34 (88 bytes)
//
// 4 xrefs:
// > SetupPortalPopup::keyBackClicked @ 0x969b38
// > ??> @ 0x60b10
// > SetupPortalPopup::init @ 0x96a0c0
// > ??> @ 0x122b1e8
//
// 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 SetupPortalPopup::onClose(SetupPortalPopup *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
v3 = GameManager::sharedState();
LevelEditorLayer::resetEffectTriggerOptim(
v3->m_levelEditorLayer,
(GameObject *)a1->m_gameObjects,
(cocos2d::CCArray *)a1->m_gameObject);
a1->setKeypadEnabled(a1, 0);
a1->removeFromParentAndCleanup(a1, 1);
}