Apr 15, 2010 at 12:23 AM
Join Date: Mar 20, 2010
Location:
Posts: 252
Pronouns: he/him
I'm new to assembly, so please bear with me if this is really obvious.
This is a the code that I have written to change a RAM offset, but I've found that its length makes it difficult to use in certain areas of code. Is there any way of changing/increasing a RAM offset with a shorter code?
X: RAM offset
Y: Value of change
MOV ECX,DWORD PTR SS:[X]
ADD EAX,Y
MOV DWORD PTR DS:[X],EAX
Also, I've noticed that there is a ram value for the number of whimsical stars, is there any way of changing this Ram value? When ever I tried to change it, it crashes the game.
Thanks.
This is a the code that I have written to change a RAM offset, but I've found that its length makes it difficult to use in certain areas of code. Is there any way of changing/increasing a RAM offset with a shorter code?
X: RAM offset
Y: Value of change
MOV ECX,DWORD PTR SS:[X]
ADD EAX,Y
MOV DWORD PTR DS:[X],EAX
Also, I've noticed that there is a ram value for the number of whimsical stars, is there any way of changing this Ram value? When ever I tried to change it, it crashes the game.
Thanks.