how to change an Int function so that it returns a value of -5000000000, minus 5 billion exceeds the maximum value of int
C++:
int (*orig_get_CurrentBet) (void* instance);
int get_CurrentBet(void* instance) {
//LOGI(OBFUSCATE("FinishFishing status: %d"), status);
if (hack0)
{
return -5000000000; // public bool get_IsHacked()
}
return orig_get_CurrentBet(instance);
}