//
// SSL_get_servername_type from 0x7983c0 to 0x7983fc (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x5be3c
//
// 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_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;
}