//
// SSL_CIPHER_get_auth_nid from 0xfbc890 to 0xfbc92c (156 bytes)
//
// 1 xrefs:
// > ??> @ 0xe2090
//
// 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:18 +0000
//
__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_11F34A0[2 * v4 + 85];
case 8:
v4 = 1;
return (unsigned int)dword_11F34A0[2 * v4 + 85];
case 16:
v4 = 2;
return (unsigned int)dword_11F34A0[2 * v4 + 85];
case 2:
v4 = 3;
return (unsigned int)dword_11F34A0[2 * v4 + 85];
case 32:
v4 = 4;
return (unsigned int)dword_11F34A0[2 * v4 + 85];
case 128:
v4 = 5;
return (unsigned int)dword_11F34A0[2 * v4 + 85];
case 64:
v4 = 6;
return (unsigned int)dword_11F34A0[2 * v4 + 85];
}
v2 = v1 == 4;
result = 0;
if ( v2 )
{
v4 = 7;
return (unsigned int)dword_11F34A0[2 * v4 + 85];
}
return result;
}