Complete noob here.... Can anyone help me out?
I do a DWord read from 0x10BD5F4, and I get the following:
playerBase = 491642832
I add an offset of 0x30 onto this resulting address; read 4 bytes, to which I receive:
playerBase = 3228667990
Then finally I add 0x28, but this read fails everytime. What exactly am I doing wrong?
Code:
ReadData playerBaseMemReader = memoryManager.ReadProcessMemory((IntPtr)(0x10BD5F4), 4);
playerBase = BitConverter.ToUInt32(playerBaseMemReader.data, 0);
// playerBase = 491642832
playerBaseMemReader = memoryManager.ReadProcessMemory((IntPtr)(playerBase + 0x30), 4);
playerBase = BitConverter.ToUInt32(playerBaseMemReader.data, 0);
// playerBase = 3228667990
playerBaseMemReader = memoryManager.ReadProcessMemory((IntPtr)(playerBase + 0x28), 4);
playerBase = BitConverter.ToUInt32(playerBaseMemReader.data, 0);
// playerBase = 0
Could it be an invalid offset or pointer?
Thanks in advance guys. Much appreciated.