How to fix it? 🙏
MemoryPatch Coins, Keys;
// etc...
} hexPatches;
bool coins = false;
bool keys = false;
// Hooking examples. Assuming you know how to write hook
void (*old_AddCoins)(void *instance, int _amount); // Your function is void, so use void, not int
void AddCoins(void...