{"type": "func", "start": 5375477024, "end": 5375477165, "name": "GJUINode::toggleHighlight", "pseudocode": "// \n// GJUINode::toggleHighlight from 0x140674520 to 0x1406745ad (141 bytes)\n// \n// 3 xrefs:\n// > UILayer::processUINodeTouch @ 0x1406736b1\n// > UILayer::processUINodeTouch @ 0x140673743\n// > <???> @ 0x140932468\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 11:35:55 +0000\n// \n\n__int64 __fastcall GJUINode::toggleHighlight(__int64 a1, int a2, unsigned __int8 a3)\n{\n  char v3; // r10\n  unsigned __int8 v4; // r9\n  __int64 result; // rax\n  __int64 v6; // rcx\n  __int16 v7; // [rsp+30h] [rbp+8h] BYREF\n  char v8; // [rsp+32h] [rbp+Ah]\n  __int16 v9; // [rsp+38h] [rbp+10h] BYREF\n  char v10; // [rsp+3Ah] [rbp+12h]\n\n  v3 = *(_BYTE *)(a1 + 381);\n  v4 = 0;\n  result = a3;\n  if ( !v3 )\n    v4 = a3;\n  if ( a2 != 3 || v3 )\n    v6 = *(_QWORD *)(a1 + 320);\n  else\n    v6 = *(_QWORD *)(a1 + 328);\n  if ( v6 )\n  {\n    if ( v4 )\n    {\n      v9 = -26986;\n      v10 = -106;\n      return (**(__int64 (__fastcall ***)(__int64, __int16 *))(v6 + 320))(v6 + 320, &v9);\n    }\n    else\n    {\n      v7 = -1;\n      v8 = -1;\n      return (**(__int64 (__fastcall ***)(__int64, __int16 *))(v6 + 320))(v6 + 320, &v7);\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJUINode::toggleHighlight from 0x140674520 to 0x1406745ad (141 bytes)\n; \n; 3 xrefs:\n; > UILayer::processUINodeTouch @ 0x1406736b1\n; > UILayer::processUINodeTouch @ 0x140673743\n; > <???> @ 0x140932468\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 11:35:55 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x140674520\nmovzx   r10d, byte ptr [rcx+17Dh]                                      ; +0x4, 0x140674524\nxor     r9d, r9d                                                       ; +0xc, 0x14067452c\ntest    r10b, r10b                                                     ; +0xf, 0x14067452f\nmovzx   eax, r8b                                                       ; +0x12, 0x140674532\ncmovz   r9d, eax                                                       ; +0x16, 0x140674536\ncmp     edx, 3                                                         ; +0x1a, 0x14067453a\njnz     short loc_14067454D                                            ; +0x1d, 0x14067453d\ntest    r10b, r10b                                                     ; +0x1f, 0x14067453f\njnz     short loc_14067454D                                            ; +0x22, 0x140674542\nmov     rcx, [rcx+148h]                                                ; +0x24, 0x140674544\njmp     short loc_140674554                                            ; +0x2b, 0x14067454b\nmov     rcx, [rcx+140h]                                                ; +0x2d, 0x14067454d\ntest    rcx, rcx                                                       ; +0x34, 0x140674554\njz      short loc_1406745A8                                            ; +0x37, 0x140674557\ntest    r9b, r9b                                                       ; +0x39, 0x140674559\njz      short loc_140674580                                            ; +0x3c, 0x14067455c\nadd     rcx, 140h                                                      ; +0x3e, 0x14067455e\nmov     [rsp+28h+arg_8], 9696h                                         ; +0x45, 0x140674565\nlea     rdx, [rsp+28h+arg_8]                                           ; +0x4c, 0x14067456c\nmov     [rsp+28h+arg_A], 96h                                           ; +0x51, 0x140674571\nmov     rax, [rcx]                                                     ; +0x56, 0x140674576\ncall    qword ptr [rax]                                                ; +0x59, 0x140674579\nadd     rsp, 28h                                                       ; +0x5b, 0x14067457b\nretn                                                                   ; +0x5f, 0x14067457f\nmovzx   eax, cs:word_1407046DC                                         ; +0x60, 0x140674580\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x67, 0x140674587\nmov     [rsp+28h+arg_0], ax                                            ; +0x6c, 0x14067458c\nadd     rcx, 140h                                                      ; +0x71, 0x140674591\nmovzx   eax, cs:byte_1407046DE                                         ; +0x78, 0x140674598\nmov     [rsp+28h+arg_2], al                                            ; +0x7f, 0x14067459f\nmov     rax, [rcx]                                                     ; +0x83, 0x1406745a3\ncall    qword ptr [rax]                                                ; +0x86, 0x1406745a6\nadd     rsp, 28h                                                       ; +0x88, 0x1406745a8\nretn                                                                   ; +0x8c, 0x1406745ac", "xrefs": ["UILayer::processUINodeTouch @ 0x1406736b1", "UILayer::processUINodeTouch @ 0x140673743", "<???> @ 0x140932468"], "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"}