Man walk away now while you can.
That cheat is missing for a reason.
First, you have to make sure you dont change characters in that game or it messes up all your pointers.
Second, the value for hearts is also not simple values. I cant seem to find my notes on the game unfortunately. I think they were float or something close to that so start there. It might also be backwards or something weird but its been so long I honestly dont remember. Try switching endians if you are still having trouble.
I swear I uploaded the values and pointers in this thread somewhere when someone insisted on doing what you are trying to do, (you can guess how that turned out) but I cant find them. If you find them you should have all the default values for hearts.
Fair warning, that game isnt going to be worth your time though, that is one of those cheats I go back to from time to time when I feel like I learned something new that could help. To be fair it should be easier now because we didnt even have a decent way to look for pointers back then, but it certainly isnt going to be fun. If you need more help let me know. I'll install it again and it shouldnt take too long to catch back up