{"type": "func", "start": 4299990032, "end": 4299990128, "name": "GJUINode::toggleHighlight", "pseudocode": "// \n// GJUINode::toggleHighlight from 0x1004ca410 to 0x1004ca470 (96 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 GJUINode::toggleHighlight(GJUINode *a1, int a2, bool a3)\n{\n  unsigned __int8 m_modeB; // al\n  __int64 v4; // rdi\n  __int16 v5; // [rsp-Ch] [rbp-Ch] BYREF\n  char v6; // [rsp-Ah] [rbp-Ah]\n\n  m_modeB = a1->m_modeB;\n  v4 = *((_QWORD *)&a1->m_firstSprite + ((m_modeB ^ 1u) & (a2 == 3)));\n  if ( v4 )\n  {\n    if ( (a3 & (unsigned __int8)~m_modeB) == 1 )\n    {\n      v6 = -106;\n      v5 = -26986;\n    }\n    else\n    {\n      v6 = -1;\n      v5 = -1;\n    }\n    (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v4 + 944LL))(v4, &v5);\n  }\n}", "assembly": "; \n; GJUINode::toggleHighlight from 0x1004ca410 to 0x1004ca470 (96 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\nmovzx   eax, byte ptr [rdi+17Dh]                                       ; +0x0, 0x1004ca410\nmov     ecx, eax                                                       ; +0x7, 0x1004ca417\nxor     cl, 1                                                          ; +0x9, 0x1004ca419\ncmp     esi, 3                                                         ; +0xc, 0x1004ca41c\nsetz    sil                                                            ; +0xf, 0x1004ca41f\nand     sil, cl                                                        ; +0x13, 0x1004ca423\nmovzx   ecx, sil                                                       ; +0x16, 0x1004ca426\nmov     rdi, [rdi+rcx*8+140h]                                          ; +0x1a, 0x1004ca42a\ntest    rdi, rdi                                                       ; +0x22, 0x1004ca432\njz      short locret_1004CA46F                                         ; +0x25, 0x1004ca435\npush    rbp                                                            ; +0x27, 0x1004ca437\nmov     rbp, rsp                                                       ; +0x28, 0x1004ca438\nsub     rsp, 10h                                                       ; +0x2b, 0x1004ca43b\nnot     al                                                             ; +0x2f, 0x1004ca43f\nand     al, dl                                                         ; +0x31, 0x1004ca441\ncmp     al, 1                                                          ; +0x33, 0x1004ca443\njnz     short loc_1004CA453                                            ; +0x35, 0x1004ca445\nmov     byte ptr [rbp-2], 96h                                          ; +0x37, 0x1004ca447\nmov     word ptr [rbp-4], 9696h                                        ; +0x3b, 0x1004ca44b\njmp     short loc_1004CA45D                                            ; +0x41, 0x1004ca451\nmov     byte ptr [rbp-2], 0FFh                                         ; +0x43, 0x1004ca453\nmov     word ptr [rbp-4], 0FFFFh                                       ; +0x47, 0x1004ca457\nmov     rax, [rdi]                                                     ; +0x4d, 0x1004ca45d\nlea     rsi, [rbp-4]                                                   ; +0x50, 0x1004ca460\ncall    qword ptr [rax+3B0h]                                           ; +0x54, 0x1004ca464\nadd     rsp, 10h                                                       ; +0x5a, 0x1004ca46a\npop     rbp                                                            ; +0x5e, 0x1004ca46e\nretn                                                                   ; +0x5f, 0x1004ca46f", "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"}