View Single Post
  #6  
Old 09-04-2009, 02:22
[Psych] [Psych] is offline
Banned
 
Join Date: Nov 2008
Location: In a heap :-)
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
[Psych] is on a distinguished road
Sometimes it is nice to stick the value directly into the register used in the routine like DAB said, although other times it is also good to put it into the pointer (the memory address). Depends what options you are doing.

Because that seems to be the write pointer that deducts/adds to your cash when you spend/sell something (not sure how this game works), and if you wrote into the ecx register, you would only see the result in game the second time round, because that amount hasn't been written in to that memory address. The routines that deal with reading from that address to print on screen won't pick it up straight away. You'll still be able to buy sell something, but until you do that the second time you won't see a result.

^ Nothing like talking sh!t heh, lol :P You know what I mean... I messed with ways of condensing code way back when I did some Call of Duty trainers... all good fun...