//
// ssl_set_client_disabled from 0x9c5de4 to 0x9c5e78 (148 bytes)
//
// 3 xrefs:
// > SSL_get1_supported_ciphers @ 0x9acc8c
// > tls_construct_client_hello @ 0x9b5454
// > ??> @ 0x7583c
//
// 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:07:06 +0000
//
int __fastcall ssl_set_client_disabled(_DWORD *a1)
{
int v2; // r0
int result; // r0
int v4; // r3
int v5; // r2
int v6; // r3
int v7; // r2
v2 = a1[26];
*(_DWORD *)(v2 + 688) = 0;
*(_DWORD *)(v2 + 684) = 0;
ssl_set_sig_mask((_DWORD *)(v2 + 688), (int)a1, 327694);
result = ssl_get_client_min_max_version((int)a1, (int *)(a1[26] + 692), (_DWORD *)(a1[26] + 696));
if ( !a1[67] )
{
v6 = a1[26];
v7 = *(_DWORD *)(v6 + 684) | 0x1C8;
*(_DWORD *)(v6 + 688) |= 0x10u;
*(_DWORD *)(v6 + 684) = v7;
}
if ( (a1[137] & 0x20) == 0 )
{
v4 = a1[26];
v5 = *(_DWORD *)(v4 + 684) | 0x20;
*(_DWORD *)(v4 + 688) |= 0x40u;
*(_DWORD *)(v4 + 684) = v5;
}
return result;
}