//
// SSL_CTX_set_cipher_list from 0x9acdac to 0x9ace28 (124 bytes)
//
// 4 xrefs:
// > sub_8539B8 @ 0x853e1a
// > sub_8539B8 @ 0x8540fc
// > sub_9D02F8 @ 0x9d0314
// > ??> @ 0x6811c
//
// 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_CTX_set_cipher_list(int a1, char *a2)
{
int *cipher_list; // r0
int *v3; // r4
cipher_list = ssl_create_cipher_list(*(_DWORD *)a1, (int **)(a1 + 4), (int *)(a1 + 8), a2, *(_DWORD *)(a1 + 176));
v3 = cipher_list;
if ( cipher_list )
{
if ( !OPENSSL_sk_num(cipher_list) )
{
ERR_put_error(20, 269, 185, "ssl/ssl_lib.c", 2018);
return nullptr;
}
return &dword_0 + 1;
}
return v3;
}