//
// SSL_CIPHER_get_auth_nid from 0xd3e53c to 0xd3e5d8 (156 bytes)
//
// 1 xrefs:
// > ??> @ 0xac998
//
// 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
//
__int64 __fastcall SSL_CIPHER_get_auth_nid(__int64 a1)
{
int v1; // w0
bool v2; // zf
__int64 result; // x0
__int64 v4; // x1
v1 = *(_DWORD *)(a1 + 24);
switch ( v1 )
{
case 1:
v4 = 0;
return (unsigned int)dword_F61FA0[2 * v4 + 85];
case 8:
v4 = 1;
return (unsigned int)dword_F61FA0[2 * v4 + 85];
case 16:
v4 = 2;
return (unsigned int)dword_F61FA0[2 * v4 + 85];
case 2:
v4 = 3;
return (unsigned int)dword_F61FA0[2 * v4 + 85];
case 32:
v4 = 4;
return (unsigned int)dword_F61FA0[2 * v4 + 85];
case 128:
v4 = 5;
return (unsigned int)dword_F61FA0[2 * v4 + 85];
case 64:
v4 = 6;
return (unsigned int)dword_F61FA0[2 * v4 + 85];
}
v2 = v1 == 4;
result = 0;
if ( v2 )
{
v4 = 7;
return (unsigned int)dword_F61FA0[2 * v4 + 85];
}
return result;
}