Still no cigar. Something with my codes
Is 0x506f93 an offset to 0xd3d4fc?
My code snippet:
Code:
byte[] NOPS = { 0x90, 0x90, 0x90, 0x90, 0x90 };
IntPtr lpBaseAddress = (IntPtr)((ulong)(0xd3d4fcL));
if (!this.GetWarProc())
{
return false;
}
MemoryAccess access = new MemoryAccess(this.WarHandle);
if (!access.LoadBasePtr(lpBaseAddress, 0))
{
return false;
}
access.WriteManual(0x506f93, NOPS);
access.WriteManual(0x506f9f, NOPS);
WriteManual is practically
Code:
...
return Win32Services.WriteProcessMemory(this.hProcess, lpBaseAddress, bytes, bytes.Length, out zero);
...
inside MemoryAccess.cs
When ran, console says the base + offset ( 0xd3d4fc + 0x506f93 ) is:
1029300299
but if I use windows calculator (calc), I get 124446F hex, which is 19154031 dec.
What is this 1029300299?