//
// sub_1006CE354 from 0x1006ce354 to 0x1006ce3a4 (80 bytes)
//
// 2 xrefs:
// > sub_10070DB8C @ 0x10070dd48
// > sub_10070DDB4 @ 0x10070de98
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:12:25 +0000
//
size_t __fastcall sub_1006CE354(unsigned __int8 *a1, void *__dst, size_t a3)
{
size_t v3; // x19
v3 = ((*a1 >> 2) & 0xEu) + 2;
if ( v3 > a3 )
return 0;
memcpy(__dst, a1 + 16, v3);
return v3;
}