//
// X509_VERIFY_PARAM_new from 0x106c6b0 to 0x106c778 (200 bytes)
//
// 5 xrefs:
// > SSL_CTX_new @ 0xfbf8b0
// > SSL_new @ 0xfc18a8
// > X509_STORE_new @ 0x1065a1c
// > X509_STORE_CTX_init @ 0x106bd84
// > ??> @ 0xe1988
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:16:57 +0000
//
char *X509_VERIFY_PARAM_new()
{
char *v0; // x0
char *v1; // x19
char *v2; // x2
_OWORD *v3; // x1
int *v4; // x0
void *v5; // x0
v0 = (char *)CRYPTO_zalloc(&qword_70, (__int64)"crypto/x509/x509_vpm.c", 114);
v1 = v0;
if ( v0 )
{
v2 = v0;
v3 = v0 + 32;
v4 = *((int **)v0 + 6);
*(_QWORD *)v2 = 0;
*((_OWORD *)v2 + 1) = 0u;
*v3 = xmmword_106C780;
OPENSSL_sk_pop_free(v4, (void (__fastcall *)(__int64))ASN1_OBJECT_free);
*((_QWORD *)v1 + 6) = 0;
OPENSSL_sk_pop_free(*((int **)v1 + 7), (void (__fastcall *)(__int64))sub_106C590);
*((_QWORD *)v1 + 7) = 0;
CRYPTO_free(*((void **)v1 + 9), (__int64)"crypto/x509/x509_vpm.c", 100);
*((_QWORD *)v1 + 9) = 0;
CRYPTO_free(*((void **)v1 + 10), (__int64)"crypto/x509/x509_vpm.c", 102);
*((_QWORD *)v1 + 10) = 0;
v5 = *((void **)v1 + 12);
*((_QWORD *)v1 + 11) = 0;
CRYPTO_free(v5, (__int64)"crypto/x509/x509_vpm.c", 105);
*((_QWORD *)v1 + 12) = 0;
*((_QWORD *)v1 + 13) = 0;
}
return v1;
}