//
// CMS_RecipientInfo_set0_pkey from 0xe1dae4 to 0xe1db30 (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x67bf0
//
// 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_pkey(__int64 a1, __int64 a2)
{
__int64 v2; // x2
if ( *(_DWORD *)a1 )
{
ERR_put_error(46, 145, 124, (__int64)"crypto/cms/cms_env.c", 282);
return 0;
}
else
{
v2 = *(_QWORD *)(a1 + 8);
*(_QWORD *)(v2 + 40) = a2;
return 1;
}
}