//
// X509_policy_tree_get0_user_policies from 0x8c3850 to 0x8c386c (28 bytes)
//
// 2 xrefs:
// > X509_policy_check @ 0x84c578
// > ??> @ 0x6861c
//
// 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
//
_DWORD *__fastcall X509_policy_tree_get0_user_policies(_DWORD *result)
{
if ( result )
{
if ( (result[5] & 2) != 0 )
return (_DWORD *)result[3];
else
return (_DWORD *)result[4];
}
return result;
}