first off you need cheat engine 5.5 and to download plant vs. zombies.
the first step is to open cheat engine 5.5, click on the flashing computer icon and open the process.
step 2 is to then search for the value of 50 (sun energy)
step 3 is to search for that and then buy something so the sun energy changes.
after that double click on the remaining value to put it into the address box. then right click on the address, go to change record then value and click on value. then a box will apear and chanhge it to no more than 9999999 (otherwise your comp might crash.
and there you go, infinite sun.
the next hack is instant seed recharge and is only recomended for experienced ce users.
after that let it scan (if it doesn't find anything within a minute go to search then find assembly code and type in the code again).
in the box you should see the code that you typed in. double click the first one that pops up and the close the box.
after that the code should be on the top, then double click on the code and change the 01 to 200, after that an error box will pop up so just totally ignore it. (it may show up like 00000200).