//
// sub_D3E754 from 0xd3e754 to 0xd3e7f0 (156 bytes)
//
// 4 xrefs:
// > SSL_CTX_enable_ct @ 0xd43dfc
// > SSL_CTX_enable_ct @ 0xd43e08
// > SSL_enable_ct @ 0xd43e60
// > SSL_enable_ct @ 0xd43e6c
//
// 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 sub_D3E754(__int64 a1, __int64 a2)
{
int v3; // w21
unsigned int v4; // w19
__int64 v5; // x1
__int64 v6; // x0
if ( a2 && (v3 = OPENSSL_sk_num(a2), v3 > 0) )
{
v4 = 0;
while ( 1 )
{
v5 = v4++;
v6 = OPENSSL_sk_value(a2, v5);
if ( (unsigned int)SCT_get_validation_status(v6) == 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;
}
}