//
// X509_VERIFY_PARAM_add0_table from 0x106d1f4 to 0x106d280 (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x467e0
//
// 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:58 +0000
//
int *__fastcall X509_VERIFY_PARAM_add0_table(__int64 a1)
{
int v2; // w21
int *result; // x0
char *v4; // x0
if ( qword_1568520 )
{
v2 = OPENSSL_sk_find(qword_1568520, a1);
result = (int *)qword_1568520;
if ( v2 != -1 )
{
v4 = (char *)OPENSSL_sk_value(qword_1568520, v2);
X509_VERIFY_PARAM_free(v4);
OPENSSL_sk_delete((int *)qword_1568520, v2);
result = (int *)qword_1568520;
}
return (int *)((unsigned int)OPENSSL_sk_push(result, a1) != 0);
}
result = (int *)OPENSSL_sk_new((__int64)sub_106C690);
qword_1568520 = (__int64)result;
if ( result )
return (int *)((unsigned int)OPENSSL_sk_push(result, a1) != 0);
return result;
}