//
// sub_FBCAA8 from 0xfbcaa8 to 0xfbcb44 (156 bytes)
//
// 4 xrefs:
// > SSL_CTX_enable_ct @ 0xfc2150
// > SSL_CTX_enable_ct @ 0xfc215c
// > SSL_enable_ct @ 0xfc21b4
// > SSL_enable_ct @ 0xfc21c0
//
// 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:15:18 +0000
//
__int64 __fastcall sub_FBCAA8(__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;
}
}