//
// SCT_LIST_print from 0xae509c to 0xae5128 (140 bytes)
//
// 2 xrefs:
// > sub_A8EF70 @ 0xa8ef94
// > ??> @ 0x841bc
//
// 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:09:37 +0000
//
int __fastcall SCT_LIST_print(_DWORD *a1, int a2, int a3, const char *a4, _DWORD *a5)
{
int result; // r0
int v10; // r7
signed int v11; // r4
int v12; // r0
result = OPENSSL_sk_num((int)a1);
v10 = result;
if ( result > 0 )
{
v11 = 0;
do
{
while ( 1 )
{
v12 = OPENSSL_sk_value(a1, v11);
SCT_print(v12, a2, a3, a5);
result = OPENSSL_sk_num((int)a1) - 1;
if ( result > v11++ )
break;
if ( v11 == v10 )
return result;
}
result = BIO_printf(a2, "%s", a4);
}
while ( v11 != v10 );
}
return result;
}