Easier than that, simply open the game in CoSMOS hit add address manually hit 4 bytes and enter this 10397294. Same can be done with materials and gems.
Gold 10397294 (4byte)
Facility 104197F4 (2 byte)
Weapon 104197F6 (2 byte)
Gems 10398ED2 (2 byte)
All credit goes to the folks at CoSMOS.
not working for weapon and gem..