//
// CMS_RecipientInfo_set0_key from 0xa880a0 to 0xa880f4 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x83b9c
//
// 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_key(_DWORD *a1, int a2, int a3)
{
int v3; // r3
if ( *a1 == 2 )
{
v3 = a1[1];
*(_DWORD *)(v3 + 16) = a2;
*(_DWORD *)(v3 + 20) = a3;
return 1;
}
else
{
ERR_put_error(46, 144, 123, (int)"crypto/cms/cms_env.c", 600);
return 0;
}
}