I'm trying to edit some value in the memory but it instantly reverts back because of some instruction like player::update or player::reset
In CE I can attach debugger to it and check what's writing into it and replace it with NOP, but how can I get the static address of this instruction? FYI, I have the static address of my value (playerBase signature scan + known offset) but not instruction address
Below are the steps to find the "Static Instruction Address":
Step 1: Attach Debugger to the Process
Step 2: Find What Writes to the Address
Go to the address of the value you want to edit in Cheat Engine.
Right-click on the address and select "Find out what writes to this
address...".
This will open a new window where the debugger will list all instructions that modify this value.
Step 3: Identify the Instruction
Step 4: Find the Static Address of the Instruction
Step 5: Calculate the Static Address
Step 6: Replace Instruction with NOP (Optional)
Let me show you an example for better understanding: