Jump to content
Tuts 4 You

Asm Jumps


Scale

Recommended Posts

My mate is getting new hardware and he wants to beat me with 3d mark,

Now i cant beat him officaly so i tought lets modify 3ds mark hehe.

Well i found where to modify, but this piece of code is used 2 twice at start and then it doesnt do my modifyed code (adding to eax) so i made an cmp but i dont think its correct

//jump in from original code

006F811D 3D F8E41200 CMP EAX,12E4F8

006F8122 ^ 75 E3 JNZ SHORT 3DMark05.006F8107

//eax = 12E4F8 then runs this and jump back

006F8124 8B4424 10 MOV EAX,DWORD PTR SS:[ESP+10]

006F8128 85C0 TEST EAX,EAX

006F812A - E9 8E43D7FF JMP 3DMark05.0046C4BD

//else add 1388 to eax and jump back

006F8107 8B4424 10 MOV EAX,DWORD PTR SS:[ESP+10]

006F810B 05 88130000 ADD EAX,1388

006F8110 894424 10 MOV DWORD PTR SS:[ESP+10],EAX

006F8114 85C0 TEST EAX,EAX

006F8116 - E9 A243D7FF JMP 3DMark05.0046C4BD

Now im pretty sure this is not correct:

006F811D 3D F8E41200 CMP EAX,12E4F8

006F8122 ^ 75 E3 JNZ SHORT 3DMark05.006F8107

But i cant figure out what to put in there.

Thanks for your time

Link to comment
Guest fearo

Hmmm at least, learn how to indent a code because noeone is going to help you like this...

Edited by fearo
Link to comment
  • 2 weeks later...

i still dont understand you....but guessing

you mean if EaX=12E4F8....your work is done.....

then y dont you make cmp eax,eax !

your work will always b true

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...