BiLookupObjectByBootEntry

INT64 __fastcall BiLookupObjectByBootEntry(INT64 **a1, INT64 a2, _QWORD *a3){
  INT64 *i; 
  for( i = *a1; ; i = (INT64 *)*i )
  {
    if( i == (INT64 *)a1 )
      return 3221226021i64;
    if( (i[6] & 3) != 0 && *((_DWORD *)i + 8) == (_DWORD)a2 )
      break;
  }
  *a3 = i;
  return 0i64;
}

Referenced by:

BiBuildIdentifierList
BiTranslateBootEntryId