//
// EVP_PKEY_asn1_add0 from 0x9d6e98 to 0x9d6f0c (116 bytes)
//
// 2 xrefs:
// > EVP_PKEY_asn1_add_alias @ 0x9d7178
// > ??> @ 0x7807c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:07:15 +0000
//
int __fastcall EVP_PKEY_asn1_add0(int a1)
{
int v2; // r0
int v4; // [sp+4h] [bp-4h]
v2 = dword_D34068;
if ( !dword_D34068 )
{
v4 = a1;
v2 = OPENSSL_sk_new(sub_9D6C1C);
a1 = v4;
dword_D34068 = v2;
if ( !v2 )
return 0;
}
if ( !OPENSSL_sk_push(v2, a1) )
return 0;
OPENSSL_sk_sort(dword_D34068);
return 1;
}