- Joined
- Apr 18, 2013
- Messages
- 1,768
- Trophies
- 2
- Location
- on the cool side of the pillow
- Website
- follow-the-white-rabbit.wtf
- XP
- 3,007
- Country
Hello,
the title says all...
I need some examples on how to read/write data from/into memory using syscalls svcReadDebugProcessMemory and svcWriteDebugProcessMemory.
I'm very uncertain about how to implement everything in my C++ project and how to use the parameters.
(this is related to an older thread of mine when I was planning on making decent code types for cheats).
X0=buffer*, X1=debug_handle, X2=src_addr, X3=size
thanks
the title says all...
I need some examples on how to read/write data from/into memory using syscalls svcReadDebugProcessMemory and svcWriteDebugProcessMemory.
I'm very uncertain about how to implement everything in my C++ project and how to use the parameters.
(this is related to an older thread of mine when I was planning on making decent code types for cheats).
X0=buffer*, X1=debug_handle, X2=src_addr, X3=size
- what size should X0 (dereferenced value) be? Same as X3?
- how do I set a debug_handle?
- should the size value represent the number of bytes or bits? Is it restricted to sizes like 1, 2, 4, 8 bytes or can it be anything even higher than 16 bytes?
thanks