//
// SSL_get_client_CA_list from 0xd3acec to 0xd3ad34 (72 bytes)
//
// 3 xrefs:
// > ssl_do_client_cert_cb @ 0xd4c448
// > tls_construct_certificate_request @ 0xd525ec
// > ??> @ 0x865c8
//
// 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
//
__int64 __fastcall SSL_get_client_CA_list(__int64 a1)
{
__int64 result; // x0
if ( *(_DWORD *)(a1 + 56) )
{
result = *(_QWORD *)(a1 + 472);
if ( !result )
return *(_QWORD *)(*(_QWORD *)(a1 + 440) + 256LL);
}
else if ( *(int *)a1 >> 8 == 3 )
{
result = *(_QWORD *)(a1 + 144);
if ( result )
return *(_QWORD *)(result + 592);
}
else
{
return 0;
}
return result;
}