//
// cms_get0_enveloped from 0x109ba4c to 0x109baa8 (92 bytes)
//
// 6 xrefs:
// > CMS_get0_RecipientInfos @ 0x109bb94
// > CMS_EnvelopedData_create @ 0x109bc08
// > CMS_add0_recipient_key @ 0x109bed4
// > CMS_add1_recipient_cert @ 0x109cc8c
// > CMS_add0_recipient_password @ 0x109ec58
// > ??> @ 0x52d80
//
// 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:28 +0000
//
__int64 __fastcall cms_get0_enveloped(__int64 *a1)
{
if ( (unsigned int)OBJ_obj2nid(*a1) == 23 )
return a1[1];
ERR_put_error(46, 131, 107, (__int64)"crypto/cms/cms_env.c", 27);
return 0;
}