//
// EVP_PKEY_meth_find from 0xdadcfc to 0xdadd74 (120 bytes)
//
// 3 xrefs:
// > EVP_PKEY_CTX_new @ 0xdae064
// > EVP_PKEY_CTX_new_id @ 0xdae2a8
// > ??> @ 0x579c0
//
// 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_meth_find(int a1)
{
unsigned int v1; // w0
__int64 result; // x0
_DWORD *v3; // [xsp+28h] [xbp+28h] BYREF
_DWORD v4[52]; // [xsp+30h] [xbp+30h] BYREF
v4[0] = a1;
v3 = v4;
if ( qword_125EF80 )
{
v1 = OPENSSL_sk_find(qword_125EF80, v4);
if ( (v1 & 0x80000000) == 0 )
return OPENSSL_sk_value(qword_125EF80, v1);
}
result = OBJ_bsearch_(&v3, &off_1238FE0, 10, 8, sub_DADCE4);
if ( result )
return *(_QWORD *)result;
return result;
}