//
// SSL_CTX_set_ct_validation_callback from 0x9afdfc to 0x9afe64 (104 bytes)
//
// 3 xrefs:
// > SSL_CTX_enable_ct @ 0x9b0040
// > SSL_CTX_enable_ct @ 0x9b0080
// > ??> @ 0x7610c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:06:56 +0000
//
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;
}
}