232 lines
7.6 KiB
C#
232 lines
7.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Cpp2IlInjected;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02002172 RID: 8562
|
|
[Token(Token = "0x2002172")]
|
|
public static class DMGGGONALIP
|
|
{
|
|
// Token: 0x0600DBC2 RID: 56258 RVA: 0x0032FB14 File Offset: 0x0032DD14
|
|
[Token(Token = "0x600DBC2")]
|
|
[Address(RVA = "0x10788B0", Offset = "0x10776B0", VA = "0x1810788B0")]
|
|
public static Vector3 DJADBCLMCLC(this GameObject DOJCFCINALC, float DAKPIPDKKAC)
|
|
{
|
|
int num = 0;
|
|
int num2 = 0;
|
|
SavedExtents savedExtents;
|
|
if (savedExtents == num2)
|
|
{
|
|
SavedExtents savedExtents2;
|
|
savedExtents2.SetLocalSpaceBounds(num);
|
|
object[] array = new object[2];
|
|
string text;
|
|
if (text != 0)
|
|
{
|
|
}
|
|
array[0] = text;
|
|
Debug.LogWarningFormat("No saved bounds found for {0}. Attempting to calculate...", array);
|
|
}
|
|
float z = Vector3.one.z;
|
|
Vector3 vector;
|
|
float z2 = vector.z;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600DBC3 RID: 56259 RVA: 0x0032FB74 File Offset: 0x0032DD74
|
|
[Token(Token = "0x600DBC3")]
|
|
[Address(RVA = "0x1078590", Offset = "0x1077390", VA = "0x181078590")]
|
|
public static Bounds ACCHFJNNGJN(IList<Bounds> FDFGLBAODFM)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600DBC3)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Bounds DMGGGONALIP::ACCHFJNNGJN(System.Collections.Generic.IList`1<UnityEngine.Bounds>)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_5A:
|
|
stloc:InvalidOperationException(var_5_64, newobj:InvalidOperationException(InvalidOperationException::.ctor, ldstr:string("Can't combine bounds list with count=0!")))
|
|
}
|
|
|
|
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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
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 1660
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x0600DBC4 RID: 56260 RVA: 0x0032FBE8 File Offset: 0x0032DDE8
|
|
[Token(Token = "0x600DBC4")]
|
|
[Address(RVA = "0x1078B40", Offset = "0x1077940", VA = "0x181078B40")]
|
|
public static bool DJALHPACGLD(IEnumerable<Component> LHPMBINODJE, out Vector3 MDKIFJFAFPC)
|
|
{
|
|
int num;
|
|
int num4;
|
|
do
|
|
{
|
|
num = 0;
|
|
float z = Vector3.zero.z;
|
|
MDKIFJFAFPC.z = z;
|
|
int num2 = 0;
|
|
int num3 = 0;
|
|
if (num2 != 0)
|
|
{
|
|
if (num < num2)
|
|
{
|
|
num += num;
|
|
if (num == num2)
|
|
{
|
|
goto IL_3E;
|
|
}
|
|
num++;
|
|
}
|
|
GameObject gameObject;
|
|
Renderer[] componentsInChildren = gameObject.GetComponentsInChildren<Renderer>();
|
|
bool flag;
|
|
while (!flag)
|
|
{
|
|
}
|
|
if (num3 == 0)
|
|
{
|
|
}
|
|
}
|
|
IL_3E:
|
|
if (num2 != 0)
|
|
{
|
|
num4 = 0;
|
|
}
|
|
}
|
|
while (num != 0);
|
|
ulong num5;
|
|
if (num5 == (ulong)0L)
|
|
{
|
|
}
|
|
MDKIFJFAFPC.z = (float)num4;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600DBC5 RID: 56261 RVA: 0x0032FC68 File Offset: 0x0032DE68
|
|
[Token(Token = "0x600DBC5")]
|
|
[Address(RVA = "0x1079240", Offset = "0x1078040", VA = "0x181079240")]
|
|
public static Bounds NNIALCDPBAC(this GameObject LNGGKPNDKOH)
|
|
{
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
float z2 = Vector3.zero.z;
|
|
int num = 0;
|
|
Renderer[] array;
|
|
int length = array.Length;
|
|
if (num < length)
|
|
{
|
|
Renderer renderer = array[num];
|
|
int num2 = 0;
|
|
if (!(renderer != num2) || !renderer.enabled || renderer.gameObject.activeSelf)
|
|
{
|
|
}
|
|
num++;
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600DBC6 RID: 56262 RVA: 0x0032FCDC File Offset: 0x0032DEDC
|
|
[Token(Token = "0x600DBC6")]
|
|
[Address(RVA = "0x10791D0", Offset = "0x1077FD0", VA = "0x1810791D0")]
|
|
public static bool HNCJGOFDDJE(GameObject LNGGKPNDKOH, out Bounds PDPPMFNOBMO, bool KMMGMFOPIKJ = false)
|
|
{
|
|
return DMGGGONALIP.HNCJGOFDDJE(LNGGKPNDKOH.GetComponentsInChildren<Renderer>(), ref PDPPMFNOBMO, KMMGMFOPIKJ);
|
|
}
|
|
|
|
// Token: 0x0600DBC7 RID: 56263 RVA: 0x0032FCFC File Offset: 0x0032DEFC
|
|
[Token(Token = "0x600DBC7")]
|
|
[Address(RVA = "0x1078E10", Offset = "0x1077C10", VA = "0x181078E10")]
|
|
public static bool HNCJGOFDDJE(IEnumerable<Renderer> PCLMNNEHLNG, out Bounds PDPPMFNOBMO, bool KMMGMFOPIKJ = false)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
int num2 = 0;
|
|
int num3 = 0;
|
|
PDPPMFNOBMO.m_Center = num3;
|
|
PDPPMFNOBMO.m_Extents.y = (float)num3;
|
|
if (num3 != 0)
|
|
{
|
|
if (num < num3)
|
|
{
|
|
num += num;
|
|
if (num == num3)
|
|
{
|
|
goto IL_A4;
|
|
}
|
|
num++;
|
|
}
|
|
int num4 = 0;
|
|
if (num3 == num4)
|
|
{
|
|
continue;
|
|
}
|
|
int num5 = 0;
|
|
GameObject gameObject;
|
|
if (gameObject == num5)
|
|
{
|
|
continue;
|
|
}
|
|
while (num3 != 0)
|
|
{
|
|
}
|
|
while (num3 != 0)
|
|
{
|
|
}
|
|
while (num3 != 0)
|
|
{
|
|
}
|
|
if (KMMGMFOPIKJ)
|
|
{
|
|
bool flag;
|
|
while (!flag)
|
|
{
|
|
}
|
|
GameObject gameObject2;
|
|
if (!gameObject2.activeSelf)
|
|
{
|
|
continue;
|
|
}
|
|
}
|
|
GameObject gameObject3;
|
|
TextMeshPro component = gameObject3.GetComponent<TextMeshPro>();
|
|
int num6 = 0;
|
|
if (component != num6)
|
|
{
|
|
continue;
|
|
}
|
|
if (num2 == 0)
|
|
{
|
|
goto IL_A8;
|
|
}
|
|
int num7 = 0;
|
|
if (!(num3 != num7))
|
|
{
|
|
continue;
|
|
}
|
|
PDPPMFNOBMO.Encapsulate(num3);
|
|
IL_A4:
|
|
num3 += num3;
|
|
}
|
|
IL_A8:
|
|
if (num3 != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|