{"type": "func", "start": 6443375776, "end": 6443376035, "name": "sub_1800E1CA0", "pseudocode": "// \n// sub_1800E1CA0 from 0x1800e1ca0 to 0x1800e1da3 (259 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18016d7b8\n// > <???> @ 0x1801ff978\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_QWORD **__fastcall sub_1800E1CA0(_QWORD **Block, char a2)\n{\n  *Block = &off_18016D7B8;\n  sub_1800E2500(Block + 9275);\n  *Block[9274] = Block[9273];\n  Block[9273][1] = Block[9274];\n  Block[9274] = Block + 9273;\n  Block[9273] = Block + 9273;\n  if ( !(unsigned int)sub_180087CB0(Block + 9268) && !(unsigned int)sub_180087D80(Block + 9270) )\n  {\n    *((_DWORD *)Block + 18544) = -1;\n    *((_DWORD *)Block + 18545) = 0;\n  }\n  sub_180087D80(Block + 9270);\n  sub_180087CB0(Block + 9268);\n  sub_1800D0F30((__int64)(Block + 9158));\n  Block[9091] = off_18016B198;\n  sub_1800B63F0((__int64)(Block + 8473));\n  sub_1800B63F0((__int64)(Block + 8457));\n  *Block[217] = Block[216];\n  Block[216][1] = Block[217];\n  Block[217] = Block + 216;\n  Block[216] = Block + 216;\n  if ( (a2 & 1) != 0 )\n    j_j_free_0(Block);\n  return Block;\n}", "assembly": "; \n; sub_1800E1CA0 from 0x1800e1ca0 to 0x1800e1da3 (259 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18016d7b8\n; > <???> @ 0x1801ff978\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, 0x1800e1ca0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800e1ca5\npush    rdi                                                            ; +0xa, 0x1800e1caa\nsub     rsp, 20h                                                       ; +0xb, 0x1800e1cab\nlea     rax, off_18016D7B8                                             ; +0xf, 0x1800e1caf\nmov     rbx, rcx                                                       ; +0x16, 0x1800e1cb6\nmov     [rcx], rax                                                     ; +0x19, 0x1800e1cb9\nmov     esi, edx                                                       ; +0x1c, 0x1800e1cbc\nadd     rcx, 121D8h                                                    ; +0x1e, 0x1800e1cbe\ncall    sub_1800E2500                                                  ; +0x25, 0x1800e1cc5\nlea     r9, [rbx+121C8h]                                               ; +0x2a, 0x1800e1cca\nmov     r8, [r9+8]                                                     ; +0x31, 0x1800e1cd1\nlea     rdi, [rbx+121A0h]                                              ; +0x35, 0x1800e1cd5\nmov     rax, [r9]                                                      ; +0x3c, 0x1800e1cdc\nmov     rcx, rdi                                                       ; +0x3f, 0x1800e1cdf\nmov     [r8], rax                                                      ; +0x42, 0x1800e1ce2\nmov     r8, [r9]                                                       ; +0x45, 0x1800e1ce5\nmov     rax, [r9+8]                                                    ; +0x48, 0x1800e1ce8\nmov     [r8+8], rax                                                    ; +0x4c, 0x1800e1cec\nmov     [r9+8], r9                                                     ; +0x50, 0x1800e1cf0\nmov     [r9], r9                                                       ; +0x54, 0x1800e1cf4\ncall    sub_180087CB0                                                  ; +0x57, 0x1800e1cf7\ntest    eax, eax                                                       ; +0x5c, 0x1800e1cfc\njnz     short loc_1800E1D17                                            ; +0x5e, 0x1800e1cfe\nlea     rcx, [rdi+10h]                                                 ; +0x60, 0x1800e1d00\ncall    sub_180087D80                                                  ; +0x64, 0x1800e1d04\ntest    eax, eax                                                       ; +0x69, 0x1800e1d09\njnz     short loc_1800E1D17                                            ; +0x6b, 0x1800e1d0b\nmov     dword ptr [rdi+20h], 0FFFFFFFFh                                ; +0x6d, 0x1800e1d0d\nmov     [rdi+24h], eax                                                 ; +0x74, 0x1800e1d14\nlea     rcx, [rdi+10h]                                                 ; +0x77, 0x1800e1d17\ncall    sub_180087D80                                                  ; +0x7b, 0x1800e1d1b\nmov     rcx, rdi                                                       ; +0x80, 0x1800e1d20\ncall    sub_180087CB0                                                  ; +0x83, 0x1800e1d23\nlea     rcx, [rbx+11E30h]                                              ; +0x88, 0x1800e1d28\ncall    sub_1800D0F30                                                  ; +0x8f, 0x1800e1d2f\nlea     rax, off_18016B198                                             ; +0x94, 0x1800e1d34\nlea     rcx, [rbx+108C8h]                                              ; +0x9b, 0x1800e1d3b\nmov     [rbx+11C18h], rax                                              ; +0xa2, 0x1800e1d42\ncall    sub_1800B63F0                                                  ; +0xa9, 0x1800e1d49\nlea     rcx, [rbx+10848h]                                              ; +0xae, 0x1800e1d4e\ncall    sub_1800B63F0                                                  ; +0xb5, 0x1800e1d55\nlea     rdx, [rbx+6C0h]                                                ; +0xba, 0x1800e1d5a\nmov     rcx, [rdx+8]                                                   ; +0xc1, 0x1800e1d61\nmov     rax, [rdx]                                                     ; +0xc5, 0x1800e1d65\nmov     [rcx], rax                                                     ; +0xc8, 0x1800e1d68\nmov     rcx, [rdx]                                                     ; +0xcb, 0x1800e1d6b\nmov     rax, [rdx+8]                                                   ; +0xce, 0x1800e1d6e\nmov     [rcx+8], rax                                                   ; +0xd2, 0x1800e1d72\nmov     [rdx+8], rdx                                                   ; +0xd6, 0x1800e1d76\nmov     [rdx], rdx                                                     ; +0xda, 0x1800e1d7a\ntest    sil, 1                                                         ; +0xdd, 0x1800e1d7d\njz      short loc_1800E1D90                                            ; +0xe1, 0x1800e1d81\nmov     edx, 121F0h                                                    ; +0xe3, 0x1800e1d83\nmov     rcx, rbx; Block                                                ; +0xe8, 0x1800e1d88\ncall    j_j_free_0                                                     ; +0xeb, 0x1800e1d8b\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xf0, 0x1800e1d90\nmov     rax, rbx                                                       ; +0xf5, 0x1800e1d95\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xf8, 0x1800e1d98\nadd     rsp, 20h                                                       ; +0xfd, 0x1800e1d9d\npop     rdi                                                            ; +0x101, 0x1800e1da1\nretn                                                                   ; +0x102, 0x1800e1da2", "xrefs": ["<???> @ 0x18016d7b8", "<???> @ 0x1801ff978"], "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"}