Newer
Older
AMI-Aptio-BIOS-Reversed / LenovoServerPkg / Driver / LnvDriverPei / InternalBuildGuidHob.c
@Ajax Dong Ajax Dong 2 days ago 537 bytes Full restructure
int __fastcall InternalBuildGuidHob(int a1, int a2)
{
  int v2; // eax
  int v3; // eax
  int v4; // esi

  if ( !a2 )
  {
    v2 = GetDebugService();
    if ( v2 )
      (*(void (__cdecl **)(const char *, int, const char *))(v2 + 4))(
        "e:\\hs\\MdePkg\\Library\\PeiHobLib\\HobLib.c",
        466,
        "Data != ((void *) 0) || DataLength == 0");
  }
  v3 = InternalHobConstructor(a1, 25);
  v4 = v3;
  if ( !v3 )
    return 0;
  sub_FFE3C5C8(v3 + 8);
  if ( v4 == -24 )
    return 0;
  else
    return sub_FFE3C5F9(v4 + 24);
}