273 lines
12 KiB
C#
273 lines
12 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
using System.Text.RegularExpressions;
|
|
using CodeStage.AntiCheat.ObscuredTypes;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
using UnityEngine.Experimental.Rendering;
|
|
|
|
// Token: 0x02000600 RID: 1536
|
|
[Token(Token = "0x2000600")]
|
|
public static class JAKDHKJDFNP
|
|
{
|
|
// Token: 0x06002D53 RID: 11603 RVA: 0x000BA6A0 File Offset: 0x000B88A0
|
|
[Token(Token = "0x6002D53")]
|
|
[Address(RVA = "0x1B8F1C0", Offset = "0x1B8DFC0", VA = "0x181B8F1C0")]
|
|
public static T KCJKKFDGCLM<T>(this T NMELNILPPKN) where T : global::UnityEngine.Object
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002D54 RID: 11604 RVA: 0x000BA6B0 File Offset: 0x000B88B0
|
|
[Token(Token = "0x6002D54")]
|
|
[Address(RVA = "0x88EC10", Offset = "0x88DA10", VA = "0x18088EC10")]
|
|
public static string PODKJCBOELP(this Guid COFLAJFOPEN)
|
|
{
|
|
return COFLAJFOPEN.ToString("N");
|
|
}
|
|
|
|
// Token: 0x06002D55 RID: 11605 RVA: 0x000BA6C8 File Offset: 0x000B88C8
|
|
[Token(Token = "0x6002D55")]
|
|
[Address(RVA = "0x88E860", Offset = "0x88D660", VA = "0x18088E860")]
|
|
public static string NHKKEIKEFIJ(this Vector3 DINHOLEGEMB)
|
|
{
|
|
string[] array = new string[7];
|
|
if ("(" != 0)
|
|
{
|
|
}
|
|
array[0] = "(";
|
|
float z = DINHOLEGEMB.z;
|
|
string text;
|
|
if (text != 0)
|
|
{
|
|
}
|
|
array[1] = text;
|
|
if ("," != 0)
|
|
{
|
|
}
|
|
float y = DINHOLEGEMB.y;
|
|
array[2] = ",";
|
|
float z2 = DINHOLEGEMB.z;
|
|
string text2 = JAKDHKJDFNP.GHPOBPPBBBB(y);
|
|
if (text2 != 0)
|
|
{
|
|
}
|
|
array[3] = text2;
|
|
if ("," != 0)
|
|
{
|
|
}
|
|
array[4] = ",";
|
|
string text3 = JAKDHKJDFNP.GHPOBPPBBBB(DINHOLEGEMB.z);
|
|
if (text3 != 0)
|
|
{
|
|
}
|
|
array[5] = text3;
|
|
if (")" != 0)
|
|
{
|
|
}
|
|
array[6] = ")";
|
|
return string.Concat(array);
|
|
}
|
|
|
|
// Token: 0x06002D56 RID: 11606 RVA: 0x000BA78C File Offset: 0x000B898C
|
|
[Token(Token = "0x6002D56")]
|
|
[Address(RVA = "0x88EB50", Offset = "0x88D950", VA = "0x18088EB50")]
|
|
public static bool PMLHCCBBNEC(this object NLNHFEEMFBN)
|
|
{
|
|
if (NLNHFEEMFBN != 0)
|
|
{
|
|
if (NLNHFEEMFBN == 0)
|
|
{
|
|
}
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x06002D57 RID: 11607 RVA: 0x000BA7A8 File Offset: 0x000B89A8
|
|
[Token(Token = "0x6002D57")]
|
|
[Address(RVA = "0x88E7C0", Offset = "0x88D5C0", VA = "0x18088E7C0")]
|
|
public static bool MEGPLKIGIJC(string LJKKKECANAB)
|
|
{
|
|
if (!string.IsNullOrEmpty(LJKKKECANAB))
|
|
{
|
|
return new Regex("^[\\w!#$%&'*+\\-/=?\\^_`{|}~]+(\\.[\\w!#$%&'*+\\-/=?\\^_`{|}~]+)*@((([\\-\\w]+\\.)+[a-zA-Z]{2,4})|(([0-9]{1,3}\\.){3}[0-9]{1,3}))$").Match(LJKKKECANAB).Success;
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06002D58 RID: 11608 RVA: 0x000BA7DC File Offset: 0x000B89DC
|
|
[Token(Token = "0x6002D58")]
|
|
[Address(RVA = "0x88E640", Offset = "0x88D440", VA = "0x18088E640")]
|
|
public static bool LDBJPFPJHLF(float IHIODHALFCD)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06002D58)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean JAKDHKJDFNP::LDBJPFPJHLF(System.Single)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:float32(var_1_07, callgetter:float32(Random::get_value))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06002D59 RID: 11609 RVA: 0x000BA7F0 File Offset: 0x000B89F0
|
|
[Token(Token = "0x6002D59")]
|
|
[Address(RVA = "0x88DF10", Offset = "0x88CD10", VA = "0x18088DF10")]
|
|
public static bool CALLGDJOAJK(this CCEOLAOLEKJ HFIDFDPOCKA)
|
|
{
|
|
ObscuredInt <IFBPANODIPA>k__BackingField = HFIDFDPOCKA.<IFBPANODIPA>k__BackingField;
|
|
bool fakeValueActive = HFIDFDPOCKA.<IFBPANODIPA>k__BackingField.fakeValueActive;
|
|
int num = ObscuredInt.FAJDMKOEFLH(<IFBPANODIPA>k__BackingField);
|
|
ObscuredInt <IFBPANODIPA>k__BackingField2 = HFIDFDPOCKA.<IFBPANODIPA>k__BackingField;
|
|
bool fakeValueActive2 = HFIDFDPOCKA.<IFBPANODIPA>k__BackingField.fakeValueActive;
|
|
LLKHFJDNFMM llkhfjdnfmm = FGPIDGLCKEF.IAHDANBDAAM(ObscuredInt.FAJDMKOEFLH(<IFBPANODIPA>k__BackingField2));
|
|
if (llkhfjdnfmm == 0)
|
|
{
|
|
return true;
|
|
}
|
|
if (llkhfjdnfmm.<PALMIOEJANE>k__BackingField == LLKHFJDNFMM.DDAADAMFMCL.None)
|
|
{
|
|
return llkhfjdnfmm.<GJDPDDHJPAC>k__BackingField == LLKHFJDNFMM.CJEPCMDFKNF.None;
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06002D5A RID: 11610 RVA: 0x000BA85C File Offset: 0x000B8A5C
|
|
[Token(Token = "0x6002D5A")]
|
|
[Address(RVA = "0x88E5B0", Offset = "0x88D3B0", VA = "0x18088E5B0")]
|
|
public static void GMLKBCIFPMP(string NGPMADFHHKP, [Optional] global::UnityEngine.Object LHOMKMINCHH)
|
|
{
|
|
Debug.Log(NGPMADFHHKP, LHOMKMINCHH);
|
|
Console.WriteLine(NGPMADFHHKP);
|
|
}
|
|
|
|
// Token: 0x06002D5B RID: 11611 RVA: 0x000BA878 File Offset: 0x000B8A78
|
|
[Token(Token = "0x6002D5B")]
|
|
[Address(RVA = "0x88E0B0", Offset = "0x88CEB0", VA = "0x18088E0B0")]
|
|
public static IEnumerator FJBBODJKHLJ(Texture2D IMFJFMLHFIC, Vector2 NNIINNOGFFG, int GJMPKIGNONC, Action<Texture2D> FFMDBNAEJBE)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06002D5B)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator JAKDHKJDFNP::FJBBODJKHLJ(UnityEngine.Texture2D,UnityEngine.Vector2,System.Int32,System.Action`1<UnityEngine.Texture2D>)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(DNAGKEJPKIA::System.IDisposable.Dispose, ldloc:DNAGKEJPKIA(var_0))
|
|
stfld:Texture2D(DNAGKEJPKIA::original, ldloc:DNAGKEJPKIA(var_0), ldloc:Texture2D(IMFJFMLHFIC))
|
|
stfld:int32(DNAGKEJPKIA::numSamples, ldloc:DNAGKEJPKIA(var_0), ldloc:int32(GJMPKIGNONC))
|
|
stfld:Vector2(DNAGKEJPKIA::imageSize, ldloc:DNAGKEJPKIA(var_0), ldloc:Vector2(NNIINNOGFFG))
|
|
stfld:float32(Vector2::y, ldfld:Vector2[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Vector2&](DNAGKEJPKIA::imageSize, ldloc:DNAGKEJPKIA(var_0)), ldc.i4:int32[exp:float32](0))
|
|
stfld:int32(DNAGKEJPKIA::<>1__state, ldloc:DNAGKEJPKIA(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
|
stfld:class [mscorlib]System.Action`1<class [UnityEngine.CoreModule]UnityEngine.Texture2D>(DNAGKEJPKIA::onDone, ldloc:DNAGKEJPKIA(var_0), ldloc:class [mscorlib]System.Action`1<class [UnityEngine.CoreModule]UnityEngine.Texture2D>(FFMDBNAEJBE))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06002D5C RID: 11612 RVA: 0x000BA8BC File Offset: 0x000B8ABC
|
|
[Token(Token = "0x6002D5C")]
|
|
[Address(RVA = "0x88E670", Offset = "0x88D470", VA = "0x18088E670")]
|
|
public static Texture2D LPJMFOPBMFH(this Texture2D LEEEPPNEGPO, Vector2 NNIINNOGFFG, int HIMLIFBHIHL = 2)
|
|
{
|
|
GraphicsFormat graphicsFormat = LEEEPPNEGPO.graphicsFormat;
|
|
int num = (int)graphicsFormat;
|
|
int num2 = (int)graphicsFormat;
|
|
Texture2D texture2D = global::UnityEngine.Object.Instantiate<Texture2D>(LEEEPPNEGPO);
|
|
int num3 = HIMLIFBHIHL - 1;
|
|
if (num3 > 1)
|
|
{
|
|
num -= texture2D;
|
|
num2 -= texture2D;
|
|
MDBKOHJNCNL.LEEOHCJJNHF(texture2D, num, num2);
|
|
num2 -= texture2D;
|
|
num -= texture2D;
|
|
while (num3 != 1)
|
|
{
|
|
}
|
|
}
|
|
return texture2D;
|
|
}
|
|
|
|
// Token: 0x06002D5D RID: 11613 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6002D5D")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
|
|
public static void JOENABEAHLM()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002D5E RID: 11614 RVA: 0x000BA90C File Offset: 0x000B8B0C
|
|
[Token(Token = "0x6002D5E")]
|
|
[Address(RVA = "0x88E150", Offset = "0x88CF50", VA = "0x18088E150")]
|
|
public static void GBGLMEMFJDK(Vector3 DOEPENFIMIF, Vector3 KHCKICNKKEB, float OMLBPICLALA)
|
|
{
|
|
float z = DOEPENFIMIF.z;
|
|
float z2 = KHCKICNKKEB.z;
|
|
float z3 = KHCKICNKKEB.z;
|
|
float z4 = DOEPENFIMIF.z;
|
|
Vector3 vector;
|
|
float z5 = vector.z;
|
|
Vector3 vector2;
|
|
float z6 = vector2.z;
|
|
float z7 = Vector3.up.z;
|
|
Vector3 up = Vector3.up;
|
|
float z8 = Vector3.forward.z;
|
|
Vector3 vector3;
|
|
float z9 = vector3.z;
|
|
int num = 0;
|
|
Vector3 vector4;
|
|
float z10 = vector4.z;
|
|
Vector3 vector5;
|
|
float z11 = vector5.z;
|
|
float z12 = DOEPENFIMIF.z;
|
|
Vector3 vector6;
|
|
float z13 = vector6.z;
|
|
Vector3 vector7;
|
|
float z14 = vector7.z;
|
|
num++;
|
|
}
|
|
|
|
// Token: 0x06002D5F RID: 11615 RVA: 0x000BA9A8 File Offset: 0x000B8BA8
|
|
[Token(Token = "0x6002D5F")]
|
|
[Address(RVA = "0x88E520", Offset = "0x88D320", VA = "0x18088E520")]
|
|
[CompilerGenerated]
|
|
internal static string GHPOBPPBBBB(float CEHJGNDELGL)
|
|
{
|
|
int num = 0;
|
|
if (num > (int)CEHJGNDELGL)
|
|
{
|
|
}
|
|
if (CEHJGNDELGL > (float)num)
|
|
{
|
|
}
|
|
return string.Format("\u2007{0:F3}", CEHJGNDELGL);
|
|
}
|
|
|
|
// Token: 0x040024AE RID: 9390
|
|
[Token(Token = "0x40024AE")]
|
|
public const float EBMBFOOPPMD = 1.7777778f;
|
|
}
|