Tutorial Modify Obscured types in any CodeStage Anti-Cheat games

G-Bo ッ

Administrator
Original poster
Staff member
Administrator
Mar 22, 2017
8,623
336,400
2,350
Behind you.
platinmods.com
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

WS0gqak.png


The Instruction should look like this

zmuVnyo.png


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".

1Q1xHSV.png


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. You will have to find it by yourself

OWhP7mX.png


It should look like this, click Update

muIVo75.png


That's all. This is the modified Instructions

tbEqBRr.png



List of ObscuredTypes:

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


Credits: Riu, iAndrohacker