TransWikia.com

Change value of memory in a debugger?

Reverse Engineering Asked by memapa4364 on September 27, 2021

So I got this app loaded in x64, there is a function, let’s say
"HeatGainedPerShot", which is basically the value which an object gains everytime it fires,
Such a value would normally exist in the code, but as this is C++, it is simply impossible to revert to source code, thus leading me to a debugger,

So I found it, well.. the debugger displays many leading to the same adress, but that’s for later.

0000000140201A9D | 48:8D0D FC7FFF02       | lea rcx,qword ptr ds:[1431F9AA0]      |00000001431F9AA0:"FireMode.HeatPerShot"

As you can see
rcx is what contains it,
Is there a way to do math on it? or change it to a zero,

  • proof of concept:::
  • lea 0,qword ptr ds:[1431F9AA0]
  • or
  • lea rcx*0,qword ptr ds:[1431F9AA0]

I know it doesn’t work, but would it not be possible to do something like that?

( https://i.imgur.com/hHCWS3l.png )

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP