{"type": "func", "start": 4299961840, "end": 4299961956, "name": "GJUINode::resetState", "pseudocode": "// \n// GJUINode::resetState from 0x1004c35f0 to 0x1004c3664 (116 bytes)\n// \n// 0 xrefs:\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:06 +0000\n// \n\n__int64 __fastcall GJUINode::resetState(__int64 a1)\n{\n  __int64 v1; // rax\n  __int64 v3; // rdi\n  __int64 result; // rax\n  __int64 v5; // rdi\n  _QWORD v6[2]; // [rsp+0h] [rbp-10h] BYREF\n\n  v6[0] = v1;\n  *(_DWORD *)(a1 + 352) = -1;\n  *(_WORD *)(a1 + 383) = 0;\n  v3 = *(_QWORD *)(a1 + 320);\n  if ( v3 )\n  {\n    BYTE6(v6[0]) = -1;\n    WORD2(v6[0]) = -1;\n    (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v3 + 960LL))(v3, (char *)v6 + 4);\n  }\n  result = *(unsigned __int8 *)(a1 + 381) ^ 1u;\n  v5 = *(_QWORD *)(a1 + 8 * result + 320);\n  if ( v5 )\n  {\n    BYTE2(v6[0]) = -1;\n    LOWORD(v6[0]) = -1;\n    return (*(__int64 (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v5 + 960LL))(v5, v6);\n  }\n  return result;\n}", "assembly": "; \n; GJUINode::resetState from 0x1004c35f0 to 0x1004c3664 (116 bytes)\n; \n; 0 xrefs:\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:06 +0000\n; \npush    rbp                                                            ; +0x0, 0x1004c35f0\nmov     rbp, rsp                                                       ; +0x1, 0x1004c35f1\npush    rbx                                                            ; +0x4, 0x1004c35f4\npush    rax                                                            ; +0x5, 0x1004c35f5\nmov     rbx, rdi                                                       ; +0x6, 0x1004c35f6\nmov     dword ptr [rdi+160h], 0FFFFFFFFh                               ; +0x9, 0x1004c35f9\nmov     word ptr [rdi+17Fh], 0                                         ; +0x13, 0x1004c3603\nmov     rdi, [rdi+140h]                                                ; +0x1c, 0x1004c360c\ntest    rdi, rdi                                                       ; +0x23, 0x1004c3613\njz      short loc_1004C362F                                            ; +0x26, 0x1004c3616\nmov     [rbp+var_A], 0FFh                                              ; +0x28, 0x1004c3618\nmov     [rbp+var_C], 0FFFFh                                            ; +0x2c, 0x1004c361c\nmov     rax, [rdi]                                                     ; +0x32, 0x1004c3622\nlea     rsi, [rbp+var_C]                                               ; +0x35, 0x1004c3625\ncall    qword ptr [rax+3C0h]                                           ; +0x39, 0x1004c3629\nmovzx   eax, byte ptr [rbx+17Dh]                                       ; +0x3f, 0x1004c362f\nxor     eax, 1                                                         ; +0x46, 0x1004c3636\nmov     rdi, [rbx+rax*8+140h]                                          ; +0x49, 0x1004c3639\ntest    rdi, rdi                                                       ; +0x51, 0x1004c3641\njz      short loc_1004C365D                                            ; +0x54, 0x1004c3644\nmov     [rbp+var_E], 0FFh                                              ; +0x56, 0x1004c3646\nmov     [rbp+var_10], 0FFFFh                                           ; +0x5a, 0x1004c364a\nmov     rax, [rdi]                                                     ; +0x60, 0x1004c3650\nlea     rsi, [rbp+var_10]                                              ; +0x63, 0x1004c3653\ncall    qword ptr [rax+3C0h]                                           ; +0x67, 0x1004c3657\nadd     rsp, 8                                                         ; +0x6d, 0x1004c365d\npop     rbx                                                            ; +0x71, 0x1004c3661\npop     rbp                                                            ; +0x72, 0x1004c3662\nretn                                                                   ; +0x73, 0x1004c3663", "xrefs": [], "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"}