Help! How to invoke a method in LGL Mod Menu

jagjigjug

Platinian
Original poster
Oct 6, 2022
10
0
1
33
US
I'm trying to make a mod with instant win functionality. Short story I found a function like this in dumper :

EndBattle (bool bWin);


Then I set it inside Update hook like this :

EndBattle (instance, true);


But it doesn't work (the game frozen whenever I activate the toggle before/after entering battle). Any help would be appreciated.

regards 🙏
 

FIDΞN

Platinian
Jan 8, 2022
5
1
3
17
Italy
first of all u need to explain from what class are the methods that you are using, and send a screenshot on how did u hooked all of that