//
// EVP_PKEY_meth_add0 from 0x806f90 to 0x807004 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x63c5c
//
// 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 EVP_PKEY_meth_add0(int a1)
{
int v2; // r0
int v4; // [sp+4h] [bp-4h]
v2 = dword_AD43AC;
if ( !dword_AD43AC )
{
v4 = a1;
v2 = OPENSSL_sk_new(sub_806D90);
a1 = v4;
dword_AD43AC = v2;
if ( !v2 )
return 0;
}
if ( !OPENSSL_sk_push(v2, a1) )
return 0;
OPENSSL_sk_sort(dword_AD43AC);
return 1;
}