TheCraTer
Platinian
Hello,
Anyone knows how to hook this function correctly?
I tried this but not worked::
Anyone knows how to hook this function correctly?
C#:
// RVA: 0x3D86F2C Offset: 0x3D82F2C VA: 0x3D86F2C
public int GetCurrency(CurrencyType type) { }
I tried this but not worked::
C++:
int GetCurrency(void *instance, void *type) {
if (instance != NULL) {
if(UnlimitedCaurrency){
return 2147483647;
}
}
return game_GetCurrency(instance, type);
}