//
// CreateParticlePopup::ccTouchEnded from 0x1404357c0 to 0x140435839 (121 bytes)
//
// 2 xrefs:
// > ??> @ 0x1405e96a0
// > ??> @ 0x1406d9d70
//
// 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::ccTouchEnded(CreateParticlePopup *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)
{
int m_nId; // eax
if ( LODWORD(a1->m_pScriptAccelerateHandlerEntry) == a2->m_nId )
LODWORD(a1->m_pScriptAccelerateHandlerEntry) = -1;
m_nId = a2->m_nId;
if ( LODWORD(a1->m_pComponentContainer) == m_nId )
{
(*(void (__fastcall **)(char *, cocos2d::CCTouch *, cocos2d::CCEvent *))(*((_QWORD *)a1->m_pUserData + 40) + 24LL))(
(char *)a1->m_pUserData + 320,
a2,
a3);
LODWORD(a1->m_pComponentContainer) = -1;
}
else if ( a1->m_nUpdateScriptHandler == m_nId )
{
(*(void (__fastcall **)(__int64, cocos2d::CCTouch *, cocos2d::CCEvent *))(*(_QWORD *)(*(_QWORD *)&a1->m_bReorderChildDirty
+ 320LL)
+ 24LL))(
*(_QWORD *)&a1->m_bReorderChildDirty + 320LL,
a2,
a3);
a1->m_nUpdateScriptHandler = -1;
}
}