//
// X509_policy_level_node_count from 0xad886c to 0xad88a8 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x8519c
//
// 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_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;
}