//
// sub_10802A4 from 0x10802a4 to 0x108039c (248 bytes)
//
// 1 xrefs:
// > ??> @ 0x153d758
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:17:09 +0000
//
__int64 __fastcall sub_10802A4(__int64 a1, __int64 a2, __int64 a3, unsigned int a4)
{
__int64 v7; // x0
int v8; // w19
_QWORD *v9; // x20
void *v10; // x21
bool v11; // cc
int v12; // w1
v7 = ASN1_INTEGER_get(*(_QWORD *)a2);
v8 = 0;
BIO_printf(a3, "%*sVersion: %ld (0x%lX)", a4, &byte_11B8890, v7 + 1, v7);
while ( 1 )
{
v11 = v8 < (int)OPENSSL_sk_num(*(unsigned int **)(a2 + 8));
v12 = v8++;
if ( !v11 )
break;
v9 = (_QWORD *)OPENSSL_sk_value(*(_QWORD *)(a2 + 8), v12);
v10 = (void *)i2s_ASN1_INTEGER(0, *v9);
BIO_printf(a3, "\n%*sZone: %s, User: ", a4, &byte_11B8890, v10);
CRYPTO_free(v10, (__int64)"crypto/x509v3/v3_sxnet.c", 70);
ASN1_STRING_print(a3, v9[1]);
}
return 1;
}