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