//
// X509_VERIFY_PARAM_free from 0x8466a8 to 0x846764 (188 bytes)
//
// 10 xrefs:
// > SSL_CTX_free @ 0x798754
// > SSL_free @ 0x799f0c
// > X509_STORE_new @ 0x83f790
// > X509_STORE_free @ 0x83f884
// > X509_STORE_CTX_cleanup @ 0x845bf4
// > X509_STORE_CTX_set0_param @ 0x8462ac
// > X509_VERIFY_PARAM_add0_table @ 0x8472e0
// > ??> @ 0x5becc
// > X509_VERIFY_PARAM_table_cleanup @ 0x847420
// > ??> @ 0xab878c
//
// 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_VERIFY_PARAM_free(_DWORD *a1)
{
int v2; // r0
void *v3; // r0
void *v4; // r0
void *v5; // r0
if ( a1 )
{
a1[6] = -1;
a1[7] = -1;
*a1 = 0;
a1[4] = 0;
a1[5] = 0;
a1[2] = 0;
a1[3] = 0;
OPENSSL_sk_pop_free(a1[8], (void (__fastcall *)(int))ASN1_OBJECT_free);
v2 = a1[9];
a1[8] = 0;
OPENSSL_sk_pop_free(v2, (void (__fastcall *)(int))sub_846694);
v3 = (void *)a1[11];
a1[9] = 0;
CRYPTO_free(v3, (int)"crypto/x509/x509_vpm.c", 100);
v4 = (void *)a1[12];
a1[11] = 0;
CRYPTO_free(v4, (int)"crypto/x509/x509_vpm.c", 102);
v5 = (void *)a1[14];
a1[12] = 0;
a1[13] = 0;
CRYPTO_free(v5, (int)"crypto/x509/x509_vpm.c", 105);
a1[14] = 0;
a1[15] = 0;
CRYPTO_free(a1, (int)"crypto/x509/x509_vpm.c", 126);
}
}