//
// CMS_RecipientInfo_set0_pkey from 0x873078 to 0x8730c8 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x6a0dc
//
// 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
//
int __fastcall CMS_RecipientInfo_set0_pkey(_DWORD *a1, int a2)
{
int v2; // r3
if ( *a1 )
{
ERR_put_error(46, 145, 124, (int)"crypto/cms/cms_env.c", 282);
return 0;
}
else
{
v2 = a1[1];
*(_DWORD *)(v2 + 20) = a2;
return 1;
}
}