xtrax Posted August 7, 2009 Share Posted August 7, 2009 Hi i am struggling with something that seems like it should have a simple answer and I could use a little help please. What i am trying to do using nomadmemory is write a mov eax,06AC0000 if i do this using already set decimal it works fine like.. #include <NomadMemory.au3> $jumpy = 28655485112 $pid = WinGetProcess("[ACTIVE]", "") $memid = _MemoryOpen($pid) _MemoryWrite(0x00495421, $memid, $jumpy, 'byte[5]') but the problem comes when i want to allocate some memory and try to add the 0xB8 to the allocated address like #include <NomadMemory.au3> #Include <Memory.au3> $pid = WinGetProcess("[ACTIVE]", "") $memid = _MemoryOpen($pid) $jumpy = _MemVirtualAllocEx($memid[1],0,128,$MEM_COMMIT,$PAGE_EXECUTE_READWRITE) _MemoryWrite(0x00495421, $memid, $jumpy & "B8", 'byte[5]') ive tried doing it quiet a few different ways using different Hex2Dec funcs and swapendians i think im just confusing myself more and more so any help would be greatly appreciated. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now