//
// X509_policy_level_node_count from 0xe6f590 to 0xe6f5e0 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x3c4e0
//
// 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
//
__int64 __fastcall X509_policy_level_node_count(__int64 a1)
{
__int64 v1; // x1
unsigned int *v2; // x0
unsigned int v3; // w19
if ( !a1 )
return 0;
v1 = *(_QWORD *)(a1 + 16);
v2 = *(unsigned int **)(a1 + 8);
v3 = v1 != 0;
if ( v2 )
v3 += OPENSSL_sk_num(v2);
return v3;
}