I have no words to describe the fuckery I am trying to reverse-enginner here. Ever...