[Plants vs. Zombies-3] Plants without CD

ideas

1. After putting down a plant, keep searching for the changed value. When the plant's CD is finished, search for the unchanged value. Because the stone cools for a long time and there is less sunlight, I use the stone for testing.

image-20220308214143925

2. It was finally found that during CD, the value is accumulated, and the value becomes 0 after cooling down. Its skill base is

"开始游戏.exe"+002A74B0

image-20220308214311988

3. When the value of this address is locked as 9999, and the stone is stored, then no CD can be realized.

image-20220308214500310

4. At this time, only the stone has no CD, and other plants still have CD. At this time, you can associate it. When the skill cools down, it will definitely follow the same code. For example, 100 values ​​are added every second.

See the assembly instructions for this base address. It is found that there is mov [ebp+24],eax, this paragraph must be the code to modify the cooling time.

image-20220308214709844

5. Modify the assembly instructions, mov [ebp+24],eaxand modify , mov [ebp+24],9999to realize all plants without CD.

image-20220308214917855

Guess you like

Origin blog.csdn.net/qq_30285985/article/details/123364244