//
// EVP_PKEY_asn1_free from 0xfe6fb0 to 0xfe7018 (104 bytes)
//
// 4 xrefs:
// > EVP_PKEY_asn1_new @ 0xfe70c8
// > EVP_PKEY_asn1_add_alias @ 0xfe7128
// > engine_pkey_asn1_meths_free @ 0x101cb18
// > ??> @ 0xe4808
//
// 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_free(__int64 result)
{
__int64 v1; // x19
if ( result )
{
if ( (*(_QWORD *)(result + 8) & 2) != 0 )
{
v1 = result;
CRYPTO_free(*(_QWORD *)(result + 16), "crypto/asn1/ameth_lib.c", 298);
CRYPTO_free(*(_QWORD *)(v1 + 24), "crypto/asn1/ameth_lib.c", 299);
return CRYPTO_free(v1, "crypto/asn1/ameth_lib.c", 300);
}
}
return result;
}