{"type": "func", "start": 4295290448, "end": 4295290529, "name": "EditorUI::playerTouchEnded", "pseudocode": "// \n// EditorUI::playerTouchEnded from 0x10004ee50 to 0x10004eea1 (81 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 __fastcall EditorUI::playerTouchEnded(EditorUI *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)\n{\n  int m_nId; // eax\n  int m_playerTouchID1; // edx\n\n  m_nId = a2->m_nId;\n  m_playerTouchID1 = a1->m_playerTouchID1;\n  if ( m_playerTouchID1 == m_nId )\n  {\n    a1->m_playerTouchID1 = -1;\n  }\n  else\n  {\n    if ( a1->m_playerTouchID2 != m_nId )\n      return;\n    a1->m_playerTouchID2 = -1;\n  }\n  GJBaseGameLayer::queueButton(a1->m_editorLayer, 1, 0, m_playerTouchID1 != m_nId, a2->m_timestamp);\n}", "assembly": "; \n; EditorUI::playerTouchEnded from 0x10004ee50 to 0x10004eea1 (81 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    rbp                                                            ; +0x0, 0x10004ee50\nmov     rbp, rsp                                                       ; +0x1, 0x10004ee51\nmov     eax, [rsi+38h]                                                 ; +0x4, 0x10004ee54\nmov     edx, [rdi+264h]                                                ; +0x7, 0x10004ee57\ncmp     edx, eax                                                       ; +0xd, 0x10004ee5d\njz      short loc_10004EE75                                            ; +0xf, 0x10004ee5f\ncmp     [rdi+268h], eax                                                ; +0x11, 0x10004ee61\njnz     short loc_10004EE9F                                            ; +0x17, 0x10004ee67\nmov     dword ptr [rdi+268h], 0FFFFFFFFh                               ; +0x19, 0x10004ee69\njmp     short loc_10004EE7F                                            ; +0x23, 0x10004ee73\nmov     dword ptr [rdi+264h], 0FFFFFFFFh                               ; +0x25, 0x10004ee75\nxor     ecx, ecx                                                       ; +0x2f, 0x10004ee7f\ncmp     edx, eax                                                       ; +0x31, 0x10004ee81\nsetnz   cl                                                             ; +0x33, 0x10004ee83\nmov     rdi, [rdi+4E8h]                                                ; +0x36, 0x10004ee86\nmovsd   xmm0, qword ptr [rsi+58h]                                      ; +0x3d, 0x10004ee8d\nmov     esi, 1                                                         ; +0x42, 0x10004ee92\nxor     edx, edx                                                       ; +0x47, 0x10004ee97\npop     rbp                                                            ; +0x49, 0x10004ee99\njmp     GJBaseGameLayer__queueButton                                   ; +0x4a, 0x10004ee9a\npop     rbp                                                            ; +0x4f, 0x10004ee9f\nretn                                                                   ; +0x50, 0x10004eea0", "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"}