{"type": "func", "start": 3678208, "end": 3678292, "name": "EditorUI::playerTouchEnded", "pseudocode": "// \n// EditorUI::playerTouchEnded from 0x382000 to 0x382054 (84 bytes)\n// \n// 0 xrefs:\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_nId; // r3\n\n  m_nId = a2->m_nId;\n  if ( a1->m_playerTouchID1 == m_nId )\n  {\n    a1->m_playerTouchID1 = -1;\n    GJBaseGameLayer::queueButton(a1->m_editorLayer, 1, 0, 0, a2->m_timestamp);\n  }\n  else if ( a1->m_playerTouchID2 == m_nId )\n  {\n    a1->m_playerTouchID2 = -1;\n    GJBaseGameLayer::queueButton(a1->m_editorLayer, 1, 0, 1, a2->m_timestamp);\n  }\n}", "assembly": "; \n; EditorUI::playerTouchEnded from 0x382000 to 0x382054 (84 bytes)\n; \n; 0 xrefs:\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\nPUSH            {R0-R2,LR}                                             ; +0x0, 0x382000\nLDR             R3, [R1,#0x34]                                         ; +0x2, 0x382002\nLDR.W           R2, [R0,#0x1D0]                                        ; +0x4, 0x382004\nCMP             R2, R3                                                 ; +0x8, 0x382008\nBNE             loc_382028                                             ; +0xa, 0x38200a\nMOV.W           R3, #0xFFFFFFFF                                        ; +0xc, 0x38200c\nSTR.W           R3, [R0,#0x1D0]                                        ; +0x10, 0x382010\nLDRD.W          R2, R3, [R1,#0x58]                                     ; +0x14, 0x382014\nMOVS            R1, #1                                                 ; +0x18, 0x382018\nSTRD.W          R2, R3, [SP,#0xC+var_C]                                ; +0x1a, 0x38201a\nMOVS            R2, #0                                                 ; +0x1e, 0x38201e\nLDR.W           R0, [R0,#0x340]                                        ; +0x20, 0x382020\nMOV             R3, R2                                                 ; +0x24, 0x382024\nB               loc_38204A                                             ; +0x26, 0x382026\nLDR.W           R2, [R0,#0x1D4]                                        ; +0x28, 0x382028\nCMP             R2, R3                                                 ; +0x2c, 0x38202c\nBNE             loc_38204E                                             ; +0x2e, 0x38202e\nMOV.W           R3, #0xFFFFFFFF                                        ; +0x30, 0x382030\nSTR.W           R3, [R0,#0x1D4]                                        ; +0x34, 0x382034\nLDRD.W          R2, R3, [R1,#0x58]                                     ; +0x38, 0x382038\nMOVS            R1, #1; int                                            ; +0x3c, 0x38203c\nSTRD.W          R2, R3, [SP,#0xC+var_C]; double                        ; +0x3e, 0x38203e\nMOVS            R2, #0; bool                                           ; +0x42, 0x382042\nLDR.W           R0, [R0,#0x340]; this                                  ; +0x44, 0x382044\nMOV             R3, R1; bool                                           ; +0x48, 0x382048\nBL              _ZN15GJBaseGameLayer11queueButtonEibbd; GJBaseGameLayer::queueButton(int,bool,bool,double) ; +0x4a, 0x38204a\nADD             SP, SP, #0xC                                           ; +0x4e, 0x38204e\nPOP.W           {PC}                                                   ; +0x50, 0x382050", "xrefs": [], "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"}