{"type": "func", "start": 6442546912, "end": 6442547009, "name": "sub_1800176E0", "pseudocode": "// \n// sub_1800176E0 from 0x1800176e0 to 0x180017741 (97 bytes)\n// \n// 3 xrefs:\n// > sub_1800E6350 @ 0x1800e6357\n// > <???> @ 0x18013cce3\n// > <???> @ 0x1801b8770\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:21:25 +0000\n// \n\nvoid __fastcall sub_1800176E0(__int64 a1)\n{\n  _QWORD *v2; // rcx\n\n  v2 = *(_QWORD **)(a1 + 8);\n  if ( v2 )\n  {\n    if ( (unsigned __int64)(8LL * *(_QWORD *)(a1 + 16)) >= 0x1000 )\n    {\n      if ( (unsigned __int64)v2 - *(v2 - 1) - 8 > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      v2 = (_QWORD *)*(v2 - 1);\n    }\n    j_j_free_0(v2);\n  }\n}", "assembly": "; \n; sub_1800176E0 from 0x1800176e0 to 0x180017741 (97 bytes)\n; \n; 3 xrefs:\n; > sub_1800E6350 @ 0x1800e6357\n; > <???> @ 0x18013cce3\n; > <???> @ 0x1801b8770\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:21:25 +0000\n; \nsub     rsp, 38h                                                       ; +0x0, 0x1800176e0\nmov     rdx, rcx                                                       ; +0x4, 0x1800176e4\nmov     rcx, [rcx+8]                                                   ; +0x7, 0x1800176e7\ntest    rcx, rcx                                                       ; +0xb, 0x1800176eb\njz      short loc_180017722                                            ; +0xe, 0x1800176ee\nmov     rdx, [rdx+10h]                                                 ; +0x10, 0x1800176f0\nshl     rdx, 3                                                         ; +0x14, 0x1800176f4\ncmp     rdx, 1000h                                                     ; +0x18, 0x1800176f8\njb      short loc_180017719                                            ; +0x1f, 0x1800176ff\nmov     rax, [rcx-8]                                                   ; +0x21, 0x180017701\nadd     rdx, 27h ; '''                                                 ; +0x25, 0x180017705\nsub     rcx, rax                                                       ; +0x29, 0x180017709\nsub     rcx, 8                                                         ; +0x2c, 0x18001770c\ncmp     rcx, 1Fh                                                       ; +0x30, 0x180017710\nja      short loc_180017727                                            ; +0x34, 0x180017714\nmov     rcx, rax; Block                                                ; +0x36, 0x180017716\nadd     rsp, 38h                                                       ; +0x39, 0x180017719\njmp     j_j_free_0                                                     ; +0x3d, 0x18001771d\nadd     rsp, 38h                                                       ; +0x42, 0x180017722\nretn                                                                   ; +0x46, 0x180017726\nxor     r9d, r9d; LineNo                                               ; +0x47, 0x180017727\nmov     [rsp+38h+Reserved], 0; Reserved                                ; +0x4a, 0x18001772a\nxor     r8d, r8d; FileName                                             ; +0x53, 0x180017733\nxor     edx, edx; FunctionName                                         ; +0x56, 0x180017736\nxor     ecx, ecx; Expression                                           ; +0x58, 0x180017738\ncall    cs:_invoke_watson                                              ; +0x5a, 0x18001773a\ndb 0CCh                                                                ; +0x60, 0x180017740", "xrefs": ["sub_1800E6350 @ 0x1800e6357", "<???> @ 0x18013cce3", "<???> @ 0x1801b8770"], "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"}