//
// SSL_set_ct_validation_callback from 0x79a8f8 to 0x79a988 (144 bytes)
//
// 4 xrefs:
// > SSL_new @ 0x79ac80
// > SSL_enable_ct @ 0x79b4b0
// > SSL_enable_ct @ 0x79b4f0
// > ??> @ 0x5c63c
//
// 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 SSL_set_ct_validation_callback(_DWORD *a1, int a2, int a3)
{
int has_client_custom_ext; // r5
if ( !a2 )
goto LABEL_4;
has_client_custom_ext = SSL_CTX_has_client_custom_ext(a1[69], 18);
if ( !has_client_custom_ext )
{
if ( !SSL_ctrl((int)a1, 65, 1u, nullptr) )
return has_client_custom_ext;
LABEL_4:
has_client_custom_ext = 1;
a1[90] = a2;
a1[91] = a3;
return has_client_custom_ext;
}
ERR_put_error(20, 399, 206, "ssl/ssl_lib.c", 4083);
return 0;
}