{"type": "func", "start": 6442546784, "end": 6442546893, "name": "sub_180017660", "pseudocode": "// \n// sub_180017660 from 0x180017660 to 0x1800176cd (109 bytes)\n// \n// 2 xrefs:\n// > int `std::collate<char>::do_transform @ 0x1800e65be\n// > <???> @ 0x1801b8764\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_180017660(__int64 a1)\n{\n  _QWORD *v2; // rcx\n\n  v2 = *(_QWORD **)a1;\n  if ( v2 )\n  {\n    if ( ((*(_QWORD *)(a1 + 16) - (_QWORD)v2) & 0xFFFFFFFFFFFFFFF0uLL) >= 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    *(_QWORD *)a1 = 0;\n    *(_QWORD *)(a1 + 8) = 0;\n    *(_QWORD *)(a1 + 16) = 0;\n  }\n}", "assembly": "; \n; sub_180017660 from 0x180017660 to 0x1800176cd (109 bytes)\n; \n; 2 xrefs:\n; > int `std::collate<char>::do_transform @ 0x1800e65be\n; > <???> @ 0x1801b8764\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; \npush    rbx                                                            ; +0x0, 0x180017660\nsub     rsp, 30h                                                       ; +0x2, 0x180017662\nmov     rbx, rcx                                                       ; +0x6, 0x180017666\nmov     rcx, [rcx]                                                     ; +0x9, 0x180017669\ntest    rcx, rcx                                                       ; +0xc, 0x18001766c\njz      short loc_1800176AF                                            ; +0xf, 0x18001766f\nmov     rdx, [rbx+10h]                                                 ; +0x11, 0x180017671\nsub     rdx, rcx                                                       ; +0x15, 0x180017675\nand     rdx, 0FFFFFFFFFFFFFFF0h                                        ; +0x18, 0x180017678\ncmp     rdx, 1000h                                                     ; +0x1c, 0x18001767c\njb      short loc_18001769D                                            ; +0x23, 0x180017683\nmov     rax, [rcx-8]                                                   ; +0x25, 0x180017685\nadd     rdx, 27h ; '''                                                 ; +0x29, 0x180017689\nsub     rcx, rax                                                       ; +0x2d, 0x18001768d\nsub     rcx, 8                                                         ; +0x30, 0x180017690\ncmp     rcx, 1Fh                                                       ; +0x34, 0x180017694\nja      short loc_1800176B5                                            ; +0x38, 0x180017698\nmov     rcx, rax; Block                                                ; +0x3a, 0x18001769a\ncall    j_j_free_0                                                     ; +0x3d, 0x18001769d\nxor     eax, eax                                                       ; +0x42, 0x1800176a2\nmov     [rbx], rax                                                     ; +0x44, 0x1800176a4\nmov     [rbx+8], rax                                                   ; +0x47, 0x1800176a7\nmov     [rbx+10h], rax                                                 ; +0x4b, 0x1800176ab\nadd     rsp, 30h                                                       ; +0x4f, 0x1800176af\npop     rbx                                                            ; +0x53, 0x1800176b3\nretn                                                                   ; +0x54, 0x1800176b4\nxor     eax, eax                                                       ; +0x55, 0x1800176b5\nxor     r9d, r9d; LineNo                                               ; +0x57, 0x1800176b7\nxor     r8d, r8d; FileName                                             ; +0x5a, 0x1800176ba\nmov     [rsp+38h+Reserved], rax; Reserved                              ; +0x5d, 0x1800176bd\nxor     edx, edx; FunctionName                                         ; +0x62, 0x1800176c2\nxor     ecx, ecx; Expression                                           ; +0x64, 0x1800176c4\ncall    cs:_invoke_watson                                              ; +0x66, 0x1800176c6\ndb 0CCh                                                                ; +0x6c, 0x1800176cc", "xrefs": ["int `std::collate<char>::do_transform @ 0x1800e65be", "<???> @ 0x1801b8764"], "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"}