//
// sub_180057B10 from 0x180057b10 to 0x180057b68 (88 bytes)
//
// 1 xrefs:
// > sub_180096560 @ 0x180096bc2
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:53:19 +0000
//
__int64 __fastcall sub_180057B10(_QWORD *a1)
{
_QWORD *v2; // rdx
__int64 v3; // rax
__int64 v4; // rax
_QWORD *v5; // rcx
v2 = (_QWORD *)a1[2];
v3 = a1[1];
a1[11] = 0;
*v2 = v3;
*(_QWORD *)(a1[1] + 8LL) = a1[2];
v4 = a1[4];
a1[12] = 0;
v5 = (_QWORD *)a1[5];
a1[2] = a1 + 1;
a1[1] = a1 + 1;
a1[3] = a1;
*v5 = v4;
*(_QWORD *)(a1[4] + 8LL) = a1[5];
a1[5] = a1 + 4;
a1[4] = a1 + 4;
a1[6] = a1;
return 0;
}