//
// SetupTriggerPopup::closeInputNodes from 0x542308 to 0x542344 (60 bytes)
//
// 1 xrefs:
// > SetupTriggerPopup::onClose @ 0x54235e
//
// 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::closeInputNodes(SetupTriggerPopup *a1)
{
cocos2d::CCDictionary *m_inputNodes; // r3
cocos2d::CCDictElement *m_pElements; // r3
cocos2d::CCDictElement *next; // r4
int *m_pObject; // r0
int v5; // r3
cocos2d::CCDictElement *v6; // r2
m_inputNodes = a1->m_inputNodes;
if ( m_inputNodes )
{
m_pElements = m_inputNodes->m_pElements;
if ( m_pElements )
next = (cocos2d::CCDictElement *)m_pElements->hh.next;
else
next = nullptr;
while ( m_pElements )
{
m_pObject = (int *)m_pElements->m_pObject;
v5 = *m_pObject;
m_pObject[96] = 0;
(*(void (__fastcall **)(int *, _DWORD))(v5 + 572))(m_pObject, 0);
if ( next )
v6 = (cocos2d::CCDictElement *)next->hh.next;
else
v6 = nullptr;
m_pElements = next;
next = v6;
}
}
}