//
// policy_cache_find_data from 0xdf31fc to 0xdf3244 (72 bytes)
//
// 2 xrefs:
// > policy_cache_set_mapping @ 0xdf3428
// > ??> @ 0x67338
//
// 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
//
__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);
}