It's simple// Fields
private static bool <GodMode>k__BackingField; // 0x0
private Dictionary<string, CheatMenu.CheatItem> <CheatCalls>k__BackingField; // 0x8
// Methods
// RVA: 0x17CC830 Offset: 0x17CC830 VA: 0x17CC830
public static bool get_GodMode() { }
how to edit this?
bool godmode = false;
bool (*old_Feature) (void *instance);
bool feature(void *instance) {
if (instance != NULL) {
if (godmode) {
return true;
}
}
return old_Feature(instance);
}
There's a static function, void *instance is not neededIt's simple
Code:bool godmode = false; bool (*old_Feature) (void *instance); bool feature(void *instance) { if (instance != NULL) { if (godmode) { return true; } } return old_Feature(instance); }
bool godmode = false;
bool (*old_Feature) ();
bool Feature() {
if (godmode) {
return true;
}
return old_Feature();
}
Hi did you know how to hook this it's has complier generatorThere's a static function, void *instance is not needed
Code:bool godmode = false; bool (*old_Feature) (); bool Feature() { if (godmode) { return true; } return old_Feature(); }
[CompilerGeneratedAttribute] // RVA: 0x3506F0 Offset: 0x3506F0 VA: 0x3506F0
// RVA: 0x17480AC Offset: 0x17480AC VA: 0x17480AC
public bool get_AdsDisabled() { }
Bool AdsDisabled = false;Hi did you know how to hook this it's has complier generator
Code:[CompilerGeneratedAttribute] // RVA: 0x3506F0 Offset: 0x3506F0 VA: 0x3506F0 // RVA: 0x17480AC Offset: 0x17480AC VA: 0x17480AC public bool get_AdsDisabled() { }