//
// X509_policy_tree_get0_user_policies from 0xad8850 to 0xad886c (28 bytes)
//
// 2 xrefs:
// > X509_policy_check @ 0xa61178
// > ??> @ 0x8209c
//
// 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:09:29 +0000
//
_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;
}