//
// sub_A70EC from 0xa70ec to 0xa7122 (54 bytes)
//
// 2 xrefs:
// > sub_A7770 @ 0xa7950
// > sub_A7964 @ 0xa7f04
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall sub_A70EC(_DWORD *a1, _DWORD *a2)
{
if ( *a2 )
sub_A7074((int)a2);
*a2 = *a1;
a2[2] = a1[2];
a2[1] = a1[1];
a2[3] = a1[3];
a2[4] = a1[4];
a2[5] = a1[5];
++*(_DWORD *)(*a1 + 4);
return 0;
}