This will retrieve the base address of the main module of the attached process in Lua, as mentioned by DB, if you require it using C/C++ then see the link provided.
Code:
print('Base address for attached process ' .. process .. ' is ' .. string.format("%X", getAddressSafe(process)))
I've tried to decipher what it (the link) is doing and recreate it in C++ but I don't know that language. I can't find an explanation of how you should do it anywhere. _________________
I don't mean to be rude but search engines exist for a reason; to answer the questions you have. You were born with a brain, it's up to you how you use it. Now if you need something explaining that's where other people can come in but ideally, you want to figure it out yourself because you won't learn by copying/pasting code.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum