//
// X509_VERIFY_PARAM_free from 0xa5b2a8 to 0xa5b364 (188 bytes)
//
// 10 xrefs:
// > SSL_CTX_free @ 0x9ad358
// > SSL_free @ 0x9aeb10
// > X509_STORE_new @ 0xa54390
// > X509_STORE_free @ 0xa54484
// > X509_STORE_CTX_cleanup @ 0xa5a7f4
// > X509_STORE_CTX_set0_param @ 0xa5aeac
// > X509_VERIFY_PARAM_add0_table @ 0xa5bee0
// > ??> @ 0x7594c
// > X509_VERIFY_PARAM_table_cleanup @ 0xa5c020
// > ??> @ 0xd1d750
//
// 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:29 +0000
//
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_A5B294);
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);
}
}