Jump to content

43 posts in this topic

Recommended Posts

Updated (edited)

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



Credit:
Riu
AndnixSH (this tutorial)

Updated by AndnixSH
  • Like 39
  • Winner 3
  • Thanks 13
  • Agree 6
  • Informative 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines