I\'ve got some code that was at the bottom of a php file that is in javascript. It goes through lots of weird contortions like converting hex to ascii then doing regex replacem
Easiest approach would be too simply use a simple c program to convert the escaped hex characters into readable text like so:
#include
const char wtf[] = ""; // Really long string goes here
int main(void) {
::printf("%s\n", wtf);
}
which yields this (I added formatting). I'll let you finish off the last part which appears to be more of the same.