Newer
Older
AMI-Aptio-BIOS-Reversed / AmiModulePkg / KbcEmulation / KbcEmulDxe / KbcEmulDxe_A74.c
@Ajax Dong Ajax Dong 2 days ago 490 bytes Restructure the repo
// Original function: sub_A74
// Address: 0xA74
// Signature: __int64 __fastcall sub_A74(__int64 a1, char a2)

__int64 __fastcall sub_A74(__int64 a1, char a2)
{
  unsigned int v4; // [rsp+48h] [rbp+10h] BYREF

  sub_A40(a1, a2 & 0xFC | ((unsigned __int16)a1 << 8) | 0x80000000); /*0xa90*/
  (*(void (__fastcall **)(__int64, __int64, __int64, __int64, unsigned int *))(qword_1258 + 16))( /*0xab8*/
    qword_1258,
    2,
    3324,
    1,
    &v4);
  return v4 >> (8 * (a2 & 3)); /*0xac9*/
}