text: Cheating in osu!mania
  Information about beatmaps is stored in plaintext in .osu files, and the format is well documented. These files contain many sections, of which only the last [HitObjects] section is relevant to us.
  For readability I've borrowed from the JSON syntax here.
  $ scanmem -p <PID of osu! process>
  printf("usage: %s -p <pid of osu! process> ", argv[0]);
  printf("-m <path to beatmap.osu>\n");
  7/17/2018: Rewrote and restructured parts for better readability, fixed minor error in code sample, added bottom note. Changes in commit 962fb1f.