//
// sub_E64278 from 0xe64278 to 0xe643b4 (316 bytes)
//
// 1 xrefs:
// > ??> @ 0x1227878
//
// 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
//
__int64 __fastcall sub_E64278(__int64 a1, __int64 a2, __int64 a3, int a4)
{
int v7; // w24
int v8; // w20
__int64 *v9; // x21
bool v10; // cc
int v11; // w1
if ( (int)BIO_printf(a3, "%*sIssuer: ", a4, &byte_F288A0) <= 0
|| (int)X509_NAME_print_ex(a3, *(_QWORD *)a2, 0, 8520479) <= 0 )
{
return 0;
}
v7 = 2 * a4;
v8 = 0;
while ( 1 )
{
v10 = v8 < (int)OPENSSL_sk_num(*(unsigned int **)(a2 + 8));
v11 = v8++;
if ( !v10 )
break;
v9 = (__int64 *)OPENSSL_sk_value(*(_QWORD *)(a2 + 8), v11);
if ( (int)BIO_printf(a3, "\n%*s", v7, &byte_F288A0) <= 0
|| (int)i2a_ASN1_OBJECT(a3, *v9) <= 0
|| (int)BIO_puts(a3, (__int64)" - ") <= 0
|| (int)GENERAL_NAME_print(a3, v9[1]) <= 0 )
{
return 0;
}
}
return 1;
}