//
// tls12_get_sigid from 0xfd5eac to 0xfd5f70 (196 bytes)
//
// 3 xrefs:
// > tls12_get_sigandhash @ 0xfd600c
// > tls12_check_peer_sigalg @ 0xfd61ac
// > ??> @ 0xd0bb8
//
// 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:32 +0000
//
__int64 __fastcall tls12_get_sigid(__int64 a1)
{
int v1; // w0
bool v2; // zf
__int64 result; // x0
v1 = EVP_PKEY_id(a1);
switch ( v1 )
{
case 6:
return 1;
case 116:
return 2;
case 408:
return 3;
case 811:
return 237;
case 979:
return 238;
}
v2 = v1 == 980;
result = 0xFFFFFFFFLL;
if ( v2 )
return 239;
return result;
}