239 lines
7.7 KiB
C#
239 lines
7.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02001DCC RID: 7628
|
|
[Token(Token = "0x2001DCC")]
|
|
[StructLayout(3)]
|
|
public static class DMGGGONALIP
|
|
{
|
|
// Token: 0x0600CDB3 RID: 52659 RVA: 0x0030E500 File Offset: 0x0030C700
|
|
[Token(Token = "0x600CDB3")]
|
|
[Address(RVA = "0x1695C00", Offset = "0x1694600", VA = "0x181695C00")]
|
|
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: 0x0600CDB4 RID: 52660 RVA: 0x0030E560 File Offset: 0x0030C760
|
|
[Token(Token = "0x600CDB4")]
|
|
[Address(RVA = "0x16958E0", Offset = "0x16942E0", VA = "0x1816958E0")]
|
|
public static Bounds ACCHFJNNGJN(IList<Bounds> FDFGLBAODFM)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600CDB4)
|
|
|
|
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_55:
|
|
stloc:InvalidOperationException(var_4_5F, 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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x0600CDB5 RID: 52661 RVA: 0x0030E5D0 File Offset: 0x0030C7D0
|
|
[Token(Token = "0x600CDB5")]
|
|
[Address(RVA = "0x1695E90", Offset = "0x1694890", VA = "0x181695E90")]
|
|
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;
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
ulong num5;
|
|
if (num5 == (ulong)0L)
|
|
{
|
|
}
|
|
MDKIFJFAFPC.z = (float)num4;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600CDB6 RID: 52662 RVA: 0x0030E654 File Offset: 0x0030C854
|
|
[Token(Token = "0x600CDB6")]
|
|
[Address(RVA = "0x16965C0", Offset = "0x1694FC0", VA = "0x1816965C0")]
|
|
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: 0x0600CDB7 RID: 52663 RVA: 0x0030E6C8 File Offset: 0x0030C8C8
|
|
[Token(Token = "0x600CDB7")]
|
|
[Address(RVA = "0x1696550", Offset = "0x1694F50", VA = "0x181696550")]
|
|
public static bool HNCJGOFDDJE(GameObject LNGGKPNDKOH, out Bounds PDPPMFNOBMO, bool KMMGMFOPIKJ = false)
|
|
{
|
|
return DMGGGONALIP.HNCJGOFDDJE(LNGGKPNDKOH.GetComponentsInChildren<Renderer>(), ref PDPPMFNOBMO, KMMGMFOPIKJ);
|
|
}
|
|
|
|
// Token: 0x0600CDB8 RID: 52664 RVA: 0x0030E6E8 File Offset: 0x0030C8E8
|
|
[Token(Token = "0x600CDB8")]
|
|
[Address(RVA = "0x1696170", Offset = "0x1694B70", VA = "0x181696170")]
|
|
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_9D;
|
|
}
|
|
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_A1;
|
|
}
|
|
int num7 = 0;
|
|
if (!(num3 != num7))
|
|
{
|
|
continue;
|
|
}
|
|
IL_9D:
|
|
num3 += num3;
|
|
}
|
|
IL_A1:
|
|
if (num3 != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|