Newer
Older
AMI-Aptio-BIOS-Reversed / KbcEmulDxe / KbcEmulDxe_AD0.c
@Ajax Dong Ajax Dong 2 days ago 590 bytes Init
// Original function: sub_AD0
// Address: 0xAD0
// Signature: __int64 __fastcall sub_AD0(__int64 a1, char a2, unsigned __int16 n43)

__int64 __fastcall sub_AD0(__int64 a1, char a2, unsigned __int16 n43)
{
  unsigned __int16 n43_1; // [rsp+48h] [rbp+10h] BYREF

  sub_A40(a1, a2 & 0xFC | ((unsigned __int16)a1 << 8) | 0x80000000); /*0xaf4*/
  n43_1 = n43; /*0xafe*/
  return (*(__int64 (__fastcall **)(__int64, __int64, __int64, __int64, unsigned __int16 *))(qword_1258 + 24))( /*0xb32*/
           qword_1258,
           1,
           (a2 & 3) + 3324LL,
           1,
           &n43_1);
}