//
// ENGINE_get_pkey_meth from 0x101d560 to 0x101d5d4 (116 bytes)
//
// 3 xrefs:
// > EVP_PKEY_CTX_new @ 0x102c338
// > EVP_PKEY_CTX_new_id @ 0x102c580
// > ??> @ 0x76df8
//
// 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:09 +0000
//
__int64 __fastcall ENGINE_get_pkey_meth(__int64 a1, unsigned int a2)
{
unsigned int (__fastcall *pkey_meths)(__int64, __int64 *, _QWORD, _QWORD); // x4
__int64 v6; // [xsp+28h] [xbp+28h] BYREF
pkey_meths = (unsigned int (__fastcall *)(__int64, __int64 *, _QWORD, _QWORD))ENGINE_get_pkey_meths(a1);
if ( pkey_meths && pkey_meths(a1, &v6, 0, a2) )
return v6;
ERR_put_error(38, 192, 101, "crypto/engine/tb_pkmeth.c", 76);
return 0;
}