{"type": "func", "start": 6443346640, "end": 6443346780, "name": "sub_1800DAAD0", "pseudocode": "// \n// sub_1800DAAD0 from 0x1800daad0 to 0x1800dab5c (140 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18016cfa8\n// > <???> @ 0x1801ff2e8\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_DWORD *__fastcall sub_1800DAAD0(_DWORD *Block, char a2)\n{\n  sub_1800DAC90(Block + 34);\n  if ( !(unsigned int)sub_180087CB0((_QWORD *)Block + 12) && !(unsigned int)sub_1800DAB90(Block + 28) )\n  {\n    Block[32] = -1;\n    Block[33] = 0;\n  }\n  sub_1800DAB90(Block + 28);\n  sub_180087CB0((_QWORD *)Block + 12);\n  *(_QWORD *)Block = &off_18016CED8;\n  if ( (a2 & 1) != 0 )\n    j_j_free_0(Block);\n  return Block;\n}", "assembly": "; \n; sub_1800DAAD0 from 0x1800daad0 to 0x1800dab5c (140 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18016cfa8\n; > <???> @ 0x1801ff2e8\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, 0x1800daad0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800daad5\npush    rdi                                                            ; +0xa, 0x1800daada\nsub     rsp, 20h                                                       ; +0xb, 0x1800daadb\nmov     rbx, rcx                                                       ; +0xf, 0x1800daadf\nmov     esi, edx                                                       ; +0x12, 0x1800daae2\nadd     rcx, 88h                                                       ; +0x14, 0x1800daae4\ncall    sub_1800DAC90                                                  ; +0x1b, 0x1800daaeb\nlea     rcx, [rbx+60h]                                                 ; +0x20, 0x1800daaf0\ncall    sub_180087CB0                                                  ; +0x24, 0x1800daaf4\ntest    eax, eax                                                       ; +0x29, 0x1800daaf9\njnz     short loc_1800DAB1A                                            ; +0x2b, 0x1800daafb\nlea     rcx, [rbx+70h]                                                 ; +0x2d, 0x1800daafd\ncall    sub_1800DAB90                                                  ; +0x31, 0x1800dab01\ntest    eax, eax                                                       ; +0x36, 0x1800dab06\njnz     short loc_1800DAB1A                                            ; +0x38, 0x1800dab08\nmov     dword ptr [rbx+80h], 0FFFFFFFFh                                ; +0x3a, 0x1800dab0a\nmov     [rbx+84h], eax                                                 ; +0x44, 0x1800dab14\nlea     rcx, [rbx+70h]                                                 ; +0x4a, 0x1800dab1a\ncall    sub_1800DAB90                                                  ; +0x4e, 0x1800dab1e\nlea     rcx, [rbx+60h]                                                 ; +0x53, 0x1800dab23\ncall    sub_180087CB0                                                  ; +0x57, 0x1800dab27\nlea     rax, off_18016CED8                                             ; +0x5c, 0x1800dab2c\nmov     [rbx], rax                                                     ; +0x63, 0x1800dab33\ntest    sil, 1                                                         ; +0x66, 0x1800dab36\njz      short loc_1800DAB49                                            ; +0x6a, 0x1800dab3a\nmov     edx, 98h                                                       ; +0x6c, 0x1800dab3c\nmov     rcx, rbx; Block                                                ; +0x71, 0x1800dab41\ncall    j_j_free_0                                                     ; +0x74, 0x1800dab44\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x79, 0x1800dab49\nmov     rax, rbx                                                       ; +0x7e, 0x1800dab4e\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x81, 0x1800dab51\nadd     rsp, 20h                                                       ; +0x86, 0x1800dab56\npop     rdi                                                            ; +0x8a, 0x1800dab5a\nretn                                                                   ; +0x8b, 0x1800dab5b", "xrefs": ["<???> @ 0x18016cfa8", "<???> @ 0x1801ff2e8"], "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"}