//
// SSL_set_cipher_list from 0x798230 to 0x7982ac (124 bytes)
//
// 2 xrefs:
// > sub_7BB6F4 @ 0x7bb728
// > ??> @ 0x5be0c
//
// 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
//
int *__fastcall SSL_set_cipher_list(int a1, char *a2)
{
int *cipher_list; // r0
int *v3; // r4
cipher_list = ssl_create_cipher_list(
**(_DWORD **)(a1 + 276),
(int **)(a1 + 164),
(int *)(a1 + 168),
a2,
*(_DWORD *)(a1 + 200));
v3 = cipher_list;
if ( cipher_list )
{
if ( !OPENSSL_sk_num(cipher_list) )
{
ERR_put_error(20, 271, 185, "ssl/ssl_lib.c", 2035);
return nullptr;
}
return &dword_0 + 1;
}
return v3;
}