//
// X509_OBJECT_up_ref_count from 0xa54580 to 0xa545ac (44 bytes)
//
// 4 xrefs:
// > X509_STORE_CTX_get_by_subject @ 0xa5478c
// > X509_STORE_add_cert @ 0xa54c08
// > X509_STORE_add_crl @ 0xa54d0c
// > ??> @ 0x80a5c
//
// 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:25 +0000
//
int __fastcall X509_OBJECT_up_ref_count(_DWORD *a1)
{
if ( *a1 == 1 )
return X509_up_ref(a1[1]);
if ( *a1 == 2 )
return X509_CRL_up_ref(a1[1]);
return 1;
}