//
// EditorUI::playerTouchEnded from 0x690640 to 0x6906a4 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x39570
//
// 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 EditorUI::playerTouchEnded(EditorUI *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)
{
int m_playerTouchID1; // w2
int m_nId; // w0
double v6; // d0
LevelEditorLayer *v7; // x0
double m_timestamp; // d0
LevelEditorLayer *m_editorLayer; // x0
m_playerTouchID1 = a1->m_playerTouchID1;
m_nId = a2->m_nId;
if ( m_nId == m_playerTouchID1 )
{
m_timestamp = a2->m_timestamp;
m_editorLayer = a1->m_editorLayer;
a1->m_playerTouchID1 = -1;
GJBaseGameLayer::queueButton(m_editorLayer, 1, 0, 0, m_timestamp);
}
else if ( m_nId == a1->m_playerTouchID2 )
{
v6 = a2->m_timestamp;
v7 = a1->m_editorLayer;
a1->m_playerTouchID2 = -1;
GJBaseGameLayer::queueButton(v7, 1, 0, 1, v6);
}
}