//
// SetupTriggerPopup::onClose from 0x9e5fdc to 0x9e6044 (104 bytes)
//
// 106 xrefs:
// > GJRateLevelLayer::onClose @ 0x820440
// > CustomizeObjectSettingsPopup::onClose @ 0x8441b0
// > CustomizeObjectSettingsPopup::onClose @ 0x8441ec
// > EditTriggersPopup::onClose @ 0x8c25c0
// > EditorOptionsLayer::onClose @ 0x8c29f0
// > UIOptionsLayer::onClose @ 0x8c365c
// > UIPOptionsLayer::onClose @ 0x8c3c4c
// > SetupOpacityPopup::onClose @ 0x8e7a18
// > SetupObjectTogglePopup::onClose @ 0x8e9260
// > SetupSpawnPopup::onClose @ 0x8ea260
// > SetupPulsePopup::onClose @ 0x8ecf60
// > GJFollowCommandLayer::onClose @ 0x91ff60
// > GJPFollowCommandLayer::onClose @ 0x9225bc
// > GJRotateCommandLayer::onClose @ 0x9257a4
// > SetItemIDLayer::onClose @ 0x94c590
// > SetupAnimationPopup::onClose @ 0x94d124
// > SetupAnimSettingsPopup::onClose @ 0x94f3f8
// > SetupCollisionTriggerPopup::onClose @ 0x94f870
// > SetupCountTriggerPopup::onClose @ 0x952dd0
// > SetupInteractObjectPopup::onClose @ 0x954a08
// > SetupInstantCountPopup::onClose @ 0x955b74
// > SetupRotatePopup::onClose @ 0x9584f4
// > SetupShakePopup::onClose @ 0x959280
// > SetupTouchTogglePopup::onClose @ 0x95ab84
// > SetupCameraOffsetTrigger::onClose @ 0x9672fc
// > SetupZoomTriggerPopup::onClose @ 0x96bc20
// > SetupRandTriggerPopup::onClose @ 0x96c604
// > SetupEndPopup::onClose @ 0x96e1d0
// > SetupSongTriggerPopup::onClose @ 0x9a9a80
// > SetupTimeWarpPopup::onClose @ 0x9aafbc
// > SetupCameraRotatePopup::onClose @ 0x9abb9c
// > SetupRandAdvTriggerPopup::onClose @ 0x9ae67c
// > SetupCameraEdgePopup::onClose @ 0x9edf04
// > SetupShaderEffectPopup::onClose @ 0x9fbaf0
// > SetupAreaTintTriggerPopup::onClose @ 0xa08ffc
// > SetupAreaTintTriggerPopup::onClose @ 0xa09070
// > SetupEnterEffectPopup::onClose @ 0xa12f74
// > SetupEnterEffectPopup::onClose @ 0xa12fc4
// > SetupCameraModePopup::onClose @ 0xa16230
// > SetupAdvFollowPopup::onClose @ 0xa1737c
// > SetupMGTrigger::onClose @ 0xa1f3e8
// > SetupKeyframePopup::onClose @ 0xa3a3b8
// > SetupReverbPopup::onClose @ 0xa3dab4
// > SetupSFXPopup::onClose @ 0xa3dc8c
// > SetupStopTriggerPopup::onClose @ 0xa43fbc
// > SelectEventLayer::onClose @ 0xa54394
// > ??> @ 0x73080
// > ??> @ 0x1161248
// > ??> @ 0x1193d18
// > ??> @ 0x1195918
// > ??> @ 0x11960f8
// > ??> @ 0x119a248
// > ??> @ 0x119d848
// > ??> @ 0x119e048
// > ??> @ 0x11a1c28
// > ??> @ 0x11af078
// > ??> @ 0x11b5218
// > ??> @ 0x11b6a48
// > ??> @ 0x11b7a08
// > ??> @ 0x11b9a08
// > ??> @ 0x11bef68
// > ??> @ 0x11c0f58
// > ??> @ 0x11c3078
// > ??> @ 0x11c4c78
// > ??> @ 0x11c6568
// > ??> @ 0x11cc578
// > ??> @ 0x11ccdb8
// > ??> @ 0x11cddc8
// > ??> @ 0x11ce5a8
// > ??> @ 0x11ceda8
// > ??> @ 0x11cfb38
// > ??> @ 0x11d0be8
// > ??> @ 0x11d13c8
// > ??> @ 0x11d1ba8
// > ??> @ 0x11d2388
// > ??> @ 0x11d3378
// > ??> @ 0x11d6318
// > ??> @ 0x11d6af8
// > ??> @ 0x11d7ae8
// > ??> @ 0x11d82e8
// > ??> @ 0x11dcbb8
// > ??> @ 0x11dd3b8
// > ??> @ 0x11ddbe8
// > ??> @ 0x11dec68
// > ??> @ 0x11e0468
// > ??> @ 0x11e0e58
// > ??> @ 0x11e1638
// > ??> @ 0x11e1e18
// > ??> @ 0x11e25f8
// > ??> @ 0x11e2dd8
// > ??> @ 0x11e35b8
// > ??> @ 0x11e3d98
// > ??> @ 0x11e4578
// > ??> @ 0x11e4d58
// > ??> @ 0x11e5d18
// > ??> @ 0x11e64f8
// > ??> @ 0x11e6cd8
// > ??> @ 0x11e74b8
// > ??> @ 0x11e7c98
// > ??> @ 0x11e8478
// > ??> @ 0x11e8c78
// > ??> @ 0x11e9458
// > ??> @ 0x11ea458
// > ??> @ 0x11f1868
// > ??> @ 0x11f2048
// > ??> @ 0x11f2828
//
// 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 SetupTriggerPopup::onClose(SetupTriggerPopup *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
v3 = GameManager::sharedState();
LevelEditorLayer::resetEffectTriggerOptim(v3->m_levelEditorLayer, a1->m_gameObject, a1->m_gameObjects);
SetupTriggerPopup::closeInputNodes(a1);
SetupTriggerPopup::updateEditorLabel(a1);
a1->setKeypadEnabled(a1, 0);
a1->removeFromParentAndCleanup(a1, 1);
}