//
// SCT_LIST_print from 0xe7bcec to 0xe7bda4 (184 bytes)
//
// 2 xrefs:
// > sub_E24ABC @ 0xe24adc
// > ??> @ 0x4d370
//
// 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 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;
}