{"type": "func", "start": 6443317680, "end": 6443318040, "name": "sub_1800D39B0", "pseudocode": "// \n// sub_1800D39B0 from 0x1800d39b0 to 0x1800d3b18 (360 bytes)\n// \n// 5 xrefs:\n// > sub_1800D38D0 @ 0x1800d3982\n// > sub_1800D39A0 @ 0x1800d39a7\n// > <???> @ 0x180142ac8\n// > <???> @ 0x180142b00\n// > <???> @ 0x1801ba59c\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\nvoid *sub_1800D39B0()\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_1801A9F60;\n  for ( xmmword_1801AB210 = 0; qword_1801A9F60; v0 = qword_1801A9F60 )\n    sub_1800D4950(v0);\n  for ( i = qword_1801A9F58; qword_1801A9F58; i = qword_1801A9F58 )\n    sub_1800D56E0(i);\n  v2 = 0;\n  if ( dword_1801A9F70 > 0 )\n  {\n    v3 = 0;\n    do\n    {\n      v4 = *(_DWORD **)((char *)Src + v3);\n      if ( v4[54] )\n        sub_1800DAFF0(*(_QWORD *)((char *)Src + v3), v4 + 48);\n      sub_1800D3DD0(v4);\n      ++v2;\n      v3 += 8;\n    }\n    while ( v2 < dword_1801A9F70 );\n  }\n  free(Src);\n  Src = nullptr;\n  dword_1801A9F70 = 0;\n  free(qword_1801AB178);\n  qword_1801AB178 = nullptr;\n  dword_1801AB180 = 0;\n  sub_1800DBAC0();\n  sub_1800DA2E0();\n  v5 = (void **)qword_1801A9F50;\n  for ( *(_DWORD *)&ModuleName = 0; qword_1801A9F50; v5 = (void **)qword_1801A9F50 )\n  {\n    qword_1801A9F50 = *v5;\n    free(v5);\n  }\n  sub_1800D9980(&unk_1801AB18C);\n  sub_1800D9980(&unk_1801AB184);\n  sub_1800D9950(&unk_1801AB198);\n  return memset(&ModuleName, 0, 0x26F0u);\n}", "assembly": "; \n; sub_1800D39B0 from 0x1800d39b0 to 0x1800d3b18 (360 bytes)\n; \n; 5 xrefs:\n; > sub_1800D38D0 @ 0x1800d3982\n; > sub_1800D39A0 @ 0x1800d39a7\n; > <???> @ 0x180142ac8\n; > <???> @ 0x180142b00\n; > <???> @ 0x1801ba59c\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\nsub     rsp, 28h                                                       ; +0x0, 0x1800d39b0\nmov     rax, cs:qword_1801A9F60                                        ; +0x4, 0x1800d39b4\nxorps   xmm0, xmm0                                                     ; +0xb, 0x1800d39bb\nmov     [rsp+28h+arg_8], rbp                                           ; +0xe, 0x1800d39be\nmov     [rsp+28h+arg_10], rsi                                          ; +0x13, 0x1800d39c3\nmovups  cs:xmmword_1801AB210, xmm0                                     ; +0x18, 0x1800d39c8\ntest    rax, rax                                                       ; +0x1f, 0x1800d39cf\njz      short loc_1800D39E8                                            ; +0x22, 0x1800d39d2\nmov     rcx, rax                                                       ; +0x24, 0x1800d39d4\ncall    sub_1800D4950                                                  ; +0x27, 0x1800d39d7\nmov     rax, cs:qword_1801A9F60                                        ; +0x2c, 0x1800d39dc\ntest    rax, rax                                                       ; +0x33, 0x1800d39e3\njnz     short loc_1800D39D4                                            ; +0x36, 0x1800d39e6\nmov     rax, cs:qword_1801A9F58                                        ; +0x38, 0x1800d39e8\ntest    rax, rax                                                       ; +0x3f, 0x1800d39ef\njz      short loc_1800D3A08                                            ; +0x42, 0x1800d39f2\nmov     rcx, rax                                                       ; +0x44, 0x1800d39f4\ncall    sub_1800D56E0                                                  ; +0x47, 0x1800d39f7\nmov     rax, cs:qword_1801A9F58                                        ; +0x4c, 0x1800d39fc\ntest    rax, rax                                                       ; +0x53, 0x1800d3a03\njnz     short loc_1800D39F4                                            ; +0x56, 0x1800d3a06\nxor     ebp, ebp                                                       ; +0x58, 0x1800d3a08\ncmp     cs:dword_1801A9F70, ebp                                        ; +0x5a, 0x1800d3a0a\nmov     esi, ebp                                                       ; +0x60, 0x1800d3a10\njle     short loc_1800D3A62                                            ; +0x62, 0x1800d3a12\nmov     [rsp+28h+arg_0], rbx                                           ; +0x64, 0x1800d3a14\nmov     [rsp+28h+var_8], rdi                                           ; +0x69, 0x1800d3a19\nmov     edi, ebp                                                       ; +0x6e, 0x1800d3a1e\nmov     rax, cs:Src                                                    ; +0x70, 0x1800d3a20\nmov     rbx, [rdi+rax]                                                 ; +0x77, 0x1800d3a27\ncmp     [rbx+0D8h], ebp                                                ; +0x7b, 0x1800d3a2b\njz      short loc_1800D3A42                                            ; +0x81, 0x1800d3a31\nlea     rdx, [rbx+0C0h]                                                ; +0x83, 0x1800d3a33\nmov     rcx, rbx                                                       ; +0x8a, 0x1800d3a3a\ncall    sub_1800DAFF0                                                  ; +0x8d, 0x1800d3a3d\nmov     rcx, rbx; Block                                                ; +0x92, 0x1800d3a42\ncall    sub_1800D3DD0                                                  ; +0x95, 0x1800d3a45\ninc     esi                                                            ; +0x9a, 0x1800d3a4a\nadd     rdi, 8                                                         ; +0x9c, 0x1800d3a4c\ncmp     esi, cs:dword_1801A9F70                                        ; +0xa0, 0x1800d3a50\njl      short loc_1800D3A20                                            ; +0xa6, 0x1800d3a56\nmov     rdi, [rsp+28h+var_8]                                           ; +0xa8, 0x1800d3a58\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xad, 0x1800d3a5d\nmov     rcx, cs:Src; Block                                             ; +0xb2, 0x1800d3a62\ncall    cs:__imp_free                                                  ; +0xb9, 0x1800d3a69\nmov     rcx, cs:qword_1801AB178; Block                                 ; +0xbf, 0x1800d3a6f\nmov     cs:Src, rbp                                                    ; +0xc6, 0x1800d3a76\nmov     cs:dword_1801A9F70, ebp                                        ; +0xcd, 0x1800d3a7d\ncall    cs:__imp_free                                                  ; +0xd3, 0x1800d3a83\nmov     cs:qword_1801AB178, rbp                                        ; +0xd9, 0x1800d3a89\nmov     cs:dword_1801AB180, ebp                                        ; +0xe0, 0x1800d3a90\ncall    sub_1800DBAC0                                                  ; +0xe6, 0x1800d3a96\ncall    sub_1800DA2E0                                                  ; +0xeb, 0x1800d3a9b\nmov     rcx, cs:qword_1801A9F50; Block                                 ; +0xf0, 0x1800d3aa0\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xf7, 0x1800d3aa7\nmov     dword ptr cs:ModuleName, ebp                                   ; +0xfc, 0x1800d3aac\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x102, 0x1800d3ab2\ntest    rcx, rcx                                                       ; +0x107, 0x1800d3ab7\njz      short loc_1800D3ADC                                            ; +0x10a, 0x1800d3aba\nnop     dword ptr [rax+00h]                                            ; +0x10c, 0x1800d3abc\nmov     rax, [rcx]                                                     ; +0x110, 0x1800d3ac0\nmov     cs:qword_1801A9F50, rax                                        ; +0x113, 0x1800d3ac3\ncall    cs:__imp_free                                                  ; +0x11a, 0x1800d3aca\nmov     rcx, cs:qword_1801A9F50                                        ; +0x120, 0x1800d3ad0\ntest    rcx, rcx                                                       ; +0x127, 0x1800d3ad7\njnz     short loc_1800D3AC0                                            ; +0x12a, 0x1800d3ada\nlea     rcx, unk_1801AB18C                                             ; +0x12c, 0x1800d3adc\ncall    sub_1800D9980                                                  ; +0x133, 0x1800d3ae3\nlea     rcx, unk_1801AB184                                             ; +0x138, 0x1800d3ae8\ncall    sub_1800D9980                                                  ; +0x13f, 0x1800d3aef\nlea     rcx, unk_1801AB198                                             ; +0x144, 0x1800d3af4\ncall    sub_1800D9950                                                  ; +0x14b, 0x1800d3afb\nxor     edx, edx; Val                                                  ; +0x150, 0x1800d3b00\nlea     rcx, ModuleName; void *                                        ; +0x152, 0x1800d3b02\nmov     r8d, 26F0h; Size                                               ; +0x159, 0x1800d3b09\nadd     rsp, 28h                                                       ; +0x15f, 0x1800d3b0f\njmp     memset                                                         ; +0x163, 0x1800d3b13", "xrefs": ["sub_1800D38D0 @ 0x1800d3982", "sub_1800D39A0 @ 0x1800d39a7", "<???> @ 0x180142ac8", "<???> @ 0x180142b00", "<???> @ 0x1801ba59c"], "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"}