//
// SSL_CTX_set_ssl_version from 0x9aa704 to 0x9aa784 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x7521c
//
// 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:53 +0000
//
int __fastcall SSL_CTX_set_ssl_version(int a1, int a2)
{
int v2; // r12
int *cipher_list; // r0
v2 = *(_DWORD *)(a1 + 176);
*(_DWORD *)a1 = a2;
cipher_list = ssl_create_cipher_list(a2, (int **)(a1 + 4), (int *)(a1 + 8), "ALL:!COMPLEMENTOFDEFAULT:!eNULL", v2);
if ( cipher_list && OPENSSL_sk_num(cipher_list) > 0 )
return 1;
ERR_put_error(20, 170, 230, "ssl/ssl_lib.c", 514);
return 0;
}