//
// SSL_get0_dane_authority from 0x9aaafc to 0x9aab80 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x753fc
//
// 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:53 +0000
//
int __fastcall SSL_get0_dane_authority(_DWORD *a1, _DWORD *a2, _DWORD *a3)
{
int v6; // r3
bool v7; // zf
int v8; // r3
if ( a1 == (_DWORD *)-128 )
return -1;
if ( OPENSSL_sk_num(a1[33]) <= 0 || a1[71] )
return -1;
if ( a1[35] )
{
if ( a2 )
*a2 = a1[36];
if ( a3 )
{
v6 = a1[36];
v7 = v6 == 0;
if ( v6 )
v8 = 0;
else
v8 = a1[35];
if ( v7 )
v8 = *(_DWORD *)(v8 + 12);
*a3 = v8;
}
}
return a1[38];
}