{"type": "func", "start": 6443349728, "end": 6443350088, "name": "sub_1800DB6E0", "pseudocode": "// \n// sub_1800DB6E0 from 0x1800db6e0 to 0x1800db848 (360 bytes)\n// \n// 5 xrefs:\n// > sub_1800DB600 @ 0x1800db6b2\n// > sub_1800DB6D0 @ 0x1800db6d7\n// > <???> @ 0x18014c2b8\n// > <???> @ 0x18014c2f0\n// > <???> @ 0x1801c4c44\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:22:34 +0000\n// \n\nvoid *sub_1800DB6E0()\n{\n  __int64 v0; // rax\n  __int64 i; // rax\n  int v2; // esi\n  __int64 v3; // rdi\n  _DWORD *v4; // rbx\n  void **v5; // rcx\n\n  v0 = qword_1801B3FE0;\n  for ( xmmword_1801B5290 = 0; qword_1801B3FE0; v0 = qword_1801B3FE0 )\n    sub_1800DC680(v0);\n  for ( i = qword_1801B3FD8; qword_1801B3FD8; i = qword_1801B3FD8 )\n    sub_1800DD410(i);\n  v2 = 0;\n  if ( dword_1801B3FF0 > 0 )\n  {\n    v3 = 0;\n    do\n    {\n      v4 = *(_DWORD **)((char *)qword_1801B3FE8 + v3);\n      if ( v4[54] )\n        sub_1800E2F30(*(_QWORD *)((char *)qword_1801B3FE8 + v3), v4 + 48);\n      sub_1800DBB00(v4);\n      ++v2;\n      v3 += 8;\n    }\n    while ( v2 < dword_1801B3FF0 );\n  }\n  free(qword_1801B3FE8);\n  qword_1801B3FE8 = nullptr;\n  dword_1801B3FF0 = 0;\n  free(qword_1801B51F8);\n  qword_1801B51F8 = nullptr;\n  dword_1801B5200 = 0;\n  sub_1800E39D0();\n  sub_1800E2230();\n  v5 = (void **)qword_1801B3FD0;\n  for ( *(_DWORD *)&ModuleName = 0; qword_1801B3FD0; v5 = (void **)qword_1801B3FD0 )\n  {\n    qword_1801B3FD0 = *v5;\n    free(v5);\n  }\n  sub_1800DE0E0(&unk_1801B520C);\n  sub_1800DE0E0(&unk_1801B5204);\n  sub_1800DE0B0(&unk_1801B5218);\n  return memset(&ModuleName, 0, 0x26F0u);\n}", "assembly": "; \n; sub_1800DB6E0 from 0x1800db6e0 to 0x1800db848 (360 bytes)\n; \n; 5 xrefs:\n; > sub_1800DB600 @ 0x1800db6b2\n; > sub_1800DB6D0 @ 0x1800db6d7\n; > <???> @ 0x18014c2b8\n; > <???> @ 0x18014c2f0\n; > <???> @ 0x1801c4c44\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:22:34 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1800db6e0\nmov     rax, cs:qword_1801B3FE0                                        ; +0x4, 0x1800db6e4\nxorps   xmm0, xmm0                                                     ; +0xb, 0x1800db6eb\nmov     [rsp+28h+arg_8], rbp                                           ; +0xe, 0x1800db6ee\nmov     [rsp+28h+arg_10], rsi                                          ; +0x13, 0x1800db6f3\nmovups  cs:xmmword_1801B5290, xmm0                                     ; +0x18, 0x1800db6f8\ntest    rax, rax                                                       ; +0x1f, 0x1800db6ff\njz      short loc_1800DB718                                            ; +0x22, 0x1800db702\nmov     rcx, rax                                                       ; +0x24, 0x1800db704\ncall    sub_1800DC680                                                  ; +0x27, 0x1800db707\nmov     rax, cs:qword_1801B3FE0                                        ; +0x2c, 0x1800db70c\ntest    rax, rax                                                       ; +0x33, 0x1800db713\njnz     short loc_1800DB704                                            ; +0x36, 0x1800db716\nmov     rax, cs:qword_1801B3FD8                                        ; +0x38, 0x1800db718\ntest    rax, rax                                                       ; +0x3f, 0x1800db71f\njz      short loc_1800DB738                                            ; +0x42, 0x1800db722\nmov     rcx, rax                                                       ; +0x44, 0x1800db724\ncall    sub_1800DD410                                                  ; +0x47, 0x1800db727\nmov     rax, cs:qword_1801B3FD8                                        ; +0x4c, 0x1800db72c\ntest    rax, rax                                                       ; +0x53, 0x1800db733\njnz     short loc_1800DB724                                            ; +0x56, 0x1800db736\nxor     ebp, ebp                                                       ; +0x58, 0x1800db738\ncmp     cs:dword_1801B3FF0, ebp                                        ; +0x5a, 0x1800db73a\nmov     esi, ebp                                                       ; +0x60, 0x1800db740\njle     short loc_1800DB792                                            ; +0x62, 0x1800db742\nmov     [rsp+28h+arg_0], rbx                                           ; +0x64, 0x1800db744\nmov     [rsp+28h+var_8], rdi                                           ; +0x69, 0x1800db749\nmov     edi, ebp                                                       ; +0x6e, 0x1800db74e\nmov     rax, cs:qword_1801B3FE8                                        ; +0x70, 0x1800db750\nmov     rbx, [rdi+rax]                                                 ; +0x77, 0x1800db757\ncmp     [rbx+0D8h], ebp                                                ; +0x7b, 0x1800db75b\njz      short loc_1800DB772                                            ; +0x81, 0x1800db761\nlea     rdx, [rbx+0C0h]                                                ; +0x83, 0x1800db763\nmov     rcx, rbx                                                       ; +0x8a, 0x1800db76a\ncall    sub_1800E2F30                                                  ; +0x8d, 0x1800db76d\nmov     rcx, rbx; Block                                                ; +0x92, 0x1800db772\ncall    sub_1800DBB00                                                  ; +0x95, 0x1800db775\ninc     esi                                                            ; +0x9a, 0x1800db77a\nadd     rdi, 8                                                         ; +0x9c, 0x1800db77c\ncmp     esi, cs:dword_1801B3FF0                                        ; +0xa0, 0x1800db780\njl      short loc_1800DB750                                            ; +0xa6, 0x1800db786\nmov     rdi, [rsp+28h+var_8]                                           ; +0xa8, 0x1800db788\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xad, 0x1800db78d\nmov     rcx, cs:qword_1801B3FE8; Block                                 ; +0xb2, 0x1800db792\ncall    cs:__imp_free                                                  ; +0xb9, 0x1800db799\nmov     rcx, cs:qword_1801B51F8; Block                                 ; +0xbf, 0x1800db79f\nmov     cs:qword_1801B3FE8, rbp                                        ; +0xc6, 0x1800db7a6\nmov     cs:dword_1801B3FF0, ebp                                        ; +0xcd, 0x1800db7ad\ncall    cs:__imp_free                                                  ; +0xd3, 0x1800db7b3\nmov     cs:qword_1801B51F8, rbp                                        ; +0xd9, 0x1800db7b9\nmov     cs:dword_1801B5200, ebp                                        ; +0xe0, 0x1800db7c0\ncall    sub_1800E39D0                                                  ; +0xe6, 0x1800db7c6\ncall    sub_1800E2230                                                  ; +0xeb, 0x1800db7cb\nmov     rcx, cs:qword_1801B3FD0; Block                                 ; +0xf0, 0x1800db7d0\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xf7, 0x1800db7d7\nmov     dword ptr cs:ModuleName, ebp                                   ; +0xfc, 0x1800db7dc\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x102, 0x1800db7e2\ntest    rcx, rcx                                                       ; +0x107, 0x1800db7e7\njz      short loc_1800DB80C                                            ; +0x10a, 0x1800db7ea\nnop     dword ptr [rax+00h]                                            ; +0x10c, 0x1800db7ec\nmov     rax, [rcx]                                                     ; +0x110, 0x1800db7f0\nmov     cs:qword_1801B3FD0, rax                                        ; +0x113, 0x1800db7f3\ncall    cs:__imp_free                                                  ; +0x11a, 0x1800db7fa\nmov     rcx, cs:qword_1801B3FD0                                        ; +0x120, 0x1800db800\ntest    rcx, rcx                                                       ; +0x127, 0x1800db807\njnz     short loc_1800DB7F0                                            ; +0x12a, 0x1800db80a\nlea     rcx, unk_1801B520C                                             ; +0x12c, 0x1800db80c\ncall    sub_1800DE0E0                                                  ; +0x133, 0x1800db813\nlea     rcx, unk_1801B5204                                             ; +0x138, 0x1800db818\ncall    sub_1800DE0E0                                                  ; +0x13f, 0x1800db81f\nlea     rcx, unk_1801B5218                                             ; +0x144, 0x1800db824\ncall    sub_1800DE0B0                                                  ; +0x14b, 0x1800db82b\nxor     edx, edx; Val                                                  ; +0x150, 0x1800db830\nlea     rcx, ModuleName; void *                                        ; +0x152, 0x1800db832\nmov     r8d, 26F0h; Size                                               ; +0x159, 0x1800db839\nadd     rsp, 28h                                                       ; +0x15f, 0x1800db83f\njmp     memset                                                         ; +0x163, 0x1800db843", "xrefs": ["sub_1800DB600 @ 0x1800db6b2", "sub_1800DB6D0 @ 0x1800db6d7", "<???> @ 0x18014c2b8", "<???> @ 0x18014c2f0", "<???> @ 0x1801c4c44"], "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"}