//
// SSL_get_client_CA_list from 0x791b6c to 0x791bb4 (72 bytes)
//
// 3 xrefs:
// > ssl_do_client_cert_cb @ 0x7a4410
// > tls_construct_certificate_request @ 0x7aad30
// > ??> @ 0x5b3bc
//
// 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_client_CA_list(int *a1)
{
int v1; // r3
int v3; // r3
v1 = a1[7];
if ( v1 )
{
v3 = a1[73];
if ( !v3 )
return *(_DWORD *)(a1[69] + 152);
return v3;
}
else
{
if ( *a1 >> 8 == 3 )
{
v1 = a1[26];
if ( v1 )
return *(_DWORD *)(v1 + 556);
}
return v1;
}
}