//
// X509_policy_tree_get0_user_policies from 0xe6f574 to 0xe6f590 (28 bytes)
//
// 2 xrefs:
// > X509_policy_check @ 0xdf3e04
// > ??> @ 0x6c480
//
// 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 X509_policy_tree_get0_user_policies(__int64 result)
{
if ( result )
{
if ( (*(_DWORD *)(result + 40) & 2) != 0 )
return *(_QWORD *)(result + 24);
else
return *(_QWORD *)(result + 32);
}
return result;
}