I've been learning how to hack games using C++. The approach that I'm interested in is memory hacking (Changing variables such as health, score, etc... from another program).
The problem is that every tutorial I've read/watched has been for Windows. I cannot find any tutorials or documentation for Mac.
What I've been able to gather so far is that I need to use task_for_pid and vm_read/write. However I'm unsure how to actually use these methods, as I cannot find any documentation or tutorials.
Could someone please show me how to do this, point me towards some documentation or even a tutorial.
The problem is that every tutorial I've read/watched has been for Windows. I cannot find any tutorials or documentation for Mac.

What I've been able to gather so far is that I need to use task_for_pid and vm_read/write. However I'm unsure how to actually use these methods, as I cannot find any documentation or tutorials.
Could someone please show me how to do this, point me towards some documentation or even a tutorial.
Comment