//
// CMS_RecipientInfo_set0_pkey from 0xa87c78 to 0xa87cc8 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x83b5c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:08:53 +0000
//
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;
}
}