//
// CMS_RecipientInfo_set0_key from 0x109c1b8 to 0x109c20c (84 bytes)
//
// 1 xrefs:
// > ??> @ 0xe0278
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:17:29 +0000
//
__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;
}
}