//
// EVP_PKEY_meth_add0 from 0xdadec0 to 0xdadf2c (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x2fdf0
//
// 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
//
__int64 __fastcall EVP_PKEY_meth_add0(__int64 a1)
{
__int64 v2; // x0
__int64 v4; // [xsp+28h] [xbp+28h]
v2 = qword_125EF80;
if ( !qword_125EF80 )
{
v4 = a1;
v2 = OPENSSL_sk_new(sub_DADCCC);
qword_125EF80 = v2;
a1 = v4;
if ( !v2 )
return 0;
}
if ( !(unsigned int)OPENSSL_sk_push(v2, a1) )
return 0;
OPENSSL_sk_sort(qword_125EF80);
return 1;
}