{"type": "func", "start": 6882880, "end": 6882980, "name": "EditorUI::playerTouchEnded", "pseudocode": "// \n// EditorUI::playerTouchEnded from 0x690640 to 0x6906a4 (100 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x39570\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid EditorUI::playerTouchEnded(EditorUI *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)\n{\n  int m_playerTouchID1; // w2\n  int m_nId; // w0\n  double v6; // d0\n  LevelEditorLayer *v7; // x0\n  double m_timestamp; // d0\n  LevelEditorLayer *m_editorLayer; // x0\n\n  m_playerTouchID1 = a1->m_playerTouchID1;\n  m_nId = a2->m_nId;\n  if ( m_nId == m_playerTouchID1 )\n  {\n    m_timestamp = a2->m_timestamp;\n    m_editorLayer = a1->m_editorLayer;\n    a1->m_playerTouchID1 = -1;\n    GJBaseGameLayer::queueButton(m_editorLayer, 1, 0, 0, m_timestamp);\n  }\n  else if ( m_nId == a1->m_playerTouchID2 )\n  {\n    v6 = a2->m_timestamp;\n    v7 = a1->m_editorLayer;\n    a1->m_playerTouchID2 = -1;\n    GJBaseGameLayer::queueButton(v7, 1, 0, 1, v6);\n  }\n}", "assembly": "; \n; EditorUI::playerTouchEnded from 0x690640 to 0x6906a4 (100 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x39570\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nLDR             W2, [X0,#0x274]                                        ; +0x0, 0x690640\nMOV             X3, X0                                                 ; +0x4, 0x690644\nLDR             W0, [X1,#0x38]                                         ; +0x8, 0x690648\nCMP             W0, W2                                                 ; +0xc, 0x69064c\nB.EQ            loc_690684                                             ; +0x10, 0x690650\nLDR             W2, [X3,#0x278]                                        ; +0x14, 0x690654\nCMP             W0, W2                                                 ; +0x18, 0x690658\nB.EQ            loc_690664                                             ; +0x1c, 0x69065c\nRET                                                                    ; +0x20, 0x690660\nLDR             D0, [X1,#0x58]; double                                 ; +0x24, 0x690664\nLDR             X0, [X3,#0x4F8]; this                                  ; +0x28, 0x690668\nMOV             W1, #1; int                                            ; +0x2c, 0x69066c\nMOV             W4, #0xFFFFFFFF                                        ; +0x30, 0x690670\nMOV             W2, #0; bool                                           ; +0x34, 0x690674\nSTR             W4, [X3,#0x278]                                        ; +0x38, 0x690678\nMOV             W3, W1; bool                                           ; +0x3c, 0x69067c\nB               _ZN15GJBaseGameLayer11queueButtonEibbd; GJBaseGameLayer::queueButton(int,bool,bool,double) ; +0x40, 0x690680\nLDR             D0, [X1,#0x58]; double                                 ; +0x44, 0x690684\nLDR             X0, [X3,#0x4F8]; this                                  ; +0x48, 0x690688\nMOV             W2, #0xFFFFFFFF                                        ; +0x4c, 0x69068c\nMOV             W1, #1; int                                            ; +0x50, 0x690690\nSTR             W2, [X3,#0x274]                                        ; +0x54, 0x690694\nMOV             W2, #0; bool                                           ; +0x58, 0x690698\nMOV             W3, #0; bool                                           ; +0x5c, 0x69069c\nB               _ZN15GJBaseGameLayer11queueButtonEibbd; GJBaseGameLayer::queueButton(int,bool,bool,double) ; +0x60, 0x6906a0", "xrefs": ["<???> @ 0x39570"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}