//
// SSL_CTX_set_ct_validation_callback from 0xd43be4 to 0xd43c54 (112 bytes)
//
// 3 xrefs:
// > SSL_CTX_enable_ct @ 0xd43e0c
// > SSL_CTX_enable_ct @ 0xd43e48
// > ??> @ 0xc58e0
//
// 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 SSL_CTX_set_ct_validation_callback(__int64 a1, __int64 a2, __int64 a3)
{
int has_client_custom_ext; // w0
__int64 v7; // [xsp+28h] [xbp+28h]
if ( a2 && (v7 = a3, has_client_custom_ext = SSL_CTX_has_client_custom_ext(a1, 18), a3 = v7, has_client_custom_ext) )
{
ERR_put_error(20, 396, 206, "ssl/ssl_lib.c", 4112);
return 0;
}
else
{
*(_QWORD *)(a1 + 400) = a2;
*(_QWORD *)(a1 + 408) = a3;
return 1;
}
}