//
// sub_A3356 from 0xa3356 to 0xa337e (40 bytes)
//
// 1 xrefs:
// > sub_A2D7A @ 0xa2dac
//
// 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_A3356(_DWORD *a1, int *a2)
{
int v2; // r3
int v3; // r2
v2 = *a2;
v3 = a1[3] + 12 * *a2;
*(_DWORD *)(v3 + 8) = 0;
*a2 = *(_DWORD *)(v3 + 4);
*(_DWORD *)(v3 + 4) = a1[6];
a1[6] = v2;
--a1[7];
return 0;
}