//
// sub_10A0988 from 0x10a0988 to 0x10a09d8 (80 bytes)
//
// 5 xrefs:
// > CMS_add_standard_smimecap @ 0x10a0b00
// > CMS_add_standard_smimecap @ 0x10a0b14
// > CMS_add_standard_smimecap @ 0x10a0b28
// > CMS_add_standard_smimecap @ 0x10a0b3c
// > CMS_add_standard_smimecap @ 0x10a0b50
//
// 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:31 +0000
//
__int64 __fastcall sub_10A0988(int **a1, unsigned int a2, int a3)
{
char *v4; // x0
v4 = OBJ_nid2sn(a2);
if ( EVP_get_cipherbyname((__int64)v4) )
return CMS_add_simple_smimecap(a1, a2, a3);
else
return 1;
}