//
// CRYPTO_ccm128_init from 0xdb7ac4 to 0xdb7af0 (44 bytes)
//
// 4 xrefs:
// > sub_DA3B2C @ 0xda3bb4
// > sub_DA3B2C @ 0xda3c34
// > sub_DA3B2C @ 0xda3c7c
// > ??> @ 0x95bc8
//
// 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
//
_QWORD *__fastcall CRYPTO_ccm128_init(_QWORD *result, int a2, char a3, __int64 a4, __int64 a5)
{
*result = 0;
result[1] = 0;
result[4] = 0;
*(_BYTE *)result = (a3 - 1) & 7 | (8 * (((unsigned int)(a2 - 2) >> 1) & 7));
result[5] = a5;
result[6] = a4;
return result;
}