{"type": "func", "start": 4299971552, "end": 4299971696, "name": "GJUINode::touchEnded", "pseudocode": "// \n// GJUINode::touchEnded from 0x1004c5be0 to 0x1004c5c70 (144 bytes)\n// \n// 2 xrefs:\n// > UILayer::processUINodeTouch @ 0x1004c56c5\n// > UILayer::processUINodeTouch @ 0x1004c589c\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:31:07 +0000\n// \n\n__int64 __fastcall GJUINode::touchEnded(__int64 a1)\n{\n  __int64 result; // rax\n  __int64 v3; // rdi\n  __int64 v4; // rdi\n  _QWORD v5[2]; // [rsp+0h] [rbp-10h] BYREF\n\n  v5[0] = result;\n  *(_DWORD *)(a1 + 352) = -1;\n  v3 = *(_QWORD *)(a1 + 320);\n  if ( v3 )\n  {\n    BYTE6(v5[0]) = -1;\n    WORD2(v5[0]) = -1;\n    result = (*(__int64 (__fastcall **)(__int64, char *))(*(_QWORD *)v3 + 960LL))(v3, (char *)v5 + 4);\n  }\n  if ( *(_BYTE *)(a1 + 381) == 1 )\n  {\n    if ( *(_BYTE *)(a1 + 382) == 1 )\n      result = (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 320) + 344LL))(*(_QWORD *)(a1 + 320), 0);\n  }\n  else\n  {\n    v4 = *(_QWORD *)(a1 + 328);\n    if ( v4 )\n    {\n      BYTE2(v5[0]) = -1;\n      LOWORD(v5[0]) = -1;\n      result = (*(__int64 (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v4 + 960LL))(v4, v5);\n    }\n  }\n  *(_DWORD *)(a1 + 388) = 0;\n  return result;\n}", "assembly": "; \n; GJUINode::touchEnded from 0x1004c5be0 to 0x1004c5c70 (144 bytes)\n; \n; 2 xrefs:\n; > UILayer::processUINodeTouch @ 0x1004c56c5\n; > UILayer::processUINodeTouch @ 0x1004c589c\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:31:07 +0000\n; \npush    rbp                                                            ; +0x0, 0x1004c5be0\nmov     rbp, rsp                                                       ; +0x1, 0x1004c5be1\npush    rbx                                                            ; +0x4, 0x1004c5be4\npush    rax                                                            ; +0x5, 0x1004c5be5\nmov     rbx, rdi                                                       ; +0x6, 0x1004c5be6\nmov     dword ptr [rdi+160h], 0FFFFFFFFh                               ; +0x9, 0x1004c5be9\nmov     rdi, [rdi+140h]                                                ; +0x13, 0x1004c5bf3\ntest    rdi, rdi                                                       ; +0x1a, 0x1004c5bfa\njz      short loc_1004C5C16                                            ; +0x1d, 0x1004c5bfd\nmov     [rbp+var_A], 0FFh                                              ; +0x1f, 0x1004c5bff\nmov     [rbp+var_C], 0FFFFh                                            ; +0x23, 0x1004c5c03\nmov     rax, [rdi]                                                     ; +0x29, 0x1004c5c09\nlea     rsi, [rbp+var_C]                                               ; +0x2c, 0x1004c5c0c\ncall    qword ptr [rax+3C0h]                                           ; +0x30, 0x1004c5c10\ncmp     byte ptr [rbx+17Dh], 1                                         ; +0x36, 0x1004c5c16\njnz     short loc_1004C5C3C                                            ; +0x3d, 0x1004c5c1d\ncmp     byte ptr [rbx+17Eh], 1                                         ; +0x3f, 0x1004c5c1f\njnz     short loc_1004C5C5F                                            ; +0x46, 0x1004c5c26\nmov     rdi, [rbx+140h]                                                ; +0x48, 0x1004c5c28\nmov     rax, [rdi]                                                     ; +0x4f, 0x1004c5c2f\nxor     esi, esi                                                       ; +0x52, 0x1004c5c32\ncall    qword ptr [rax+158h]                                           ; +0x54, 0x1004c5c34\njmp     short loc_1004C5C5F                                            ; +0x5a, 0x1004c5c3a\nmov     rdi, [rbx+148h]                                                ; +0x5c, 0x1004c5c3c\ntest    rdi, rdi                                                       ; +0x63, 0x1004c5c43\njz      short loc_1004C5C5F                                            ; +0x66, 0x1004c5c46\nmov     [rbp+var_E], 0FFh                                              ; +0x68, 0x1004c5c48\nmov     [rbp+var_10], 0FFFFh                                           ; +0x6c, 0x1004c5c4c\nmov     rax, [rdi]                                                     ; +0x72, 0x1004c5c52\nlea     rsi, [rbp+var_10]                                              ; +0x75, 0x1004c5c55\ncall    qword ptr [rax+3C0h]                                           ; +0x79, 0x1004c5c59\nmov     dword ptr [rbx+184h], 0                                        ; +0x7f, 0x1004c5c5f\nadd     rsp, 8                                                         ; +0x89, 0x1004c5c69\npop     rbx                                                            ; +0x8d, 0x1004c5c6d\npop     rbp                                                            ; +0x8e, 0x1004c5c6e\nretn                                                                   ; +0x8f, 0x1004c5c6f", "xrefs": ["UILayer::processUINodeTouch @ 0x1004c56c5", "UILayer::processUINodeTouch @ 0x1004c589c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}