//
// sub_85B704 from 0x85b704 to 0x85b7e0 (220 bytes)
//
// 1 xrefs:
// > ??> @ 0xab43ac
//
// 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_85B704(int a1, _DWORD *a2, int a3, int a4)
{
int v7; // r0
signed int v8; // r4
int v9; // r5
char *v10; // r9
int v11; // r0
unsigned int v12; // r1
v7 = ASN1_INTEGER_get(*a2);
v8 = 0;
BIO_printf(a3, "%*sVersion: %ld (0x%lX)", a4, &byte_9B1912, v7 + 1, v7);
while ( 1 )
{
v11 = OPENSSL_sk_num(a2[1]);
v12 = v8;
if ( v8++ >= v11 )
break;
v9 = OPENSSL_sk_value((_DWORD *)a2[1], v12);
v10 = (char *)i2s_ASN1_INTEGER(0, *(_DWORD *)v9);
BIO_printf(a3, "\n%*sZone: %s, User: ", a4, &byte_9B1912, v10);
CRYPTO_free(v10, (int)"crypto/x509v3/v3_sxnet.c", 70);
ASN1_STRING_print(a3, *(int **)(v9 + 4));
}
return 1;
}