//
// sub_771A84 from 0x771a84 to 0x771ac4 (64 bytes)
//
// 0 xrefs:
//
// 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_771A84(int *a1, int *a2)
{
int v2; // r3
int v5; // r3
int v6; // r6
int v7; // r3
v2 = a2[1];
*a1 = v2;
v5 = *(_DWORD *)(v2 - 12);
v6 = (int)(a1 + 1);
*(int *)((char *)a1 + v5) = a2[2];
sub_744E90((int)a1 + v5, 0);
v7 = *a2;
*a1 = *a2;
*(int *)((char *)a1 + *(_DWORD *)(v7 - 12)) = a2[3];
sub_76F2F8(v6);
sub_744E90((int)a1 + *(_DWORD *)(*a1 - 12), v6);
return a1;
}