Hi !
First of all, I have absolutely no knowledge of how assembly works.
I want to find out what makes the cards upgrade in the Tetra Master game of Final Fantasy IX.
I've downloaded Cheat Engine and asked it what operation was done on the address of the card status.
It gave me this :
0040C600 - 74 08 - je psxjin.exe+C60A
0040C602 - 25 FFFF0000 - and eax,0000FFFF
0040C607 - 88 14 08 - mov [eax+ecx],dl <<
0040C60A - A1 8C519C00 - mov eax,[psxjin.exe+5C518C]
0040C60F - 85 C0 - test eax,eax
EAX=0000FA6B
EBX=01690048
ECX=03487020
EDX=800AC403
ESI=016D0050
EDI=00000000
ESP=0018E86C
EBP=00000000
EIP=0040C60A
If I do eax+ecx I got the address of the card status so that seems to be right.
But what now ? It moves dl to the card address ? What is dl ?
I'm completely lost. So if somebody could explain to me how this works, or need more infos.
Testing every frame is very long and annoying, so if I could understand what makes it work, it would save me a lot of trouble.
Thanks !