In a program I'm working on, a variable is set using a memory address:
mov r9, [0x0000000000472C10]
Is this the equivalent? (forgive the python code):
value = 55 <---- value at memory address 472C10? ... x = number <---- x is set from r9?
In that case, instead of the hard-coded 55 in the code, I'd like to use my own number. The trouble is I don't know how to access it. My own value has been defined somewhere in the program for example:
user_value = getValue() ... # assuming we're still in the same function ... value = 55
How can I now change value to be equal to
user_value, where can I find the memory address of
user_value so I can change the
edit: I know that x64dbg has a way of tracing registry changes, could this be a way of tracking when 55 is set?