//
// CMS_add1_cert from 0xa8a598 to 0xa8a5bc (36 bytes)
//
// 2 xrefs:
// > CMS_add1_signer @ 0xa8cdd8
// > ??> @ 0x83f4c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:08:54 +0000
//
int __fastcall CMS_add1_cert(int *a1, int a2)
{
int v3; // r4
v3 = CMS_add0_cert(a1, a2);
if ( v3 > 0 )
X509_up_ref(a2);
return v3;
}