//
// SetupRandTriggerPopup::onClose from 0x1001caf30 to 0x1001cafb4 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007b98c8
//
// 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 SetupRandTriggerPopup::onClose(SetupRandTriggerPopup *a1, cocos2d::CCObject *a2)
{
CCTextInputNode *m_groupID1Input; // x0
CCTextInputNode *m_groupID2Input; // x0
CCTextInputNode *m_chanceInput; // x0
m_groupID1Input = a1->m_groupID1Input;
m_groupID1Input->m_delegate = nullptr;
((void (__fastcall *)(CCTextInputNode *, _QWORD))m_groupID1Input->onClickTrackNode)(m_groupID1Input, 0);
m_groupID2Input = a1->m_groupID2Input;
m_groupID2Input->m_delegate = nullptr;
((void (__fastcall *)(CCTextInputNode *, _QWORD))m_groupID2Input->onClickTrackNode)(m_groupID2Input, 0);
m_chanceInput = a1->m_chanceInput;
m_chanceInput->m_delegate = nullptr;
((void (__fastcall *)(CCTextInputNode *, _QWORD))m_chanceInput->onClickTrackNode)(m_chanceInput, 0);
GameManager::sharedState()->m_levelEditorLayer->m_unk3751 = 1;
SetupTriggerPopup::onClose(a1, a2);
}