dementedly

adverb
  1. in a way that shows a loss of mental faculties; insanely or crazily
  2. Usage: often used to describe behavior that appears irrational or frenzied

Examples