//
// policy_cache_find_data from 0x107153c to 0x1071584 (72 bytes)
//
// 2 xrefs:
// > policy_cache_set_mapping @ 0x1071768
// > ??> @ 0x8c068
//
// 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:17:01 +0000
//
__int64 __fastcall policy_cache_find_data(__int64 a1, __int64 a2)
{
__int64 v3; // x0
int v4; // w1
_BYTE v6[8]; // [xsp+20h] [xbp+20h] BYREF
__int64 v7; // [xsp+28h] [xbp+28h]
v3 = *(_QWORD *)(a1 + 8);
v7 = a2;
v4 = OPENSSL_sk_find(v3, (__int64)v6);
if ( v4 == -1 )
return 0;
else
return OPENSSL_sk_value(*(_QWORD *)(a1 + 8), v4);
}