//
// EditorUI::playerTouchEnded from 0x10004ee50 to 0x10004eea1 (81 bytes)
//
// 0 xrefs:
//
// 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 EditorUI::playerTouchEnded(EditorUI *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)
{
int m_nId; // eax
int m_playerTouchID1; // edx
m_nId = a2->m_nId;
m_playerTouchID1 = a1->m_playerTouchID1;
if ( m_playerTouchID1 == m_nId )
{
a1->m_playerTouchID1 = -1;
}
else
{
if ( a1->m_playerTouchID2 != m_nId )
return;
a1->m_playerTouchID2 = -1;
}
GJBaseGameLayer::queueButton(a1->m_editorLayer, 1, 0, m_playerTouchID1 != m_nId, a2->m_timestamp);
}