//
// EVP_PKEY_asn1_add_alias from 0xd68d74 to 0xd68df0 (124 bytes)
//
// 1 xrefs:
// > ??> @ 0xaf878
//
// 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
//
__int64 __fastcall EVP_PKEY_asn1_add_alias(int a1, int a2)
{
__int64 v3; // x0
__int64 v4; // x19
v3 = EVP_PKEY_asn1_new(a2, 1, 0, 0);
v4 = v3;
if ( !v3 )
return 0;
*(_DWORD *)(v3 + 4) = a1;
if ( (unsigned int)EVP_PKEY_asn1_add0(v3) )
return 1;
EVP_PKEY_asn1_free(v4);
return 0;
}