4 thoughts on “Video Tutorial – Writing A Code Cave With A Toggle Switch”
OpenProcess is the direct API call. The other one references a C# class which wraps itself around OpenProcess (not sure here but something along theses lines).
Just wondering, whats the difference between C# System.Diagnostics.Process::Handle, and OpenProcess? I’ve used both with Read/Write Process memory, and they both work fine.
That looks great for button toggles. I’ve been trying to make a spawn monster button for lego rock raiders, though I dont know the parameters of the function or everything else that affects it. I was just hoping for something like void spawnmonster(), but oh well. I was using a asm test, but asm cmp looks much better, is there a difference?
I know this is a noob question, but is the bytes that are on the left, the machine code, and the assembly is on the right?
Again, thanks for the tutorial, knowledge is power to create awesome trainers 😉
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
OpenProcess is the direct API call. The other one references a C# class which wraps itself around OpenProcess (not sure here but something along theses lines).
Just wondering, whats the difference between C# System.Diagnostics.Process::Handle, and OpenProcess? I’ve used both with Read/Write Process memory, and they both work fine.
To your byte question: I am going to cover it in the small assembly introduction tutorial.
For the CMP and TEST question just look here
http://coding.derkeiler.com/Archive/Assembler/comp.lang.asm.x86/2004-02/0735.html
The difference is not that trivial. I think I should have used TEST because it is faster…
It is the same case with XOR EAX,EAX and MOV EAX,0. Both do the same thing but the first one is faster.
That looks great for button toggles. I’ve been trying to make a spawn monster button for lego rock raiders, though I dont know the parameters of the function or everything else that affects it. I was just hoping for something like void spawnmonster(), but oh well. I was using a asm test, but asm cmp looks much better, is there a difference?
I know this is a noob question, but is the bytes that are on the left, the machine code, and the assembly is on the right?
Again, thanks for the tutorial, knowledge is power to create awesome trainers 😉