//
// EVP_PKEY_type from 0x102aac4 to 0x102ab18 (84 bytes)
//
// 4 xrefs:
// > EVP_PKEY_base_id @ 0x102ab24
// > X509_get_signature_type @ 0x1066ed8
// > ASN1_item_verify @ 0x108b17c
// > ??> @ 0xf8e30
//
// 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:16:16 +0000
//
__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;
}
}