//
// EVP_PKEY_type from 0x8057ac to 0x8057e0 (52 bytes)
//
// 4 xrefs:
// > EVP_PKEY_base_id @ 0x8057ec
// > X509_get_signature_type @ 0x840ab0
// > ASN1_item_verify @ 0x864bac
// > ??> @ 0x63b5c
//
// 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_type(int a1)
{
int *v1; // r0
int v2; // r4
int v4; // [sp+4h] [bp-4h] BYREF
v1 = (int *)EVP_PKEY_asn1_find(&v4, a1);
if ( v1 )
v2 = *v1;
else
v2 = 0;
ENGINE_finish(v4);
return v2;
}