//
// SSL_get_servername_type from 0x9acfc4 to 0x9ad000 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x758bc
//
// 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:54 +0000
//
int __fastcall SSL_get_servername_type(int a1)
{
int v1; // r3
v1 = *(_DWORD *)(a1 + 240);
if ( !v1 )
return -1;
if ( *(_DWORD *)(a1 + 348) )
return 0;
if ( *(_DWORD *)(v1 + 196) )
return 0;
return -1;
}