//
// sub_8B9DD0 from 0x8b9dd0 to 0x8b9ed0 (256 bytes)
//
// 1 xrefs:
// > ??> @ 0xab5424
//
// 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_8B9DD0(int a1, int *a2, int a3, int a4)
{
int v7; // r8
signed int v8; // r5
int v9; // r6
int v10; // r2
int v11; // r3
int v12; // r0
unsigned int v13; // r1
if ( BIO_printf(a3, "%*sIssuer: ", a4, &byte_9B1912) <= 0 || X509_NAME_print_ex(a3, *a2, 0, 8520479) <= 0 )
return 0;
v7 = 2 * a4;
v8 = 0;
while ( 1 )
{
v12 = OPENSSL_sk_num(a2[1]);
v13 = v8;
if ( v8++ >= v12 )
break;
v9 = OPENSSL_sk_value((_DWORD *)a2[1], v13);
if ( BIO_printf(a3, "\n%*s", v7, &byte_9B1912) <= 0
|| i2a_ASN1_OBJECT(a3, *(_DWORD *)v9, v10, v11) <= 0
|| BIO_puts(a3, (int)" - ") <= 0
|| GENERAL_NAME_print(a3, *(_DWORD **)(v9 + 4)) <= 0 )
{
return 0;
}
}
return 1;
}