Strings in wrong offsets
I had spent my time trying to find out why my hacked functions are not working. Now i found out that the script placed strings in wrong offsets
This is UserData$$get_gold right?

But the real UserData$$get_gold is actually sub_CS8304. I found it by searching hex that i copied from older version.

I'm using Python 2.7, IDA Pro 6.8 and fixed the script that a member mentioned
Here is .so and .dat file if you want to test http://usersdownload.com/xxn0b5vyuvji.html
I tested your metadata.dat file. I found the metadata version is 22, while my tool only work for version 21. Unity is upgraded. I have to spend some time to figure out the new version.
real UserData$$get_gold in Sub_00C596E0
@nevermoe ok. I'm waiting :)
@Darkness0ut how did you find the real get_gold?