//
// SCT_LIST_print from 0x10f9cec to 0x10f9da4 (184 bytes)
//
// 2 xrefs:
// > sub_10A2DBC @ 0x10a2ddc
// > ??> @ 0x6c4c0
//
// 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:18:14 +0000
//
__int64 __fastcall SCT_LIST_print(unsigned int *a1, __int64 a2, int a3, const char *a4, _QWORD *a5)
{
__int64 result; // x0
int v11; // w22
int v12; // w19
__int64 v13; // x0
result = OPENSSL_sk_num(a1);
v11 = result;
v12 = 0;
if ( (int)result > 0 )
{
do
{
while ( 1 )
{
v13 = OPENSSL_sk_value((__int64)a1, v12);
SCT_print(v13, a2, a3, a5);
result = (unsigned int)OPENSSL_sk_num(a1) - 1;
if ( (int)result > v12++ )
break;
if ( v12 == v11 )
return result;
}
result = BIO_printf(a2, "%s", a4);
}
while ( v12 != v11 );
}
return result;
}