//
// sub_854924 from 0x854924 to 0x8549d4 (176 bytes)
//
// 1 xrefs:
// > ??> @ 0xab3d38
//
// 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 sub_854924(int a1, _DWORD *a2, int a3, int a4)
{
int v5; // r11
signed int v8; // r4
int v9; // r0
unsigned int v10; // r1
int v12; // r6
int v13; // r2
int v14; // r3
v5 = a4 + 2;
v8 = 0;
while ( 1 )
{
v9 = OPENSSL_sk_num((int)a2);
v10 = v8;
if ( v8++ >= v9 )
break;
v12 = OPENSSL_sk_value(a2, v10);
BIO_printf(a3, "%*sPolicy: ", a4, &byte_9B1912);
i2a_ASN1_OBJECT(a3, *(_DWORD *)v12, v13, v14);
BIO_puts(a3, (int)"\n");
if ( *(_DWORD *)(v12 + 4) )
sub_854684(a3, *(_DWORD **)(v12 + 4), v5);
}
return 1;
}