//
// SSL_set_cipher_list from 0x9ace34 to 0x9aceb0 (124 bytes)
//
// 2 xrefs:
// > sub_9D02F8 @ 0x9d032c
// > ??> @ 0x7588c
//
// 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:54 +0000
//
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;
}