//
// ssl_set_client_hello_version from 0xfcddcc to 0xfcde04 (56 bytes)
//
// 2 xrefs:
// > tls_construct_client_hello @ 0xfc7078
// > ??> @ 0x8a460
//
// 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:27 +0000
//
__int64 __fastcall ssl_set_client_hello_version(_DWORD *a1)
{
__int64 result; // x0
signed int v3; // w1
int v4; // [xsp+28h] [xbp+28h] BYREF
signed int v5; // [xsp+2Ch] [xbp+2Ch] BYREF
result = ssl_get_client_min_max_version((__int64)a1, &v4, &v5);
if ( !(_DWORD)result )
{
v3 = v5;
*a1 = v5;
a1[129] = v3;
}
return result;
}