Newer
Older
AMI-Aptio-BIOS-Reversed / AmiModulePkg / KbcEmulation / KbcEmulDxe / KbcEmulDxe_9A4.c
@Ajax Dong Ajax Dong 2 days ago 397 bytes Restructure the repo
// Original function: sub_9A4
// Address: 0x9A4
// Signature: bool __fastcall sub_9A4(unsigned __int16 *a1)

bool __fastcall sub_9A4(unsigned __int16 *a1)
{
  __int64 v3; // rdx

  if ( *a1 == 0xFFFF || (unsigned int)sub_A74(*a1, 0) == -1 ) /*0x9c8*/
    return 0; /*0x9b7*/
  LOBYTE(v3) = 8; /*0x9cd*/
  return (unsigned int)sub_A74(*a1, v3) >> 8 == (*(_DWORD *)(a1 + 1) & 0xFFFFFF); /*0x9e5*/
}