//
// EVP_PKEY_meth_find from 0x102c05c to 0x102c0d4 (120 bytes)
//
// 3 xrefs:
// > EVP_PKEY_CTX_new @ 0x102c3c4
// > EVP_PKEY_CTX_new_id @ 0x102c608
// > ??> @ 0x78d90
//
// 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:17 +0000
//
__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_1567D80 )
{
v1 = OPENSSL_sk_find(qword_1567D80, v4);
if ( (v1 & 0x80000000) == 0 )
return OPENSSL_sk_value(qword_1567D80, v1);
}
result = OBJ_bsearch_(&v3, &off_15522C0, 10, 8, sub_102C044);
if ( result )
return *(_QWORD *)result;
return result;
}