//
// policy_cache_find_data from 0x84b874 to 0x84b8b4 (64 bytes)
//
// 2 xrefs:
// > policy_cache_set_mapping @ 0x84bab4
// > ??> @ 0x6858c
//
// 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
//
int __fastcall policy_cache_find_data(int a1, int a2)
{
unsigned int v3; // r1
_DWORD v5[4]; // [sp+0h] [bp-10h] BYREF
v5[1] = a2;
v3 = OPENSSL_sk_find(*(_DWORD *)(a1 + 4), (int)v5);
if ( v3 == -1 )
return 0;
else
return OPENSSL_sk_value(*(_DWORD **)(a1 + 4), v3);
}