laranjo213
Platinian
Hello guys, I would like to know if there is a way to edit "public void Exp(ObscuredInt experienceAmout)" experienceAmout as it is not a field and has ObscuredInt
dump fields:
Code im using with fields copied that post Here:
dump fields:
Code:
StaticComponents staticComponents; // 0x10
ExperienceRewardController rewardController; // 0x14
ExperienceSaveController saveController; // 0x18
ExperienceCheatController cheatController; // 0x1c
ExperienceComponents experienceComponents; // 0x20
ExperienceAttributes experienceAttributes; // 0x24
ProtectedInt level; // 0x28
System.Int32 experience; // 0x2c
Code im using with fields copied that post Here:
Code:
const ass = domain.assembly("Assembly-CSharp");
const image = ass.image;
const SurvivorInGame = image.class("Survivor.Game.SurvivorInGame");
const method = SurvivorInGame.method("set_EnemyKillCount");
const ObscuredInt = SurvivorInGame.field<Il2Cpp.ValueType>(
"<EnemyKillCount>k__BackingField" //is of type ObscuredInt
).value.type.class; //get Class instance of ObscuredInt
const newValueObj = ObscuredInt.new();
newValueObj.method(".ctor").invoke(99);
method.invoke(newValueObj.unbox());