//
// SSL_CTX_set_ct_validation_callback from 0x79b1f8 to 0x79b260 (104 bytes)
//
// 3 xrefs:
// > SSL_CTX_enable_ct @ 0x79b43c
// > SSL_CTX_enable_ct @ 0x79b47c
// > ??> @ 0x5c68c
//
// 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_CTX_set_ct_validation_callback(int a1, int a2, int a3)
{
if ( a2 && SSL_CTX_has_client_custom_ext(a1, 18) )
{
ERR_put_error(20, 396, 206, "ssl/ssl_lib.c", 4112);
return 0;
}
else
{
*(_DWORD *)(a1 + 252) = a2;
*(_DWORD *)(a1 + 256) = a3;
return 1;
}
}