//
// X509_policy_tree_get0_user_policies from 0x10ed574 to 0x10ed590 (28 bytes)
//
// 2 xrefs:
// > X509_policy_check @ 0x1072144
// > ??> @ 0x92440
//
// 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:18:05 +0000
//
__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;
}