//
// X509_POLICY_NODE_print from 0x85570c to 0x8557d0 (196 bytes)
//
// 1 xrefs:
// > ??> @ 0x68e1c
//
// 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_NODE_print(int a1, _DWORD **a2, int a3)
{
_DWORD *v3; // r6
int v6; // r2
int v7; // r3
int v8; // r4
const char *v9; // r3
_DWORD *v10; // r1
v3 = *a2;
BIO_printf(a1, "%*sPolicy: ", a3, &byte_9B1912);
i2a_ASN1_OBJECT(a1, v3[1], v6, v7);
BIO_puts(a1, (int)"\n");
v8 = a3 + 2;
if ( (*v3 & 0x10) != 0 )
v9 = "Critical";
else
v9 = "Non Critical";
BIO_printf(a1, "%*s%s\n", v8, &byte_9B1912, v9);
v10 = (_DWORD *)v3[2];
if ( v10 )
return sub_854684(a1, v10, v8);
else
return BIO_printf(a1, "%*sNo Qualifiers\n", v8, &byte_9B1912);
}