//
// sub_877D44 from 0x877d44 to 0x877d84 (64 bytes)
//
// 5 xrefs:
// > CMS_add_standard_smimecap @ 0x877ed4
// > CMS_add_standard_smimecap @ 0x877eec
// > CMS_add_standard_smimecap @ 0x877f04
// > CMS_add_standard_smimecap @ 0x877f1c
// > CMS_add_standard_smimecap @ 0x877f34
//
// 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 sub_877D44(int **a1, unsigned int a2, int a3)
{
char *v6; // r0
v6 = OBJ_nid2sn(a2);
if ( EVP_get_cipherbyname((int)v6) )
return CMS_add_simple_smimecap(a1, a2, a3);
else
return 1;
}