//
// EVP_PKEY_asn1_add0 from 0xfe6e38 to 0xfe6ea4 (108 bytes)
//
// 2 xrefs:
// > EVP_PKEY_asn1_add_alias @ 0xfe7104
// > ??> @ 0xfeb90
//
// 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:15:40 +0000
//
__int64 __fastcall EVP_PKEY_asn1_add0(__int64 a1)
{
__int64 v2; // x0
__int64 v4; // [xsp+28h] [xbp+28h]
v2 = qword_1566308;
if ( !qword_1566308 )
{
v4 = a1;
v2 = OPENSSL_sk_new(sub_FE6BA0);
qword_1566308 = v2;
a1 = v4;
if ( !v2 )
return 0;
}
if ( !(unsigned int)OPENSSL_sk_push(v2, a1) )
return 0;
OPENSSL_sk_sort(qword_1566308);
return 1;
}