//
// ssl_protocol_to_string from 0xd41ff8 to 0xd42098 (160 bytes)
//
// 4 xrefs:
// > SSL_CIPHER_description @ 0xd3dbc8
// > SSL_CIPHER_get_version @ 0xd3e028
// > SSL_get_version @ 0xd4209c
// > ??> @ 0xc7578
//
// 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
//
char *__fastcall ssl_protocol_to_string(int a1)
{
switch ( a1 )
{
case 771:
return "TLSv1.2";
case 770:
return "TLSv1.1";
case 769:
return "TLSv1";
case 768:
return "SSLv3";
case 256:
return "DTLSv0.9";
case 65279:
return "DTLSv1";
case 65277:
return "DTLSv1.2";
}
return "unknown";
}