{"type": "func", "start": 4299971392, "end": 4299971547, "name": "GJUINode::highlightButton", "pseudocode": "// \n// GJUINode::highlightButton from 0x1004c5b40 to 0x1004c5bdb (155 bytes)\n// \n// 1 xrefs:\n// > UILayer::processUINodeTouch @ 0x1004c58cf\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\nvoid __fastcall GJUINode::highlightButton(__int64 a1, int a2)\n{\n  __int64 v2; // rax\n  char v3; // al\n  __int64 v4; // rdi\n  __int16 v5; // [rsp-20h] [rbp-20h] BYREF\n  char v6; // [rsp-1Eh] [rbp-1Eh]\n  __int16 v7; // [rsp-1Ch] [rbp-1Ch] BYREF\n  char v8; // [rsp-1Ah] [rbp-1Ah]\n\n  if ( !*(_BYTE *)(a1 + 381) )\n  {\n    v2 = *(_QWORD *)(a1 + 8LL * (a2 == 3) + 320);\n    if ( v2 )\n    {\n      v8 = -106;\n      v7 = -26986;\n      (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v2 + 960LL))(v2, &v7);\n      v3 = *(_BYTE *)(a1 + 381);\n    }\n    else\n    {\n      v3 = 0;\n    }\n    v4 = *(_QWORD *)(a1 + 8LL * ((a2 == 2) & (unsigned __int8)(v3 ^ 1)) + 320);\n    if ( v4 )\n    {\n      v6 = -1;\n      v5 = -1;\n      (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v4 + 960LL))(v4, &v5);\n    }\n  }\n}", "assembly": "; \n; GJUINode::highlightButton from 0x1004c5b40 to 0x1004c5bdb (155 bytes)\n; \n; 1 xrefs:\n; > UILayer::processUINodeTouch @ 0x1004c58cf\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; \ncmp     byte ptr [rdi+17Dh], 0                                         ; +0x0, 0x1004c5b40\njnz     locret_1004C5BDA                                               ; +0x7, 0x1004c5b47\npush    rbp                                                            ; +0xd, 0x1004c5b4d\nmov     rbp, rsp                                                       ; +0xe, 0x1004c5b4e\npush    r14                                                            ; +0x11, 0x1004c5b51\npush    rbx                                                            ; +0x13, 0x1004c5b53\nsub     rsp, 10h                                                       ; +0x14, 0x1004c5b54\nxor     eax, eax                                                       ; +0x18, 0x1004c5b58\ncmp     esi, 3                                                         ; +0x1a, 0x1004c5b5a\nsetz    al                                                             ; +0x1d, 0x1004c5b5d\nmov     rax, [rdi+rax*8+140h]                                          ; +0x20, 0x1004c5b60\ntest    rax, rax                                                       ; +0x28, 0x1004c5b68\njz      short loc_1004C5B9F                                            ; +0x2b, 0x1004c5b6b\nmov     byte ptr [rbp-12h], 96h                                        ; +0x2d, 0x1004c5b6d\nmov     word ptr [rbp-14h], 9696h                                      ; +0x31, 0x1004c5b71\nmov     rdx, [rax]                                                     ; +0x37, 0x1004c5b77\nlea     rcx, [rbp-14h]                                                 ; +0x3a, 0x1004c5b7a\nmov     rbx, rdi                                                       ; +0x3e, 0x1004c5b7e\nmov     rdi, rax                                                       ; +0x41, 0x1004c5b81\nmov     r14d, esi                                                      ; +0x44, 0x1004c5b84\nmov     rsi, rcx                                                       ; +0x47, 0x1004c5b87\ncall    qword ptr [rdx+3C0h]                                           ; +0x4a, 0x1004c5b8a\nmov     esi, r14d                                                      ; +0x50, 0x1004c5b90\nmov     rdi, rbx                                                       ; +0x53, 0x1004c5b93\nmovzx   eax, byte ptr [rbx+17Dh]                                       ; +0x56, 0x1004c5b96\njmp     short loc_1004C5BA1                                            ; +0x5d, 0x1004c5b9d\nxor     eax, eax                                                       ; +0x5f, 0x1004c5b9f\ncmp     esi, 2                                                         ; +0x61, 0x1004c5ba1\nsetz    cl                                                             ; +0x64, 0x1004c5ba4\nxor     al, 1                                                          ; +0x67, 0x1004c5ba7\nand     al, cl                                                         ; +0x69, 0x1004c5ba9\nmovzx   eax, al                                                        ; +0x6b, 0x1004c5bab\nmov     rdi, [rdi+rax*8+140h]                                          ; +0x6e, 0x1004c5bae\ntest    rdi, rdi                                                       ; +0x76, 0x1004c5bb6\njz      short loc_1004C5BD2                                            ; +0x79, 0x1004c5bb9\nmov     byte ptr [rbp-16h], 0FFh                                       ; +0x7b, 0x1004c5bbb\nmov     word ptr [rbp-18h], 0FFFFh                                     ; +0x7f, 0x1004c5bbf\nmov     rax, [rdi]                                                     ; +0x85, 0x1004c5bc5\nlea     rsi, [rbp-18h]                                                 ; +0x88, 0x1004c5bc8\ncall    qword ptr [rax+3C0h]                                           ; +0x8c, 0x1004c5bcc\nadd     rsp, 10h                                                       ; +0x92, 0x1004c5bd2\npop     rbx                                                            ; +0x96, 0x1004c5bd6\npop     r14                                                            ; +0x97, 0x1004c5bd7\npop     rbp                                                            ; +0x99, 0x1004c5bd9\nretn                                                                   ; +0x9a, 0x1004c5bda", "xrefs": ["UILayer::processUINodeTouch @ 0x1004c58cf"], "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"}