//
// CreateParticlePopup::willClose from 0x9c4f90 to 0x9c5004 (116 bytes)
//
// 3 xrefs:
// > CreateParticlePopup::onPasteSettings @ 0x9c5038
// > CreateParticlePopup::onClose @ 0x9c508c
// > ??> @ 0x44010
//
// 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 CreateParticlePopup::willClose(CreateParticlePopup *a1)
{
cocos2d::CCDictionary *PageInputNodes; // x0
cocos2d::CCDictElement *m_pElements; // x0
cocos2d::CCDictElement *i; // x19
__int64 *m_pObject; // x0
__int64 v6; // x3
PageInputNodes = CreateParticlePopup::getPageInputNodes(a1, 0);
if ( PageInputNodes )
{
m_pElements = PageInputNodes->m_pElements;
if ( m_pElements )
{
for ( i = (cocos2d::CCDictElement *)m_pElements->hh.next; ; i = (cocos2d::CCDictElement *)i->hh.next )
{
m_pObject = (__int64 *)m_pElements->m_pObject;
v6 = *m_pObject;
m_pObject[64] = 0;
(*(void (__fastcall **)(__int64 *, _QWORD))(v6 + 1144))(m_pObject, 0);
m_pElements = i;
if ( !i )
break;
}
}
}
a1->setKeypadEnabled(a1, 0);
}