//
// SSL_CIPHER_get_kx_nid from 0xfbc7e4 to 0xfbc890 (172 bytes)
//
// 1 xrefs:
// > ??> @ 0x816e8
//
// 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_kx_nid(__int64 a1)
{
int v1; // w0
bool v2; // zf
__int64 result; // x0
__int64 v4; // x1
v1 = *(_DWORD *)(a1 + 20);
switch ( v1 )
{
case 1:
v4 = 0;
return (unsigned int)dword_11F34A0[2 * v4 + 65];
case 4:
v4 = 1;
return (unsigned int)dword_11F34A0[2 * v4 + 65];
case 2:
v4 = 2;
return (unsigned int)dword_11F34A0[2 * v4 + 65];
case 128:
v4 = 3;
return (unsigned int)dword_11F34A0[2 * v4 + 65];
case 256:
v4 = 4;
return (unsigned int)dword_11F34A0[2 * v4 + 65];
case 64:
v4 = 5;
return (unsigned int)dword_11F34A0[2 * v4 + 65];
case 8:
v4 = 6;
return (unsigned int)dword_11F34A0[2 * v4 + 65];
case 32:
v4 = 7;
return (unsigned int)dword_11F34A0[2 * v4 + 65];
}
v2 = v1 == 16;
result = 0;
if ( v2 )
{
v4 = 8;
return (unsigned int)dword_11F34A0[2 * v4 + 65];
}
return result;
}