//
// CMS_add1_cert from 0x109e5c4 to 0x109e5fc (56 bytes)
//
// 2 xrefs:
// > CMS_add1_signer @ 0x10a0e40
// > ??> @ 0xdff90
//
// 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:30 +0000
//
__int64 __fastcall CMS_add1_cert(__int64 *a1, __int64 a2)
{
int v3; // w19
v3 = CMS_add0_cert(a1, a2);
if ( v3 > 0 )
X509_up_ref(a2);
return (unsigned int)v3;
}