{"type": "func", "start": 6443324096, "end": 6443324271, "name": "sub_1800D52C0", "pseudocode": "// \n// sub_1800D52C0 from 0x1800d52c0 to 0x1800d536f (175 bytes)\n// \n// 2 xrefs:\n// > sub_1800D38D0 @ 0x1800d3958\n// > <???> @ 0x1801ba7c4\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 sub_1800D52C0()\n{\n  char *v0; // rax\n  __int64 v1; // rbx\n  __int64 result; // rax\n  __int64 *v3; // rbx\n\n  v0 = (char *)calloc(0x16Du, 0xF5u);\n  qword_1801AB178 = v0;\n  v1 = 0;\n  while ( 1 )\n  {\n    result = sub_1800D5B40(&v0[245 * dword_1801AB180], off_1801A3340[v1]);\n    if ( (_DWORD)result )\n      ++dword_1801AB180;\n    if ( (unsigned __int64)++v1 >= 365 )\n      break;\n    v0 = (char *)qword_1801AB178;\n  }\n  v3 = (__int64 *)&unk_1801AA060;\n  do\n  {\n    if ( *((_DWORD *)v3 - 57) )\n    {\n      result = sub_1800D5620(v3 - 29);\n      *v3 = result;\n    }\n    v3 += 36;\n  }\n  while ( (__int64)v3 <= (__int64)qword_1801AB140 );\n  return result;\n}", "assembly": "; \n; sub_1800D52C0 from 0x1800d52c0 to 0x1800d536f (175 bytes)\n; \n; 2 xrefs:\n; > sub_1800D38D0 @ 0x1800d3958\n; > <???> @ 0x1801ba7c4\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800d52c0\npush    rdi                                                            ; +0x5, 0x1800d52c5\nsub     rsp, 20h                                                       ; +0x6, 0x1800d52c6\nmov     edx, 0F5h; Size                                                ; +0xa, 0x1800d52ca\nlea     ecx, [rdx+78h]; Count                                          ; +0xf, 0x1800d52cf\ncall    cs:calloc                                                      ; +0x12, 0x1800d52d2\nmov     cs:qword_1801AB178, rax                                        ; +0x18, 0x1800d52d8\nxor     ebx, ebx                                                       ; +0x1f, 0x1800d52df\nlea     rdi, off_1801A3340; \"03000000fa2d00000100000000000000,3DRUDD\"... ; +0x21, 0x1800d52e1\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x28, 0x1800d52e8\nmovsxd  rcx, cs:dword_1801AB180                                        ; +0x30, 0x1800d52f0\nmov     rdx, [rbx+rdi]; Str                                            ; +0x37, 0x1800d52f7\nimul    rcx, 0F5h                                                      ; +0x3b, 0x1800d52fb\nadd     rcx, rax; void *                                               ; +0x42, 0x1800d5302\ncall    sub_1800D5B40                                                  ; +0x45, 0x1800d5305\ntest    eax, eax                                                       ; +0x4a, 0x1800d530a\njz      short loc_1800D5314                                            ; +0x4c, 0x1800d530c\ninc     cs:dword_1801AB180                                             ; +0x4e, 0x1800d530e\nadd     rbx, 8                                                         ; +0x54, 0x1800d5314\ncmp     rbx, 0B68h                                                     ; +0x58, 0x1800d5318\njnb     short loc_1800D532A                                            ; +0x5f, 0x1800d531f\nmov     rax, cs:qword_1801AB178                                        ; +0x61, 0x1800d5321\njmp     short loc_1800D52F0                                            ; +0x68, 0x1800d5328\nlea     rbx, unk_1801AA060                                             ; +0x6a, 0x1800d532a\nlea     rdi, qword_1801AB140                                           ; +0x71, 0x1800d5331\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x78, 0x1800d5338\ncmp     dword ptr [rbx-0E4h], 0                                        ; +0x80, 0x1800d5340\njz      short loc_1800D5358                                            ; +0x87, 0x1800d5347\nlea     rcx, [rbx-0E8h]                                                ; +0x89, 0x1800d5349\ncall    sub_1800D5620                                                  ; +0x90, 0x1800d5350\nmov     [rbx], rax                                                     ; +0x95, 0x1800d5355\nadd     rbx, 120h                                                      ; +0x98, 0x1800d5358\ncmp     rbx, rdi                                                       ; +0x9f, 0x1800d535f\njle     short loc_1800D5340                                            ; +0xa2, 0x1800d5362\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xa4, 0x1800d5364\nadd     rsp, 20h                                                       ; +0xa9, 0x1800d5369\npop     rdi                                                            ; +0xad, 0x1800d536d\nretn                                                                   ; +0xae, 0x1800d536e", "xrefs": ["sub_1800D38D0 @ 0x1800d3958", "<???> @ 0x1801ba7c4"], "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"}