//
// SSL_CTX_set_ssl_version from 0xfbcb44 to 0xfbcbb4 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0xf4690
//
// 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:18 +0000
//
__int64 __fastcall SSL_CTX_set_ssl_version(__int64 *a1, __int64 a2)
{
__int64 v2; // x4
__int64 cipher_list; // x0
v2 = a1[36];
*a1 = a2;
cipher_list = ssl_create_cipher_list(a2, a1 + 1, a1 + 2, "ALL:!COMPLEMENTOFDEFAULT:!eNULL", v2);
if ( cipher_list && (int)OPENSSL_sk_num(cipher_list) > 0 )
return 1;
ERR_put_error(20, 170, 230, "ssl/ssl_lib.c", 514);
return 0;
}