//
// X509_policy_level_node_count from 0x10ed590 to 0x10ed5e0 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x57628
//
// 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_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;
}