//
// X509_VERIFY_PARAM_add0_table from 0x8472a4 to 0x847324 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x67a3c
//
// 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(int a1)
{
int v2; // r6
int *result; // r0
_DWORD *v4; // r0
if ( dword_AD484C )
{
v2 = OPENSSL_sk_find(dword_AD484C, a1);
result = (int *)dword_AD484C;
if ( v2 != -1 )
{
v4 = (_DWORD *)OPENSSL_sk_value((_DWORD *)dword_AD484C, v2);
X509_VERIFY_PARAM_free(v4);
OPENSSL_sk_delete((int *)dword_AD484C, v2);
result = (int *)dword_AD484C;
}
return (int *)(OPENSSL_sk_push(result, a1) != 0);
}
result = OPENSSL_sk_new((int)sub_846784);
dword_AD484C = (int)result;
if ( result )
return (int *)(OPENSSL_sk_push(result, a1) != 0);
return result;
}