{"type": "func", "start": 6442572800, "end": 6442572901, "name": "sub_18001DC00", "pseudocode": "// \n// sub_18001DC00 from 0x18001dc00 to 0x18001dc65 (101 bytes)\n// \n// 5 xrefs:\n// > sub_18002102C @ 0x180021033\n// > <???> @ 0x180031fa9\n// > <???> @ 0x180031fc4\n// > <???> @ 0x180031fd4\n// > <???> @ 0x18004cfd4\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 12:15:44 +0000\n// \n\nvoid __fastcall sub_18001DC00(__int64 *a1)\n{\n  __int64 v1; // rdi\n  _QWORD *v2; // rbx\n  __int64 v3; // rsi\n  void *v4; // rcx\n\n  v1 = *a1;\n  if ( *a1 )\n  {\n    v2 = (_QWORD *)a1[2];\n    v3 = a1[1];\n    while ( !*((_BYTE *)v2 + 25) )\n    {\n      sub_180005020(v1, v3, v2[2]);\n      v4 = v2;\n      v2 = (_QWORD *)*v2;\n      j_j_free(v4);\n    }\n  }\n}", "assembly": "; \n; sub_18001DC00 from 0x18001dc00 to 0x18001dc65 (101 bytes)\n; \n; 5 xrefs:\n; > sub_18002102C @ 0x180021033\n; > <???> @ 0x180031fa9\n; > <???> @ 0x180031fc4\n; > <???> @ 0x180031fd4\n; > <???> @ 0x18004cfd4\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 12:15:44 +0000\n; \npush    rdi                                                            ; +0x0, 0x18001dc00\nsub     rsp, 20h                                                       ; +0x2, 0x18001dc02\nmov     rdi, [rcx]                                                     ; +0x6, 0x18001dc06\ntest    rdi, rdi                                                       ; +0x9, 0x18001dc09\njz      short loc_18001DC5F                                            ; +0xc, 0x18001dc0c\nmov     [rsp+28h+arg_0], rbx                                           ; +0xe, 0x18001dc0e\nmov     rbx, [rcx+10h]                                                 ; +0x13, 0x18001dc13\nmov     [rsp+28h+arg_8], rsi                                           ; +0x17, 0x18001dc17\nmov     rsi, [rcx+8]                                                   ; +0x1c, 0x18001dc1c\ncmp     byte ptr [rbx+19h], 0                                          ; +0x20, 0x18001dc20\njnz     short loc_18001DC55                                            ; +0x24, 0x18001dc24\nnop     word ptr [rax+rax+00000000h]                                   ; +0x26, 0x18001dc26\nmov     r8, [rbx+10h]                                                  ; +0x30, 0x18001dc30\nmov     rdx, rsi                                                       ; +0x34, 0x18001dc34\nmov     rcx, rdi                                                       ; +0x37, 0x18001dc37\ncall    sub_180005020                                                  ; +0x3a, 0x18001dc3a\nmov     rcx, rbx; Block                                                ; +0x3f, 0x18001dc3f\nmov     edx, 28h ; '('                                                 ; +0x42, 0x18001dc42\nmov     rbx, [rbx]                                                     ; +0x47, 0x18001dc47\ncall    j_j_free                                                       ; +0x4a, 0x18001dc4a\ncmp     byte ptr [rbx+19h], 0                                          ; +0x4f, 0x18001dc4f\njz      short loc_18001DC30                                            ; +0x53, 0x18001dc53\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x55, 0x18001dc55\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x5a, 0x18001dc5a\nadd     rsp, 20h                                                       ; +0x5f, 0x18001dc5f\npop     rdi                                                            ; +0x63, 0x18001dc63\nretn                                                                   ; +0x64, 0x18001dc64", "xrefs": ["sub_18002102C @ 0x180021033", "<???> @ 0x180031fa9", "<???> @ 0x180031fc4", "<???> @ 0x180031fd4", "<???> @ 0x18004cfd4"], "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"}