//
// EVP_PKEY_asn1_free from 0x7c2438 to 0x7c2490 (88 bytes)
//
// 4 xrefs:
// > EVP_PKEY_asn1_new @ 0x7c2538
// > EVP_PKEY_asn1_add_alias @ 0x7c2594
// > engine_pkey_asn1_meths_free @ 0x7f88b0
// > ??> @ 0x5e62c
//
// 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_free(int result)
{
int v1; // r4
if ( result )
{
if ( (*(_DWORD *)(result + 8) & 2) != 0 )
{
v1 = result;
CRYPTO_free(*(_DWORD *)(result + 12), "crypto/asn1/ameth_lib.c", 298);
CRYPTO_free(*(_DWORD *)(v1 + 16), "crypto/asn1/ameth_lib.c", 299);
return CRYPTO_free(v1, "crypto/asn1/ameth_lib.c", 300);
}
}
return result;
}