//
// SCT_get_signature_nid from 0x7dc898 to 0x7dc8e8 (80 bytes)
//
// 4 xrefs:
// > o2i_SCT_signature @ 0x7db5d8
// > SCT_signature_is_complete @ 0x7dc914
// > SCT_print @ 0x8cff08
// > ??> @ 0x604cc
//
// 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 SCT_get_signature_nid(_BYTE *a1)
{
int v2; // r0
if ( *(_DWORD *)a1 )
return 0;
if ( a1[40] != 4 )
return *(_DWORD *)a1;
v2 = (unsigned __int8)a1[41];
if ( v2 == 1 )
return 668;
if ( v2 == 3 )
return 794;
return 0;
}