OK go look at the script and it basically converts string to hex, then decimal, then adds 0. in front to make a decimal. Then it multiplies by pi and subtracts pi/2. Then it takes cosine and takes away 0. in front, then takes that number and converts it into hex and outputs it. Take the output, convert to 0.decimal and do inverse cosine then add pi/2 and divide by pi, using https://apfloat.appspot.com/. better writeup later lmao