Vivid Abstractions Where Programming Becomes An Abstraction

13Jan/114

Video Tutorial – Writing A Code Cave With A Toggle Switch

This is my video tutorial on writing a code cave which is controlled by a toggle switch.

Click here for the tutorial!

Enjoy.

Filed under: Tutorials
Comments (4) Trackbacks (0)
  1. 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 ;)

  2. 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.

  3. 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.

  4. 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).


Leave a comment

No trackbacks yet.

SEO Powered by Platinum SEO from Techblissonline

Page optimized by WP Minify WordPress Plugin