//
// SCT_LIST_validate from 0x7dcb54 to 0x7dcbc0 (108 bytes)
//
// 2 xrefs:
// > ssl_validate_ct @ 0x79b35c
// > ??> @ 0x5c70c
//
// 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
//
int __fastcall SCT_LIST_validate(int a1, int a2)
{
int v4; // r8
int v5; // r4
int v6; // r5
int v7; // r0
int result; // r0
if ( !a1 )
return 1;
v4 = OPENSSL_sk_num(a1);
if ( v4 <= 0 )
return 1;
v5 = 0;
v6 = 1;
while ( 1 )
{
v7 = OPENSSL_sk_value(a1, v5++);
if ( v7 )
{
result = SCT_validate(v7, a2);
v6 &= result;
if ( result < 0 )
break;
}
if ( v5 == v4 )
return v6;
}
return result;
}