Help! How to bypass this kind of protection?

xadf

Solid & Active Platinian
Original poster
Nov 27, 2020
82
1,532
193
Germany
Hello,
All important values has this "SecuredDouble" , what can i do in such a case? ( Its moddable because there are a few mods of this game in the internet ) but how :D


// Upgradable
// Token: 0x060008AA RID: 2218 RVA: 0x000047B8 File Offset: 0x000029B8
[Token(Token = "0x60006E1")]
[Address(RVA = "0x1407418", Offset = "0x1407418", VA = "0x1407418", Slot = "12")]
public virtual SecuredDouble GetCost()
{
return default(SecuredDouble);
}

dnSpy v6.1.8 (64-bit, .NET) 08.01.2021 18_53_49.png
 

hemoridhero

Platinian
Jul 29, 2020
26
28
18
33
Tokyo
This is likely to protect against memory hack, not file-based ones.

Basically, Money (normally int32) passed through a couple of XOR methods, which obfuscates it and protect against GameGuardian.

Do not worry, if you want to edit the boolean, just go ahead. If you want to hack "money", simply try to return a random big Double (bigger than 21B), chances are it will work. If you want to be sure, find the approx. value via GameGuardian in-game by repeatedly refining the value with "This value is encrypted" on.