//
// X509_policy_level_get0_node from 0xad88a8 to 0xad88d8 (48 bytes)
//
// 1 xrefs:
// > ??> @ 0x851ac
//
// 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
//
int __fastcall X509_policy_level_get0_node(int a1, unsigned int a2)
{
int result; // r0
if ( !a1 )
return 0;
result = *(_DWORD *)(a1 + 8);
if ( result )
{
if ( !a2 )
return result;
--a2;
}
return OPENSSL_sk_value(*(_DWORD **)(a1 + 4), a2);
}