//
// SSL_set_ct_validation_callback from 0x9af4fc to 0x9af58c (144 bytes)
//
// 4 xrefs:
// > SSL_new @ 0x9af884
// > SSL_enable_ct @ 0x9b00b4
// > SSL_enable_ct @ 0x9b00f4
// > ??> @ 0x760bc
//
// 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_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;
}