KiWaitSatisfyOther

UINT8 __stdcall KiWaitSatisfyOther(_KMUTANT *Object){
  UINT8 v1; 

  v1 = 1;
  if( (Object->gap0[0] & 7) == 1 )
  {
    *(_DWORD *)&Object->gap0[4] = 0;
  }
  else if( (Object->gap0[0] & 0x7F) == 5 )
  {
    --*(_DWORD *)&Object->gap0[4];
  }
  else
  {
    return 0;
  }
  return v1;
}

Referenced by:

KeRegisterObjectNotification
KiWaitSatisfyAny
NtAssociateWaitCompletionPacket