Newer
Older
AMI-Aptio-BIOS-Reversed / TxtPei / GetNextGuidHob.c
@Ajax Dong Ajax Dong 2 days ago 522 bytes Init
// Decompiled: 0xffe0745a
// Function: GetNextGuidHob
// Module: TxtPei.efi (TXTPEI)

_WORD *__thiscall GetNextGuidHob(void *this)
{
  _WORD *i; // edx
  int v3; // ecx
  _WORD *v4; // eax
  _WORD *v5; // esi

  for ( i = (_WORD *)HobStart(); ; i = (_WORD *)((char *)v5 + (unsigned __int16)v5[1]) ) /*0xffe07464*/
  {
    v4 = HobEndCheck(v3, i); /*0xffe0747c*/
    v5 = v4; /*0xffe07481*/
    if ( !v4 || HobGetSize((int)this, (int)(v4 + 4)) ) /*0xffe0746d*/
      break; /*0xffe0746d*/
  }
  return v5; /*0xffe07487*/
}