Newer
Older
AMI-Aptio-BIOS-Reversed / PurleyRpPkg / Platform / Dxe / Setup / DxePlatform / Platform / DevicePathIsEndInstance.c
@Ajax Dong Ajax Dong 2 days ago 467 bytes Restructure the repo
// DevicePathIsEndInstance - decompiled from Platform.efi
char __fastcall DevicePathIsEndInstance(const void *i)
{
  char v1; // bl

  v1 = 0; /*0x7636*/
  if ( !i ) /*0x763e*/
    Assert( /*0x7653*/
      (__int64)"e:\\hs\\MdePkg\\Library\\UefiDevicePathLib\\DevicePathUtilities.c",
      254,
      (__int64)"Node != ((void *) 0)");
  if ( DevicePathIsMultiInstance(i) && DevicePathSubType(i) == 0xFF ) /*0x766e*/
    return 1; /*0x7670*/
  return v1; /*0x7679*/
}