//
// X509_VERIFY_PARAM_add0_table from 0xdeeeb4 to 0xdeef40 (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x2f0b8
//
// 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
//
int *__fastcall X509_VERIFY_PARAM_add0_table(__int64 a1)
{
int v2; // w21
int *result; // x0
char *v4; // x0
if ( qword_125F720 )
{
v2 = OPENSSL_sk_find(qword_125F720, a1);
result = (int *)qword_125F720;
if ( v2 != -1 )
{
v4 = (char *)OPENSSL_sk_value(qword_125F720, v2);
X509_VERIFY_PARAM_free(v4);
OPENSSL_sk_delete((int *)qword_125F720, v2);
result = (int *)qword_125F720;
}
return (int *)((unsigned int)OPENSSL_sk_push(result, a1) != 0);
}
result = (int *)OPENSSL_sk_new((__int64)sub_DEE350);
qword_125F720 = (__int64)result;
if ( result )
return (int *)((unsigned int)OPENSSL_sk_push(result, a1) != 0);
return result;
}