//
// EVP_PKEY_type from 0xdac764 to 0xdac7b8 (84 bytes)
//
// 4 xrefs:
// > EVP_PKEY_base_id @ 0xdac7c4
// > X509_get_signature_type @ 0xde8b98
// > ASN1_item_verify @ 0xe0ce7c
// > ??> @ 0xbef20
//
// 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_type(unsigned int a1)
{
unsigned int *v1; // x0
unsigned int v2; // w19
__int64 v4; // [xsp+28h] [xbp+28h] BYREF
v1 = (unsigned int *)EVP_PKEY_asn1_find(&v4, a1);
if ( v1 )
{
v2 = *v1;
ENGINE_finish(v4);
return v2;
}
else
{
ENGINE_finish(v4);
return 0;
}
}