{"type": "func", "start": 6442810224, "end": 6442810340, "name": "sub_180057B70", "pseudocode": "// \n// sub_180057B70 from 0x180057b70 to 0x180057be4 (116 bytes)\n// \n// 2 xrefs:\n// > sub_1800923A0 @ 0x180092433\n// > <???> @ 0x1801f8ed4\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_180057B70(_QWORD *a1, _DWORD *a2, char a3)\n{\n  __int64 result; // rax\n\n  *((_DWORD *)a1 + 26) = a2[26];\n  *((_DWORD *)a1 + 32) = a2[32];\n  if ( !a3\n    || (result = sub_1800EBFC0(a1 + 7, *a1, a2 + 14), !(_DWORD)result)\n    && (result = sub_1800EBFC0(a1 + 9, *a1, a2 + 18), !(_DWORD)result) )\n  {\n    *((_DWORD *)a1 + 27) = a2[27];\n    *((_DWORD *)a1 + 28) = a2[28];\n    *((_DWORD *)a1 + 29) = a2[29];\n    *((_DWORD *)a1 + 30) = a2[30];\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_180057B70 from 0x180057b70 to 0x180057be4 (116 bytes)\n; \n; 2 xrefs:\n; > sub_1800923A0 @ 0x180092433\n; > <???> @ 0x1801f8ed4\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, 0x180057b70\npush    rdi                                                            ; +0x5, 0x180057b75\nsub     rsp, 20h                                                       ; +0x6, 0x180057b76\nmov     eax, [rdx+68h]                                                 ; +0xa, 0x180057b7a\nmov     rdi, rdx                                                       ; +0xd, 0x180057b7d\nmov     [rcx+68h], eax                                                 ; +0x10, 0x180057b80\nmov     rbx, rcx                                                       ; +0x13, 0x180057b83\nmov     eax, [rdx+80h]                                                 ; +0x16, 0x180057b86\nmov     [rcx+80h], eax                                                 ; +0x1c, 0x180057b8c\ntest    r8b, r8b                                                       ; +0x22, 0x180057b92\njz      short loc_180057BBF                                            ; +0x25, 0x180057b95\nlea     r8, [rdx+38h]                                                  ; +0x27, 0x180057b97\nadd     rcx, 38h ; '8'                                                 ; +0x2b, 0x180057b9b\nmov     rdx, [rbx]                                                     ; +0x2f, 0x180057b9f\ncall    sub_1800EBFC0                                                  ; +0x32, 0x180057ba2\ntest    eax, eax                                                       ; +0x37, 0x180057ba7\njnz     short loc_180057BD9                                            ; +0x39, 0x180057ba9\nmov     rdx, [rbx]                                                     ; +0x3b, 0x180057bab\nlea     r8, [rdi+48h]                                                  ; +0x3e, 0x180057bae\nlea     rcx, [rbx+48h]                                                 ; +0x42, 0x180057bb2\ncall    sub_1800EBFC0                                                  ; +0x46, 0x180057bb6\ntest    eax, eax                                                       ; +0x4b, 0x180057bbb\njnz     short loc_180057BD9                                            ; +0x4d, 0x180057bbd\nmov     eax, [rdi+6Ch]                                                 ; +0x4f, 0x180057bbf\nmov     [rbx+6Ch], eax                                                 ; +0x52, 0x180057bc2\nmov     eax, [rdi+70h]                                                 ; +0x55, 0x180057bc5\nmov     [rbx+70h], eax                                                 ; +0x58, 0x180057bc8\nmov     eax, [rdi+74h]                                                 ; +0x5b, 0x180057bcb\nmov     [rbx+74h], eax                                                 ; +0x5e, 0x180057bce\nmov     eax, [rdi+78h]                                                 ; +0x61, 0x180057bd1\nmov     [rbx+78h], eax                                                 ; +0x64, 0x180057bd4\nxor     eax, eax                                                       ; +0x67, 0x180057bd7\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x69, 0x180057bd9\nadd     rsp, 20h                                                       ; +0x6e, 0x180057bde\npop     rdi                                                            ; +0x72, 0x180057be2\nretn                                                                   ; +0x73, 0x180057be3", "xrefs": ["sub_1800923A0 @ 0x180092433", "<???> @ 0x1801f8ed4"], "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"}