//
// SSL_get_servername_type from 0xfbf2f0 to 0xfbf320 (48 bytes)
//
// 1 xrefs:
// > ??> @ 0xcbb78
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:15:20 +0000
//
__int64 __fastcall SSL_get_servername_type(__int64 a1)
{
__int64 v1; // x1
__int64 v2; // x2
__int64 result; // x0
v1 = *(_QWORD *)(a1 + 376);
if ( !v1 )
return 0xFFFFFFFFLL;
v2 = *(_QWORD *)(a1 + 552);
result = 0;
if ( !v2 )
{
if ( *(_QWORD *)(v1 + 264) )
return 0;
else
return 0xFFFFFFFFLL;
}
return result;
}