Modify Obscured types in CodeStage Anti-Cheat games

Wonder what are Obscured types? Obscured types are custom types and are for preventing memory hacking but there is nothing stopping you from editing the code. You just simply return an Obscured type rather than plain type.

Requirements:
A computer
.NET Reflector 9, Telerik JustDecompiler or dnSpy
Have basic C# and IL knowledge.

In this tutorial, I'll show you how to modify get_attack with ObscuredInt with .NET Reflector 9 as an example


The Instruction should look like this


In offset 0, change ldarg.0 to ldc.i4 <any value> because it is an Int type. I'm not going to explain what are value types. Search on Google for more information about value types

In offset 1, change the OpCode to newobj, Operand type to "-> Method reference".


In Operand, click on it and it will open the dialog box (see below)


Expand Assembly-CSharp -> Assembly-CSharp.dll -> CodeStage.AntiCheat.ObscuredTypes -> ObscuredInt and select .ctor(System.Int32), click OK

Note: The CodeStage might be located in other .dll files



It should look like this, click Update


That's all. This is the modified Instructions



List of ObscuredTypes:
ObscuredBool
ObscuredByte
ObscuredChar
ObscuredDecimal
ObscuredDouble
ObscuredFloat
ObscuredInt
ObscuredLong
ObscuredPrefs
ObscuredQuaternion
ObscuredSByte
ObscuredShort
ObscuredString
ObscuredUInt
ObscuredULong
ObscuredUShort
ObscuredVector2
ObscuredVector3

Credit:
iAndroHacker

Comments

Popular Posts

VMOS Pro Global CN FREE Custom ROMs | Gapps, ROOT, Xposed | Android 4.4.4, 5.1.1, 7.1.2, 9.0 ROMs | NO VIP

How to activate VMOS Assistant to run VMOS on Android 12 and above