//
// SetupCountTriggerPopup::onClose from 0x1000f4ebc to 0x1000f4f40 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x100785098
//
// 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 SetupCountTriggerPopup::onClose(SetupCountTriggerPopup *a1, cocos2d::CCObject *a2)
{
CCTextInputNode *m_itemIDInput; // x0
CCTextInputNode *m_targetIDInput; // x0
CCTextInputNode *m_targetCountInput; // x0
m_itemIDInput = a1->m_itemIDInput;
m_itemIDInput->m_delegate = nullptr;
((void (__fastcall *)(CCTextInputNode *, _QWORD))m_itemIDInput->onClickTrackNode)(m_itemIDInput, 0);
m_targetIDInput = a1->m_targetIDInput;
m_targetIDInput->m_delegate = nullptr;
((void (__fastcall *)(CCTextInputNode *, _QWORD))m_targetIDInput->onClickTrackNode)(m_targetIDInput, 0);
m_targetCountInput = a1->m_targetCountInput;
m_targetCountInput->m_delegate = nullptr;
((void (__fastcall *)(CCTextInputNode *, _QWORD))m_targetCountInput->onClickTrackNode)(m_targetCountInput, 0);
GameManager::sharedState()->m_levelEditorLayer->m_unk3751 = 1;
SetupTriggerPopup::onClose(a1, a2);
}