How to read a pointer that looks like "process name" + address?

As the title says, I'm trying to read at the address that I found in the Cheat Engine cursor scan. But the only problem - the only pointers I've ever worked with are just the pointer address + offset. I use C # .Net 4.0 from Visual Studio 2010. I think I remember that I had seen something about it before, but I did not think about it, since at that time it did not concern me.

Something about how to get the identifier of a process or module and add it to the pointer address, and then add the offset and read from there? But I can’t remember the commands to get the process ID or module ID: /

This is also a level 5 pointer that I'm working with, I used only level 1 or 2 pointers, but I assume it is something like this. Just read the address of the pointers until I get the base address for the entry.

If this helps my pointer look like this: "ProcessName.exe" + 003E6D98

“It can help if you said why in the world you need to play with pointers with .NET.” - John Saunders

I am making a coach for one of my games. I made them earlier than just using this type of pointer, and I definitely forgot how to handle this type of address. I think I need to get the module identifier, but I forgot how to do it. I'm actually pretty good with memory and pointers; I usually have a middle address with no process name next to it.

+5
1

OP - CW

string sProcessName = "MyProcessName.exe";
Process[] MyProcesses = Process.GetProcessesByName(sProcessName);
IntPtr hProcModuleBA = MyProcesses[0].MainModule.BaseAddress;
IntPtr PointerAddr = new IntPtr(MyPointer.ToInt32() + BaseAddress.ToInt32());

sProcessName, MyProcesses. , BaseAddress. 40000:)

0

All Articles