function getCharacterAt(charIndex, offset) {
const characterArray = getCharacterArray();
return getCharacterAt = function (charIndex, offset) {
charIndex = charIndex - 0x81;
let character = characterArray[charIndex];
return character;
}, getCharacterAt(charIndex, offset);
}
Здесь весь код: https://pastebin.com/mTSsjMNA