//
// SSL_CTX_set_ct_validation_callback from 0xfc1f38 to 0xfc1fa8 (112 bytes)
//
// 3 xrefs:
// > SSL_CTX_enable_ct @ 0xfc2160
// > SSL_CTX_enable_ct @ 0xfc219c
// > ??> @ 0x101158
//
// 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:22 +0000
//
__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;
}
}