I want to move either a memory address's value or the value itself into the R9 register, to do this I have been using an AOB Injection in Cheat Engine to try and help me with testing. Each attempt has resulted in a crash.
I have tried sending the value directly into the R9 register (mov r9, DECIMALVALUE) or sending it via hex, or sending the memory address both decimal or hex (mov r9, [DECIMALMEMORYADDRESS])
my newest attempt:
mov rax, 2981737325408
mov r9, rax
original code:
mov r9, [r8]
The expected result is to not have a crash and to send either the memory address's value into the r9 register or the memory address itself into the register successfully, each time I load. This instruction is only called when I spawn in the game.