//
// SSL_get_ciphers from 0x798018 to 0x798044 (44 bytes)
//
// 7 xrefs:
// > SSL_get1_supported_ciphers @ 0x798078
// > SSL_get_cipher_list @ 0x798158
// > tls_construct_client_hello @ 0x7a083c
// > tls_process_client_hello @ 0x7a9830
// > tls_post_process_client_hello @ 0x7a9b28
// > ssl_add_clienthello_tlsext @ 0x7b14b0
// > ??> @ 0x5bd8c
//
// 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_get_ciphers(int a1)
{
int result; // r0
int v3; // r3
if ( !a1 )
return 0;
result = *(_DWORD *)(a1 + 164);
if ( !result )
{
v3 = *(_DWORD *)(a1 + 276);
if ( v3 )
return *(_DWORD *)(v3 + 4);
}
return result;
}