//
// X509_OBJECT_up_ref_count from 0x83f980 to 0x83f9ac (44 bytes)
//
// 4 xrefs:
// > X509_STORE_CTX_get_by_subject @ 0x83fb8c
// > X509_STORE_add_cert @ 0x840008
// > X509_STORE_add_crl @ 0x84010c
// > ??> @ 0x66fdc
//
// 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 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;
}