//
// SSL_CIPHER_get_auth_nid from 0x795894 to 0x79592c (152 bytes)
//
// 1 xrefs:
// > ??> @ 0x5b76c
//
// 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_CIPHER_get_auth_nid(int a1)
{
int v1; // r3
int v2; // r2
v1 = *(_DWORD *)(a1 + 16);
switch ( v1 )
{
case 1:
v2 = 0;
break;
case 8:
v2 = 1;
break;
case 16:
v2 = 2;
break;
case 2:
v2 = 3;
break;
case 32:
v2 = 4;
break;
case 128:
v2 = 5;
break;
case 64:
v2 = 6;
break;
case 4:
v2 = 7;
break;
default:
return 0;
}
return dword_A0C8C8[2 * v2 + 83];
}