//
// CMS_RecipientInfo_set0_key from 0xe1deb8 to 0xe1df0c (84 bytes)
//
// 1 xrefs:
// > ??> @ 0xaafe8
//
// 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
//
__int64 __fastcall CMS_RecipientInfo_set0_key(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v3; // x3
if ( *(_DWORD *)a1 == 2 )
{
v3 = *(_QWORD *)(a1 + 8);
*(_QWORD *)(v3 + 32) = a2;
*(_QWORD *)(v3 + 40) = a3;
return 1;
}
else
{
ERR_put_error(46, 144, 123, (__int64)"crypto/cms/cms_env.c", 600);
return 0;
}
}