//
// X509_policy_level_get0_node from 0x8c38a8 to 0x8c38d8 (48 bytes)
//
// 1 xrefs:
// > ??> @ 0x6b72c
//
// 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
//
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);
}