c++cheat-engine

How to find static assembly instruction address from CE (C++)


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


Solution

  • 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

    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: