//
// EVP_PKEY_asn1_free from 0x9d7038 to 0x9d7090 (88 bytes)
//
// 4 xrefs:
// > EVP_PKEY_asn1_new @ 0x9d7138
// > EVP_PKEY_asn1_add_alias @ 0x9d7194
// > engine_pkey_asn1_meths_free @ 0xa0d4b0
// > ??> @ 0x780ac
//
// 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:15 +0000
//
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;
}