{"type": "func", "start": 6443352256, "end": 6443352396, "name": "sub_1800DC0C0", "pseudocode": "// \n// sub_1800DC0C0 from 0x1800dc0c0 to 0x1800dc14c (140 bytes)\n// \n// 2 xrefs:\n// > sub_1800DA2E0 @ 0x1800da34e\n// > <???> @ 0x1801bad94\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_1800DC0C0()\n{\n  void **v0; // rbx\n  void *result; // rax\n\n  v0 = (void **)&unk_1801AA078;\n  do\n  {\n    sub_1800D5440((__int64)(v0 - 32), 0x40002u);\n    if ( *v0 )\n    {\n      (*(void (__fastcall **)(void *))(*(_QWORD *)*v0 + 64LL))(*v0);\n      (*(void (__fastcall **)(void *))(*(_QWORD *)*v0 + 16LL))(*v0);\n    }\n    free(*(v0 - 2));\n    result = sub_1800D5280(v0 - 32);\n    v0 += 36;\n  }\n  while ( (__int64)v0 <= (__int64)dword_1801AB158 );\n  if ( qword_1801AC018 )\n    return (void *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)qword_1801AC018 + 16LL))(qword_1801AC018);\n  return result;\n}", "assembly": "; \n; sub_1800DC0C0 from 0x1800dc0c0 to 0x1800dc14c (140 bytes)\n; \n; 2 xrefs:\n; > sub_1800DA2E0 @ 0x1800da34e\n; > <???> @ 0x1801bad94\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, 0x1800dc0c0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800dc0c5\npush    rdi                                                            ; +0xa, 0x1800dc0ca\nsub     rsp, 20h                                                       ; +0xb, 0x1800dc0cb\nlea     rbx, unk_1801AA078                                             ; +0xf, 0x1800dc0cf\nlea     rsi, dword_1801AB158                                           ; +0x16, 0x1800dc0d6\nnop     dword ptr [rax]                                                ; +0x1d, 0x1800dc0dd\nmov     edx, 40002h                                                    ; +0x20, 0x1800dc0e0\nlea     rcx, [rbx-100h]                                                ; +0x25, 0x1800dc0e5\ncall    sub_1800D5440                                                  ; +0x2c, 0x1800dc0ec\nmov     rcx, [rbx]                                                     ; +0x31, 0x1800dc0f1\ntest    rcx, rcx                                                       ; +0x34, 0x1800dc0f4\njz      short loc_1800DC108                                            ; +0x37, 0x1800dc0f7\nmov     rax, [rcx]                                                     ; +0x39, 0x1800dc0f9\ncall    qword ptr [rax+40h]                                            ; +0x3c, 0x1800dc0fc\nmov     rcx, [rbx]                                                     ; +0x3f, 0x1800dc0ff\nmov     rax, [rcx]                                                     ; +0x42, 0x1800dc102\ncall    qword ptr [rax+10h]                                            ; +0x45, 0x1800dc105\nmov     rcx, [rbx-10h]; Block                                          ; +0x48, 0x1800dc108\ncall    cs:__imp_free                                                  ; +0x4c, 0x1800dc10c\nlea     rcx, [rbx-100h]; void *                                        ; +0x52, 0x1800dc112\ncall    sub_1800D5280                                                  ; +0x59, 0x1800dc119\nadd     rbx, 120h                                                      ; +0x5e, 0x1800dc11e\ncmp     rbx, rsi                                                       ; +0x65, 0x1800dc125\njle     short loc_1800DC0E0                                            ; +0x68, 0x1800dc128\nmov     rcx, cs:qword_1801AC018                                        ; +0x6a, 0x1800dc12a\ntest    rcx, rcx                                                       ; +0x71, 0x1800dc131\njz      short loc_1800DC13C                                            ; +0x74, 0x1800dc134\nmov     rax, [rcx]                                                     ; +0x76, 0x1800dc136\ncall    qword ptr [rax+10h]                                            ; +0x79, 0x1800dc139\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x7c, 0x1800dc13c\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x81, 0x1800dc141\nadd     rsp, 20h                                                       ; +0x86, 0x1800dc146\npop     rdi                                                            ; +0x8a, 0x1800dc14a\nretn                                                                   ; +0x8b, 0x1800dc14b", "xrefs": ["sub_1800DA2E0 @ 0x1800da34e", "<???> @ 0x1801bad94"], "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"}