//
// policy_cache_find_data from 0xa60474 to 0xa604b4 (64 bytes)
//
// 2 xrefs:
// > policy_cache_set_mapping @ 0xa606b4
// > ??> @ 0x8200c
//
// 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:08:33 +0000
//
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);
}