//
// sub_795A70 from 0x795a70 to 0x795af4 (132 bytes)
//
// 6 xrefs:
// > SSL_CTX_enable_ct @ 0x79b430
// > SSL_CTX_enable_ct @ 0x79b438
// > ??> @ 0x79b480
// > SSL_enable_ct @ 0x79b4a4
// > SSL_enable_ct @ 0x79b4ac
// > ??> @ 0x79b4f4
//
// 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 sub_795A70(int a1, int a2)
{
int v3; // r6
int v4; // r4
int v5; // r0
if ( a2 && (v3 = OPENSSL_sk_num(a2), v3 > 0) )
{
v4 = 0;
while ( 1 )
{
v5 = OPENSSL_sk_value(a2, v4++);
if ( SCT_get_validation_status(v5) == 2 )
return 1;
if ( v4 == v3 )
goto LABEL_7;
}
}
else
{
LABEL_7:
ERR_put_error(20, 349, 216, "ssl/ssl_lib.c", 4068);
return 0;
}
}