//
// sub_6CDA8 from 0x6cda8 to 0x6cdde (54 bytes)
//
// 1 xrefs:
// > sub_6CC86 @ 0x6ccd0
//
// 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_6CDA8(_DWORD *a1, _DWORD *a2)
{
int result; // r0
_DWORD *v5; // r1
int v6; // r3
int v7; // r6
result = sub_6CDDE(a1, a1[1] + 1);
if ( !result )
{
v5 = (_DWORD *)(*a1 + 12 * a1[1]);
v6 = a2[1];
v7 = a2[2];
*v5 = *a2;
v5[1] = v6;
v5[2] = v7;
++a1[1];
}
return result;
}