{"type": "func", "start": 6443273696, "end": 6443273779, "name": "sub_1800C8DE0", "pseudocode": "// \n// sub_1800C8DE0 from 0x1800c8de0 to 0x1800c8e33 (83 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18016c560\n// > <???> @ 0x1801fe2a4\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 10:54:06 +0000\n// \n\n__int64 __fastcall sub_1800C8DE0(__int64 a1, int a2)\n{\n  __int64 result; // rax\n  __int64 v4; // rcx\n  int v5; // eax\n\n  result = sub_1800C7B20(a1, a2);\n  if ( !(_DWORD)result )\n  {\n    v4 = *(_QWORD *)(a1 + 744);\n    if ( v4 || (v4 = *(_QWORD *)(a1 + 736)) != 0 || *(_QWORD *)(a1 + 664) && (v4 = a1 + 112, a1 != -112) )\n    {\n      v5 = *(_DWORD *)(a1 + 84);\n      ++*(_DWORD *)(v4 + 616);\n      *(_DWORD *)(v4 + 612) = v5;\n    }\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800C8DE0 from 0x1800c8de0 to 0x1800c8e33 (83 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18016c560\n; > <???> @ 0x1801fe2a4\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 10:54:06 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800c8de0\nsub     rsp, 20h                                                       ; +0x2, 0x1800c8de2\nmov     rbx, rcx                                                       ; +0x6, 0x1800c8de6\ncall    sub_1800C7B20                                                  ; +0x9, 0x1800c8de9\ntest    eax, eax                                                       ; +0xe, 0x1800c8dee\njnz     short loc_1800C8E2D                                            ; +0x10, 0x1800c8df0\nmov     rcx, [rbx+2E8h]                                                ; +0x12, 0x1800c8df2\ntest    rcx, rcx                                                       ; +0x19, 0x1800c8df9\njnz     short loc_1800C8E1C                                            ; +0x1c, 0x1800c8dfc\nmov     rcx, [rbx+2E0h]                                                ; +0x1e, 0x1800c8dfe\ntest    rcx, rcx                                                       ; +0x25, 0x1800c8e05\njnz     short loc_1800C8E1C                                            ; +0x28, 0x1800c8e08\ncmp     [rbx+298h], rcx                                                ; +0x2a, 0x1800c8e0a\njz      short loc_1800C8E2B                                            ; +0x31, 0x1800c8e11\nlea     rcx, [rbx+70h]                                                 ; +0x33, 0x1800c8e13\ntest    rcx, rcx                                                       ; +0x37, 0x1800c8e17\njz      short loc_1800C8E2B                                            ; +0x3a, 0x1800c8e1a\nmov     eax, [rbx+54h]                                                 ; +0x3c, 0x1800c8e1c\ninc     dword ptr [rcx+268h]                                           ; +0x3f, 0x1800c8e1f\nmov     [rcx+264h], eax                                                ; +0x45, 0x1800c8e25\nxor     eax, eax                                                       ; +0x4b, 0x1800c8e2b\nadd     rsp, 20h                                                       ; +0x4d, 0x1800c8e2d\npop     rbx                                                            ; +0x51, 0x1800c8e31\nretn                                                                   ; +0x52, 0x1800c8e32", "xrefs": ["<???> @ 0x18016c560", "<???> @ 0x1801fe2a4"], "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"}