//
// SSL_CTX_set_cipher_list from 0xd40d60 to 0xd40dd8 (120 bytes)
//
// 4 xrefs:
// > sub_BB78D0 @ 0xbb7c30
// > sub_BB78D0 @ 0xbb8334
// > sub_D61F54 @ 0xd61f70
// > ??> @ 0x5bb78
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall SSL_CTX_set_cipher_list(__int64 *a1, char *a2)
{
__int64 cipher_list; // x0
unsigned int v3; // w19
cipher_list = ssl_create_cipher_list(*a1, a1 + 1, a1 + 2, a2, a1[36]);
v3 = cipher_list;
if ( !cipher_list )
return v3;
if ( (unsigned int)OPENSSL_sk_num(cipher_list) )
return 1;
ERR_put_error(20, 269, 185, "ssl/ssl_lib.c", 2018);
return 0;
}