//
// tree_find_sk from 0xad8930 to 0xad8978 (72 bytes)
//
// 2 xrefs:
// > X509_policy_check @ 0xa61058
// > ??> @ 0x8207c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:09:29 +0000
//
int __fastcall tree_find_sk(_DWORD *a1, int a2)
{
unsigned int v3; // r1
char *v5; // [sp+4h] [bp-1Ch] BYREF
char v6; // [sp+10h] [bp-10h] BYREF
int v7; // [sp+14h] [bp-Ch]
v7 = a2;
v5 = &v6;
v3 = OPENSSL_sk_find((int)a1, (int)&v5);
if ( v3 == -1 )
return 0;
else
return OPENSSL_sk_value(a1, v3);
}