Help! Help with adding coins

A.Flores

Platinian
Original poster
Apr 28, 2024
11
316
48
Hi everyone. In dump.cs, I found this method:
Code:
// RVA: 0x16657f8 VA: 0x77a6ad07f8
 public Void AddCoins(Int32 amount, CoinsEarnedMethod earnedMthod, Boolean storeBackup) { }
I tried to hook it using different methods to call it, and it works; coins are added under certain conditions.

But I'm interested in whether it's possible to call such methods in the LGL menu when a switch is pressed in the running game. That is, I want the balance to be increased by, for example, 5000 coins when the button is pressed