How do interpreters do it?
I've seen bots for games that encrypt files then decrypt them at runtime and run what's in them..
Well How? How can I do this in C++? I plan to do this in another language but I decided to ask in C++ section because this is my strongest language and I'd understand anything posted better..
Example:
int funct()
{
fsdh9hsdg //Encrypted code.. Decrypted to: SetMousePos(X, Y);
gdsgdsghshs //encrypted code.. aka.. If else statement..
hshsdhfshfshs
hshsfhfhdfhdfhd
}
int Foo()
{
decryptfunction('funct');
//Run the decrypted function.. aka funct; so the mouse should move to X, Y?
}