FOR NEW ACCOUNTS
Dword search, 50x8. (Can keep searching value until you get to reward to help eliminate values)
Earn the first 50. Search 100x8. Should have 1 result. Goto address. You are at the xor value. Above is xor key and above that is dword value. So, pause game with GG, edit xor value to something like 12345x8. Edit Dword to be 12345. Values need to match, or game will crash.
FOR EXISTING ACCOUNTS (IF YOU SPENT GOLD)
Unknown Dword search. Earn gold. Unknown Dword, click more and do the N=O+D and put for value how much gold you earned. You can also do a known search and put a range. So if you have 500 gold and you think you've spent liked 100, do dword search of something like 500~800. Keep doing these searches until you have 1 or 2 results. You'll see the correct value have same layout as my video. Below the gold is the gems.
Follow above method for xp too.
Video provided here
https://forum.sbenny.com/threads/harry-potter-hogwarts-mystery-currencies-and-xp.12085/