//
// SSL_get_client_CA_list from 0x9a6770 to 0x9a67b8 (72 bytes)
//
// 3 xrefs:
// > ssl_do_client_cert_cb @ 0x9b9014
// > tls_construct_certificate_request @ 0x9bf934
// > ??> @ 0x74e3c
//
// 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:51 +0000
//
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;
}
}