//
// cms_get0_enveloped from 0x872cc0 to 0x872d14 (84 bytes)
//
// 6 xrefs:
// > CMS_get0_RecipientInfos @ 0x872e10
// > CMS_EnvelopedData_create @ 0x872e78
// > CMS_add0_recipient_key @ 0x873160
// > CMS_add1_recipient_cert @ 0x874008
// > CMS_add0_recipient_password @ 0x875f78
// > ??> @ 0x6a01c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
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;
}