Guys i burned my mind last 1 week, i couldnt find any answer to my question.

My question is simple how can i hook target proccess's lua and even use game's it's own lua code ?

Here is a simple example: For the game LOL,WOW, they have a lua-enabler so u can write or own lua scripts with their own API
World of Warcraft API - WoWWiki - Your guide to the World of Warcraft
BoL Studio API - BoL Studio - Bot of Legends

These hacks somehow managed to hook target lua and uses all of it's own functions like in Leauge of Legends simply they get the tower object from objectmanager from lua and draw some circle around towers to show the area where tower can hit you...etc After they got object of tower then can also got it's hp,attack damage and all are without any memory reading...etc they all already implemented by the makers of the game !

So i need this for GuildWars2 Game but i cant find any information about there, I even pay for the persons who can teach me the basics like how to get into protected lua of a game ?

Thnx for any help