Page 1 of 1

how to work whit :LEA"?

Posted: Mon Jun 03, 2019 6:57 pm
by DRDNK1000
game name: chicken inviders 4
i know this game is hard to cheat and that why i took him

WANT to create missele cheat
after a long bracke and trast i fount it here
----------- lea ecx,[edx+000003F0]

tried to do

mov [edx+000003F0],(int)99/
mov ecx,(int)99
first oe do nothing
second crush the game

so waht to do?

Re: how to work whit :LEA"?

Posted: Mon Jun 03, 2019 11:06 pm
by TimFun13
LEA: Load effective address.
So on the first one you're setting the value, but it likely get written to just after the with ECX. And with the second one you're set and address to be used to a value, thus it crashes when it tries to read or write with the address 0x00000063.

Look for where it writes to the value.
For what I remember this game uses encrypted values.

Re: how to work whit :LEA"?

Posted: Wed Jun 05, 2019 7:25 am
by DRDNK1000
ShyTwig16 wrote:
Mon Jun 03, 2019 11:06 pm
LEA: Load effective address.
So on the first one you're setting the value, but it likely get written to just after the with ECX. And with the second one you're set and address to be used to a value, thus it crashes when it tries to read or write with the address 0x00000063.

Look for where it writes to the value.
For what I remember this game uses encrypted values.
haha yes he does
but im the stupid one
i needed the pervios address
anyway thx man

Re: how to work whit :LEA"?

Posted: Wed Jun 05, 2019 7:58 am
by SunBeam
^ See, that language of yours indicates you almost have no clue what you're doing :) Check this forum, General Tutorials section (viewforum.php?f=11) and start crunching on some ASM to get you started.