//
// AES_wrap_key from 0xe70540 to 0xe70560 (32 bytes)
//
// 2 xrefs:
// > CMS_RecipientInfo_encrypt @ 0xe1e5f0
// > ??> @ 0xaffe0
//
// 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
//
size_t __fastcall AES_wrap_key(
__int64 a1,
__int64 *a2,
_QWORD *a3,
void *a4,
unsigned int a5,
__int64 a6,
int a7,
int a8)
{
char vars0; // [xsp+0h] [xbp+0h]
return CRYPTO_128_wrap(
a1,
a2,
a3,
a4,
a5,
(void (__fastcall *)(__int64 *, __int64 *, __int64))AES_encrypt,
a7,
a8,
vars0);
}