//
// SSL_set_cipher_list from 0xd40dd8 to 0xd40e54 (124 bytes)
//
// 2 xrefs:
// > sub_D61F54 @ 0xd61f84
// > ??> @ 0x4b6c0
//
// 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_set_cipher_list(__int64 a1, char *a2)
{
__int64 cipher_list; // x0
unsigned int v3; // w19
cipher_list = ssl_create_cipher_list(
**(_QWORD **)(a1 + 440),
(__int64 *)(a1 + 256),
(__int64 *)(a1 + 264),
a2,
*(_QWORD *)(a1 + 328));
v3 = cipher_list;
if ( !cipher_list )
return v3;
if ( (unsigned int)OPENSSL_sk_num(cipher_list) )
return 1;
ERR_put_error(20, 271, 185, "ssl/ssl_lib.c", 2035);
return 0;
}