Simple utility class that uses various PInvoke functions to read information from the virtual address space of other processes.
Compatible only with 32 bit processes. NOTE that all methods are public, but the majority of them don't do bitness checks.
Main features:
- Getting the address of the elusive ThreadStack0 symbol used by CheatEngine
- Following pointer chains, and reading a result into a chosen type
I'll probably convert it sometime to use unsafe code and pointers, plus I'll write a 64 bit equivalent.
I used this class to read data from an app that was written in an unintentionally cryptic way, lacking any interop capabilities, and being completely inaccessible by UIA and MSAA.