//
// EVP_PKEY_meth_add0 from 0xa1bb90 to 0xa1bc04 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x7d6dc
//
// 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:52 +0000
//
int __fastcall EVP_PKEY_meth_add0(int a1)
{
int v2; // r0
int v4; // [sp+4h] [bp-4h]
v2 = dword_D35638;
if ( !dword_D35638 )
{
v4 = a1;
v2 = OPENSSL_sk_new(sub_A1B990);
a1 = v4;
dword_D35638 = v2;
if ( !v2 )
return 0;
}
if ( !OPENSSL_sk_push(v2, a1) )
return 0;
OPENSSL_sk_sort(dword_D35638);
return 1;
}