//
// EVP_PKEY_asn1_add_alias from 0x7c254c to 0x7c25a0 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x5e64c
//
// 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
//
int __fastcall EVP_PKEY_asn1_add_alias(int a1, int a2)
{
int v3; // r0
int v4; // r5
v3 = EVP_PKEY_asn1_new(a2, 1, 0, 0);
v4 = v3;
if ( !v3 )
return 0;
*(_DWORD *)(v3 + 4) = a1;
if ( !EVP_PKEY_asn1_add0(v3) )
{
EVP_PKEY_asn1_free(v4);
return 0;
}
return 1;
}