IopCheckIrpCancelled

BOOL __stdcall IopCheckIrpCancelled(INT64 a1, INT64 a2){
  bool v2; 
  unsigned __int8 CurrentIrql; 

  v2 = 0;
  CurrentIrql = KeGetCurrentIrql();
  __writecr8(1ui64);
  if( !*(_DWORD *)(a1 + 4) )
    v2 = *(_BYTE *)(a2 + 68) == 1;
  __writecr8(CurrentIrql);
  return v2;
}

Referenced by:

IopSynchronousServiceTail
IopWaitForSynchronousIo