{"type": "func", "start": 6442906272, "end": 6442906425, "name": "sub_18006F2A0", "pseudocode": "// \n// sub_18006F2A0 from 0x18006f2a0 to 0x18006f339 (153 bytes)\n// \n// 9 xrefs:\n// > sub_18006E750 @ 0x18006e886\n// > sub_18006E8C0 @ 0x18006ea2f\n// > sub_1800E7D30 @ 0x1800e7d37\n// > unknown_libname_16 @ 0x1800e8077\n// > <???> @ 0x180143e17\n// > <???> @ 0x180143e58\n// > <???> @ 0x180143e68\n// > <???> @ 0x180144412\n// > <???> @ 0x1801be3c8\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:56 +0000\n// \n\nvoid __fastcall sub_18006F2A0(_QWORD *a1)\n{\n  __int64 v2; // rbx\n  __int64 i; // rdi\n  _QWORD *v4; // rcx\n\n  if ( a1[1] )\n  {\n    v2 = a1[3];\n    for ( i = a1[4]; v2 != i; v2 += 32 )\n      sub_180005C70(v2);\n    v4 = (_QWORD *)a1[1];\n    if ( (unsigned __int64)(32LL * a1[2]) >= 0x1000 )\n    {\n      if ( (unsigned __int64)v4 - *(v4 - 1) - 8 > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      v4 = (_QWORD *)*(v4 - 1);\n    }\n    j_j_free_0(v4);\n  }\n}", "assembly": "; \n; sub_18006F2A0 from 0x18006f2a0 to 0x18006f339 (153 bytes)\n; \n; 9 xrefs:\n; > sub_18006E750 @ 0x18006e886\n; > sub_18006E8C0 @ 0x18006ea2f\n; > sub_1800E7D30 @ 0x1800e7d37\n; > unknown_libname_16 @ 0x1800e8077\n; > <???> @ 0x180143e17\n; > <???> @ 0x180143e58\n; > <???> @ 0x180143e68\n; > <???> @ 0x180144412\n; > <???> @ 0x1801be3c8\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:56 +0000\n; \npush    rsi                                                            ; +0x0, 0x18006f2a0\nsub     rsp, 30h                                                       ; +0x2, 0x18006f2a2\ncmp     qword ptr [rcx+8], 0                                           ; +0x6, 0x18006f2a6\nmov     rsi, rcx                                                       ; +0xb, 0x18006f2ab\njz      short loc_18006F319                                            ; +0xe, 0x18006f2ae\nmov     [rsp+38h+arg_0], rbx                                           ; +0x10, 0x18006f2b0\nmov     rbx, [rcx+18h]                                                 ; +0x15, 0x18006f2b5\nmov     [rsp+38h+arg_8], rdi                                           ; +0x19, 0x18006f2b9\nmov     rdi, [rcx+20h]                                                 ; +0x1e, 0x18006f2be\ncmp     rbx, rdi                                                       ; +0x22, 0x18006f2c2\njz      short loc_18006F2D8                                            ; +0x25, 0x18006f2c5\nmov     rcx, rbx                                                       ; +0x27, 0x18006f2c7\ncall    sub_180005C70                                                  ; +0x2a, 0x18006f2ca\nadd     rbx, 20h ; ' '                                                 ; +0x2f, 0x18006f2cf\ncmp     rbx, rdi                                                       ; +0x33, 0x18006f2d3\njnz     short loc_18006F2C7                                            ; +0x36, 0x18006f2d6\nmov     rdx, [rsi+10h]                                                 ; +0x38, 0x18006f2d8\nmov     rcx, [rsi+8]                                                   ; +0x3c, 0x18006f2dc\nmov     rdi, [rsp+38h+arg_8]                                           ; +0x40, 0x18006f2e0\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x45, 0x18006f2e5\nshl     rdx, 5                                                         ; +0x4a, 0x18006f2ea\ncmp     rdx, 1000h                                                     ; +0x4e, 0x18006f2ee\njb      short loc_18006F30F                                            ; +0x55, 0x18006f2f5\nmov     rax, [rcx-8]                                                   ; +0x57, 0x18006f2f7\nadd     rdx, 27h ; '''                                                 ; +0x5b, 0x18006f2fb\nsub     rcx, rax                                                       ; +0x5f, 0x18006f2ff\nsub     rcx, 8                                                         ; +0x62, 0x18006f302\ncmp     rcx, 1Fh                                                       ; +0x66, 0x18006f306\nja      short loc_18006F31F                                            ; +0x6a, 0x18006f30a\nmov     rcx, rax; Block                                                ; +0x6c, 0x18006f30c\nadd     rsp, 30h                                                       ; +0x6f, 0x18006f30f\npop     rsi                                                            ; +0x73, 0x18006f313\njmp     j_j_free_0                                                     ; +0x74, 0x18006f314\nadd     rsp, 30h                                                       ; +0x79, 0x18006f319\npop     rsi                                                            ; +0x7d, 0x18006f31d\nretn                                                                   ; +0x7e, 0x18006f31e\nxor     r9d, r9d; LineNo                                               ; +0x7f, 0x18006f31f\nmov     [rsp+38h+Reserved], 0; Reserved                                ; +0x82, 0x18006f322\nxor     r8d, r8d; FileName                                             ; +0x8b, 0x18006f32b\nxor     edx, edx; FunctionName                                         ; +0x8e, 0x18006f32e\nxor     ecx, ecx; Expression                                           ; +0x90, 0x18006f330\ncall    cs:_invoke_watson                                              ; +0x92, 0x18006f332\ndb 0CCh                                                                ; +0x98, 0x18006f338", "xrefs": ["sub_18006E750 @ 0x18006e886", "sub_18006E8C0 @ 0x18006ea2f", "sub_1800E7D30 @ 0x1800e7d37", "unknown_libname_16 @ 0x1800e8077", "<???> @ 0x180143e17", "<???> @ 0x180143e58", "<???> @ 0x180143e68", "<???> @ 0x180144412", "<???> @ 0x1801be3c8"], "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"}