//
// sub_6CBFE from 0x6cbfe to 0x6cc26 (40 bytes)
//
// 1 xrefs:
// > sub_6C1C0 @ 0x6c1f2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:40:58 +0000
//
int __fastcall sub_6CBFE(_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;
}