{"type": "func", "start": 6443362096, "end": 6443362236, "name": "sub_1800DE730", "pseudocode": "// \n// sub_1800DE730 from 0x1800de730 to 0x1800de7bc (140 bytes)\n// \n// 2 xrefs:\n// > sub_1800E2230 @ 0x1800e229e\n// > <???> @ 0x1801c4ff8\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:35 +0000\n// \n\nvoid *sub_1800DE730()\n{\n  void **v0; // rbx\n  void *result; // rax\n\n  v0 = (void **)&unk_1801B40F8;\n  do\n  {\n    sub_1800DD170((__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_1800DCFB0(v0 - 32);\n    v0 += 36;\n  }\n  while ( (__int64)v0 <= (__int64)dword_1801B51D8 );\n  if ( qword_1801B6098 )\n    return (void *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)qword_1801B6098 + 16LL))(qword_1801B6098);\n  return result;\n}", "assembly": "; \n; sub_1800DE730 from 0x1800de730 to 0x1800de7bc (140 bytes)\n; \n; 2 xrefs:\n; > sub_1800E2230 @ 0x1800e229e\n; > <???> @ 0x1801c4ff8\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:35 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800de730\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800de735\npush    rdi                                                            ; +0xa, 0x1800de73a\nsub     rsp, 20h                                                       ; +0xb, 0x1800de73b\nlea     rbx, unk_1801B40F8                                             ; +0xf, 0x1800de73f\nlea     rsi, dword_1801B51D8                                           ; +0x16, 0x1800de746\nnop     dword ptr [rax]                                                ; +0x1d, 0x1800de74d\nmov     edx, 40002h                                                    ; +0x20, 0x1800de750\nlea     rcx, [rbx-100h]                                                ; +0x25, 0x1800de755\ncall    sub_1800DD170                                                  ; +0x2c, 0x1800de75c\nmov     rcx, [rbx]                                                     ; +0x31, 0x1800de761\ntest    rcx, rcx                                                       ; +0x34, 0x1800de764\njz      short loc_1800DE778                                            ; +0x37, 0x1800de767\nmov     rax, [rcx]                                                     ; +0x39, 0x1800de769\ncall    qword ptr [rax+40h]                                            ; +0x3c, 0x1800de76c\nmov     rcx, [rbx]                                                     ; +0x3f, 0x1800de76f\nmov     rax, [rcx]                                                     ; +0x42, 0x1800de772\ncall    qword ptr [rax+10h]                                            ; +0x45, 0x1800de775\nmov     rcx, [rbx-10h]; Block                                          ; +0x48, 0x1800de778\ncall    cs:__imp_free                                                  ; +0x4c, 0x1800de77c\nlea     rcx, [rbx-100h]; void *                                        ; +0x52, 0x1800de782\ncall    sub_1800DCFB0                                                  ; +0x59, 0x1800de789\nadd     rbx, 120h                                                      ; +0x5e, 0x1800de78e\ncmp     rbx, rsi                                                       ; +0x65, 0x1800de795\njle     short loc_1800DE750                                            ; +0x68, 0x1800de798\nmov     rcx, cs:qword_1801B6098                                        ; +0x6a, 0x1800de79a\ntest    rcx, rcx                                                       ; +0x71, 0x1800de7a1\njz      short loc_1800DE7AC                                            ; +0x74, 0x1800de7a4\nmov     rax, [rcx]                                                     ; +0x76, 0x1800de7a6\ncall    qword ptr [rax+10h]                                            ; +0x79, 0x1800de7a9\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x7c, 0x1800de7ac\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x81, 0x1800de7b1\nadd     rsp, 20h                                                       ; +0x86, 0x1800de7b6\npop     rdi                                                            ; +0x8a, 0x1800de7ba\nretn                                                                   ; +0x8b, 0x1800de7bb", "xrefs": ["sub_1800E2230 @ 0x1800e229e", "<???> @ 0x1801c4ff8"], "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"}