{"type": "func", "start": 6442810352, "end": 6442810511, "name": "sub_180057BF0", "pseudocode": "// \n// sub_180057BF0 from 0x180057bf0 to 0x180057c8f (159 bytes)\n// \n// 3 xrefs:\n// > sub_1800EC560 @ 0x1800ec56d\n// > sub_1800F2C00 @ 0x1800f2d12\n// > <???> @ 0x1801f8ee0\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 __fastcall sub_180057BF0(_QWORD *a1)\n{\n  _QWORD *v2; // rcx\n  __int64 v3; // rax\n  _QWORD *v4; // rcx\n  __int64 v5; // rax\n\n  a1[11] = 0;\n  a1[12] = 0;\n  *((_DWORD *)a1 + 31) = 0;\n  sub_1800EC270(a1 + 19, *a1);\n  sub_1800EC270(a1 + 7, *a1);\n  sub_1800EC270(a1 + 9, *a1);\n  v2 = (_QWORD *)a1[2];\n  v3 = a1[1];\n  a1[11] = 0;\n  *v2 = v3;\n  *(_QWORD *)(a1[1] + 8LL) = a1[2];\n  v4 = (_QWORD *)a1[5];\n  v5 = a1[4];\n  a1[2] = a1 + 1;\n  a1[1] = a1 + 1;\n  a1[3] = a1;\n  a1[12] = 0;\n  *v4 = v5;\n  *(_QWORD *)(a1[4] + 8LL) = a1[5];\n  a1[6] = a1;\n  a1[5] = a1 + 4;\n  a1[4] = a1 + 4;\n  return 0;\n}", "assembly": "; \n; sub_180057BF0 from 0x180057bf0 to 0x180057c8f (159 bytes)\n; \n; 3 xrefs:\n; > sub_1800EC560 @ 0x1800ec56d\n; > sub_1800F2C00 @ 0x1800f2d12\n; > <???> @ 0x1801f8ee0\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, 0x180057bf0\npush    rdi                                                            ; +0x5, 0x180057bf5\nsub     rsp, 20h                                                       ; +0x6, 0x180057bf6\nmov     rbx, rcx                                                       ; +0xa, 0x180057bfa\nxor     edi, edi                                                       ; +0xd, 0x180057bfd\nmov     [rcx+58h], rdi                                                 ; +0xf, 0x180057bff\nmov     [rcx+60h], rdi                                                 ; +0x13, 0x180057c03\nmov     [rcx+7Ch], edi                                                 ; +0x17, 0x180057c07\nadd     rcx, 98h                                                       ; +0x1a, 0x180057c0a\nmov     rdx, [rbx]                                                     ; +0x21, 0x180057c11\ncall    sub_1800EC270                                                  ; +0x24, 0x180057c14\nmov     rdx, [rbx]                                                     ; +0x29, 0x180057c19\nlea     rcx, [rbx+38h]                                                 ; +0x2c, 0x180057c1c\ncall    sub_1800EC270                                                  ; +0x30, 0x180057c20\nmov     rdx, [rbx]                                                     ; +0x35, 0x180057c25\nlea     rcx, [rbx+48h]                                                 ; +0x38, 0x180057c28\ncall    sub_1800EC270                                                  ; +0x3c, 0x180057c2c\nmov     rcx, [rbx+10h]                                                 ; +0x41, 0x180057c31\nlea     rdx, [rbx+8]                                                   ; +0x45, 0x180057c35\nmov     rax, [rdx]                                                     ; +0x49, 0x180057c39\nmov     [rbx+58h], rdi                                                 ; +0x4c, 0x180057c3c\nmov     [rcx], rax                                                     ; +0x50, 0x180057c40\nmov     rcx, [rdx]                                                     ; +0x53, 0x180057c43\nmov     rax, [rdx+8]                                                   ; +0x56, 0x180057c46\nmov     [rcx+8], rax                                                   ; +0x5a, 0x180057c4a\nmov     rcx, [rbx+28h]                                                 ; +0x5e, 0x180057c4e\nmov     rax, [rbx+20h]                                                 ; +0x62, 0x180057c52\nmov     [rdx+8], rdx                                                   ; +0x66, 0x180057c56\nmov     [rdx], rdx                                                     ; +0x6a, 0x180057c5a\nlea     rdx, [rbx+20h]                                                 ; +0x6d, 0x180057c5d\nmov     [rbx+18h], rbx                                                 ; +0x71, 0x180057c61\nmov     [rbx+60h], rdi                                                 ; +0x75, 0x180057c65\nmov     [rcx], rax                                                     ; +0x79, 0x180057c69\nmov     rax, [rdx+8]                                                   ; +0x7c, 0x180057c6c\nmov     rcx, [rdx]                                                     ; +0x80, 0x180057c70\nmov     [rcx+8], rax                                                   ; +0x83, 0x180057c73\nxor     eax, eax                                                       ; +0x87, 0x180057c77\nmov     [rbx+30h], rbx                                                 ; +0x89, 0x180057c79\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x8d, 0x180057c7d\nmov     [rdx+8], rdx                                                   ; +0x92, 0x180057c82\nmov     [rdx], rdx                                                     ; +0x96, 0x180057c86\nadd     rsp, 20h                                                       ; +0x99, 0x180057c89\npop     rdi                                                            ; +0x9d, 0x180057c8d\nretn                                                                   ; +0x9e, 0x180057c8e", "xrefs": ["sub_1800EC560 @ 0x1800ec56d", "sub_1800F2C00 @ 0x1800f2d12", "<???> @ 0x1801f8ee0"], "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"}