//
// X509_policy_level_node_count from 0x8c386c to 0x8c38a8 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x6b71c
//
// 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_node_count(int result)
{
int v1; // r0
int v2; // t0
int v3; // r4
if ( result )
{
v2 = result + 4;
v1 = *(_DWORD *)(result + 4);
v3 = *(_DWORD *)(v2 + 4) != 0;
if ( v1 )
v3 += OPENSSL_sk_num(v1);
return v3;
}
return result;
}