{"type": "func", "start": 6443073728, "end": 6443073843, "name": "sub_1800980C0", "pseudocode": "// \n// sub_1800980C0 from 0x1800980c0 to 0x180098133 (115 bytes)\n// \n// 3 xrefs:\n// > sub_1800E8530 @ 0x1800e8537\n// > <???> @ 0x1801477af\n// > <???> @ 0x1801c09d8\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:22:10 +0000\n// \n\n__int64 __fastcall sub_1800980C0(__int64 a1)\n{\n  unsigned __int64 v1; // rdx\n  _QWORD *v3; // rcx\n\n  v1 = *(_QWORD *)(a1 + 24);\n  if ( v1 > 7 )\n  {\n    v3 = *(_QWORD **)a1;\n    if ( 2 * v1 + 2 >= 0x1000 )\n    {\n      if ( (unsigned __int64)v3 - *(v3 - 1) - 8 > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      v3 = (_QWORD *)*(v3 - 1);\n    }\n    j_j_free_0(v3);\n  }\n  *(_QWORD *)(a1 + 24) = 7;\n  *(_QWORD *)(a1 + 16) = 0;\n  *(_WORD *)a1 = 0;\n  return 0;\n}", "assembly": "; \n; sub_1800980C0 from 0x1800980c0 to 0x180098133 (115 bytes)\n; \n; 3 xrefs:\n; > sub_1800E8530 @ 0x1800e8537\n; > <???> @ 0x1801477af\n; > <???> @ 0x1801c09d8\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:22:10 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800980c0\nsub     rsp, 30h                                                       ; +0x2, 0x1800980c2\nmov     rdx, [rcx+18h]                                                 ; +0x6, 0x1800980c6\nmov     rbx, rcx                                                       ; +0xa, 0x1800980ca\ncmp     rdx, 7                                                         ; +0xd, 0x1800980cd\njbe     short loc_180098104                                            ; +0x11, 0x1800980d1\nmov     rcx, [rcx]                                                     ; +0x13, 0x1800980d3\nlea     rdx, ds:2[rdx*2]                                               ; +0x16, 0x1800980d6\ncmp     rdx, 1000h                                                     ; +0x1e, 0x1800980de\njb      short loc_1800980FF                                            ; +0x25, 0x1800980e5\nmov     rax, [rcx-8]                                                   ; +0x27, 0x1800980e7\nadd     rdx, 27h ; '''                                                 ; +0x2b, 0x1800980eb\nsub     rcx, rax                                                       ; +0x2f, 0x1800980ef\nsub     rcx, 8                                                         ; +0x32, 0x1800980f2\ncmp     rcx, 1Fh                                                       ; +0x36, 0x1800980f6\nja      short loc_18009811B                                            ; +0x3a, 0x1800980fa\nmov     rcx, rax; Block                                                ; +0x3c, 0x1800980fc\ncall    j_j_free_0                                                     ; +0x3f, 0x1800980ff\nxor     eax, eax                                                       ; +0x44, 0x180098104\nmov     qword ptr [rbx+18h], 7                                         ; +0x46, 0x180098106\nmov     [rbx+10h], rax                                                 ; +0x4e, 0x18009810e\nmov     [rbx], ax                                                      ; +0x52, 0x180098112\nadd     rsp, 30h                                                       ; +0x55, 0x180098115\npop     rbx                                                            ; +0x59, 0x180098119\nretn                                                                   ; +0x5a, 0x18009811a\nxor     eax, eax                                                       ; +0x5b, 0x18009811b\nxor     r9d, r9d; LineNo                                               ; +0x5d, 0x18009811d\nxor     r8d, r8d; FileName                                             ; +0x60, 0x180098120\nmov     [rsp+38h+Reserved], rax; Reserved                              ; +0x63, 0x180098123\nxor     edx, edx; FunctionName                                         ; +0x68, 0x180098128\nxor     ecx, ecx; Expression                                           ; +0x6a, 0x18009812a\ncall    cs:_invoke_watson                                              ; +0x6c, 0x18009812c\ndb 0CCh                                                                ; +0x72, 0x180098132", "xrefs": ["sub_1800E8530 @ 0x1800e8537", "<???> @ 0x1801477af", "<???> @ 0x1801c09d8"], "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"}