Hey,
Was curious, the game you want is Defense Grid: The Awakening, or the other one you shared the table for?Also share the info for the game's version as well, since i don't own any of them, i'll download later some version.
In any case, doing a cmp, can be done in so many ways, for a float it doesn't matter if is compared with a float, it can be a to a integer or to a byte or to whatever you can find, depends what you add in it, or to a double (you need to calculate it), you can even split the code, split the values, or have the aob address as a base (if the code is shared) and add pointers to it (those you want) etc
I might add, this is from some code (from some of my tables)..let's pretend the code was:
Code: Select all
newmem:
code:
cmp dword ptr [ecx+150],00
jmp return
return:
Well, you'll remove "code:", no need for it, add all in "newmem"
Code: Select all
newmem:
cmp [ecx+3be],9
jne short @f
mov [ecx+150],5f5e0ff
@@:
cmp dword ptr [ecx+150],00
jmp return
return:
Also making a cmp, it doesn't matter if is higher or lower that the other group(s) you want to compare, it matters that your value(let's say you have 10 compares, 5 of yours, 5 different, your values all have to be on the same value number [like 0 or 1 or whatever], the others different 5 should be the same or not, you can even use jumpers).
If you have more addresses for the value you want to make a cmp for, in one aob address you can make a cmp for a thing [resources], other aob address with a different cmp, for another thing [cores], know what i mean!?
EDIT: I've watched on youtube, strategy/defense thingy, not the type of games i like playing
, in any case, i hope you can understand and figure it out!