//
// sub_A70304 from 0xa70304 to 0xa703e0 (220 bytes)
//
// 1 xrefs:
// > ??> @ 0xd18a88
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:08:41 +0000
//
int __fastcall sub_A70304(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_BF4ECA, 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_BF4ECA, v10);
CRYPTO_free(v10, (int)"crypto/x509v3/v3_sxnet.c", 70);
ASN1_STRING_print(a3, *(int **)(v9 + 4));
}
return 1;
}