//
// cms_get0_enveloped from 0xa878c0 to 0xa87914 (84 bytes)
//
// 6 xrefs:
// > CMS_get0_RecipientInfos @ 0xa87a10
// > CMS_EnvelopedData_create @ 0xa87a78
// > CMS_add0_recipient_key @ 0xa87d60
// > CMS_add1_recipient_cert @ 0xa88c08
// > CMS_add0_recipient_password @ 0xa8ab78
// > ??> @ 0x83a9c
//
// 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_get0_enveloped(int *a1)
{
if ( OBJ_obj2nid(*a1) == (_BYTE *)&dword_14 + 3 )
return a1[1];
ERR_put_error(46, 131, 107, (int)"crypto/cms/cms_env.c", 27);
return 0;
}