//
// SetupRandTriggerPopup::onClose from 0x504aea to 0x504b50 (102 bytes)
//
// 0 xrefs:
//
// 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 SetupRandTriggerPopup::onClose(SetupRandTriggerPopup *a1, cocos2d::CCObject *a2)
{
a1->m_groupID1Input->m_delegate = nullptr;
a1->m_groupID1Input->onClickTrackNode(a1->m_groupID1Input, 0);
a1->m_groupID2Input->m_delegate = nullptr;
a1->m_groupID2Input->onClickTrackNode(a1->m_groupID2Input, 0);
a1->m_chanceInput->m_delegate = nullptr;
a1->m_chanceInput->onClickTrackNode(a1->m_chanceInput, 0);
GameManager::sharedState()->m_levelEditorLayer->m_unk3751 = 1;
SetupTriggerPopup::onClose(a1, a2);
}