//
// SMIME_write_CMS from 0xe1ed20 to 0xe1ed9c (124 bytes)
//
// 1 xrefs:
// > ??> @ 0x2c778
//
// 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
//
__int64 __fastcall SMIME_write_CMS(__int64 a1, __int64 *a2, __int64 a3, __int64 a4)
{
__int64 v5; // x0
OBJ_obj2nid(*a2);
v5 = CMS_get0_eContentType(a2);
OBJ_obj2nid(v5);
return SMIME_write_ASN1(a1, a2, a3, a4);
}