//
// X509_OBJECT_free from 0x83fa54 to 0x83faa4 (80 bytes)
//
// 11 xrefs:
// > X509_STORE_CTX_get_obj_by_subject @ 0x83fbf4
// > X509_STORE_CTX_get1_certs @ 0x83fd2c
// > X509_STORE_CTX_get1_certs @ 0x83fd70
// > X509_STORE_CTX_get1_crls @ 0x83fdd8
// > X509_STORE_CTX_get1_crls @ 0x83fea8
// > X509_STORE_add_cert @ 0x840058
// > X509_STORE_add_crl @ 0x84015c
// > X509_STORE_CTX_get1_issuer @ 0x840230
// > X509_STORE_CTX_get1_issuer @ 0x84025c
// > X509_STORE_CTX_get1_issuer @ 0x840370
// > ??> @ 0x6702c
//
// 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
//
void __fastcall X509_OBJECT_free(_DWORD *a1)
{
if ( a1 )
{
if ( *a1 == 1 )
{
X509_free(a1[1]);
}
else if ( *a1 == 2 )
{
X509_CRL_free(a1[1]);
}
CRYPTO_free(a1, (int)"crypto/x509/x509_lu.c", 436);
}
}