//
// X509_OBJECT_up_ref_count from 0xde7948 to 0xde7974 (44 bytes)
//
// 4 xrefs:
// > X509_STORE_CTX_get_by_subject @ 0xde7b94
// > X509_STORE_add_cert @ 0xde808c
// > X509_STORE_add_crl @ 0xde8194
// > ??> @ 0x34128
//
// 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
//
__int64 __fastcall X509_OBJECT_up_ref_count(__int64 a1)
{
if ( *(_DWORD *)a1 == 1 )
return X509_up_ref(*(_QWORD *)(a1 + 8));
if ( *(_DWORD *)a1 == 2 )
return X509_CRL_up_ref(*(_QWORD *)(a1 + 8));
return 1;
}