InbvPortPollOnly

UINT8 __stdcall InbvPortPollOnly(UINT64 BlFileId){
  __int64 v1; 
  UINT8 result; 

  if( (unsigned int)BlFileId >= 4 || !*((_QWORD *)&Ports + 5 * (unsigned int)BlFileId) )
    return 0;
  v1 = 5i64 * (unsigned int)BlFileId;
  result = *((_BYTE *)&Ports + 40 * (unsigned int)BlFileId + 33);
  if( !result )
  {
    result = (*(unsigned int(__fastcall **)(char *, char *))(*(&SbiVmbusArrivalEvent + 3) + 16i64))(
               (char *)&Ports + 40 * (unsigned int)BlFileId,
               (char *)&Ports + 40 * (unsigned int)BlFileId + 32) == 0;
    *((_BYTE *)&Ports + 8 * v1 + 33) = result;
  }
  return result;
}

Referenced by:

HdlspDispatch
HdlspGetLine