{"type": "func", "start": 6442553520, "end": 6442553608, "name": "sub_1800190B0", "pseudocode": "// \n// sub_1800190B0 from 0x1800190b0 to 0x180019108 (88 bytes)\n// \n// 10 xrefs:\n// > sub_180020EA0 @ 0x180020ea7\n// > int `Concurrency::task_completion_event<uchar>::set @ 0x180020eb3\n// > int `std::_Locinfo::_Locinfo @ 0x180020f49\n// > sub_180020F4E @ 0x180020f59\n// > sub_18002111E @ 0x180021129\n// > int `std::_Locinfo::_Locinfo @ 0x180021159\n// > sub_18002115E @ 0x180021169\n// > <???> @ 0x18002f230\n// > <???> @ 0x18002f236\n// > <???> @ 0x18004abc0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall sub_1800190B0(__int64 a1)\n{\n  _QWORD *v2; // rcx\n  __int64 result; // rax\n\n  v2 = *(_QWORD **)a1;\n  if ( v2 )\n  {\n    if ( *(_QWORD *)(a1 + 16) - (_QWORD)v2 >= 0x1000u )\n    {\n      if ( (unsigned __int64)v2 - *(v2 - 1) - 8 > 0x1F )\n        invalid_parameter_noinfo_noreturn();\n      v2 = (_QWORD *)*(v2 - 1);\n    }\n    j_j_free(v2);\n    result = 0;\n    *(_QWORD *)a1 = 0;\n    *(_QWORD *)(a1 + 8) = 0;\n    *(_QWORD *)(a1 + 16) = 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800190B0 from 0x1800190b0 to 0x180019108 (88 bytes)\n; \n; 10 xrefs:\n; > sub_180020EA0 @ 0x180020ea7\n; > int `Concurrency::task_completion_event<uchar>::set @ 0x180020eb3\n; > int `std::_Locinfo::_Locinfo @ 0x180020f49\n; > sub_180020F4E @ 0x180020f59\n; > sub_18002111E @ 0x180021129\n; > int `std::_Locinfo::_Locinfo @ 0x180021159\n; > sub_18002115E @ 0x180021169\n; > <???> @ 0x18002f230\n; > <???> @ 0x18002f236\n; > <???> @ 0x18004abc0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1800190b0\nsub     rsp, 20h                                                       ; +0x2, 0x1800190b2\nmov     rbx, rcx                                                       ; +0x6, 0x1800190b6\nmov     rcx, [rcx]                                                     ; +0x9, 0x1800190b9\ntest    rcx, rcx                                                       ; +0xc, 0x1800190bc\njz      short loc_1800190FB                                            ; +0xf, 0x1800190bf\nmov     rdx, [rbx+10h]                                                 ; +0x11, 0x1800190c1\nsub     rdx, rcx                                                       ; +0x15, 0x1800190c5\ncmp     rdx, 1000h                                                     ; +0x18, 0x1800190c8\njb      short loc_1800190E9                                            ; +0x1f, 0x1800190cf\nmov     r8, [rcx-8]                                                    ; +0x21, 0x1800190d1\nadd     rdx, 27h ; '''                                                 ; +0x25, 0x1800190d5\nsub     rcx, r8                                                        ; +0x29, 0x1800190d9\nlea     rax, [rcx-8]                                                   ; +0x2c, 0x1800190dc\ncmp     rax, 1Fh                                                       ; +0x30, 0x1800190e0\nja      short loc_180019101                                            ; +0x34, 0x1800190e4\nmov     rcx, r8; Block                                                 ; +0x36, 0x1800190e6\ncall    j_j_free                                                       ; +0x39, 0x1800190e9\nxor     eax, eax                                                       ; +0x3e, 0x1800190ee\nmov     [rbx], rax                                                     ; +0x40, 0x1800190f0\nmov     [rbx+8], rax                                                   ; +0x43, 0x1800190f3\nmov     [rbx+10h], rax                                                 ; +0x47, 0x1800190f7\nadd     rsp, 20h                                                       ; +0x4b, 0x1800190fb\npop     rbx                                                            ; +0x4f, 0x1800190ff\nretn                                                                   ; +0x50, 0x180019100\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0x51, 0x180019101\ndb 0CCh                                                                ; +0x57, 0x180019107", "xrefs": ["sub_180020EA0 @ 0x180020ea7", "int `Concurrency::task_completion_event<uchar>::set @ 0x180020eb3", "int `std::_Locinfo::_Locinfo @ 0x180020f49", "sub_180020F4E @ 0x180020f59", "sub_18002111E @ 0x180021129", "int `std::_Locinfo::_Locinfo @ 0x180021159", "sub_18002115E @ 0x180021169", "<???> @ 0x18002f230", "<???> @ 0x18002f236", "<???> @ 0x18004abc0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}