oh dear
This commit is contained in:
@@ -0,0 +1,282 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
// Token: 0x020001A3 RID: 419
|
||||
[Token(Token = "0x20001A3")]
|
||||
public class SceneSpawnPoint : SpawnPoint
|
||||
{
|
||||
// Token: 0x17000218 RID: 536
|
||||
// (get) Token: 0x06000D3E RID: 3390 RVA: 0x00039CC8 File Offset: 0x00037EC8
|
||||
[Token(Token = "0x17000218")]
|
||||
public virtual bool ONJINKCJPHN
|
||||
{
|
||||
[Token(Token = "0x6000D3E")]
|
||||
[Address(RVA = "0x567CF0", Offset = "0x566AF0", VA = "0x180567CF0", Slot = "20")]
|
||||
get
|
||||
{
|
||||
return this.OJKCNJHOFLF;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000219 RID: 537
|
||||
// (get) Token: 0x06000D3F RID: 3391 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x17000219")]
|
||||
public virtual IList<long> HIHNIONINGB
|
||||
{
|
||||
[Token(Token = "0x6000D3F")]
|
||||
[Address(RVA = "0xA43EF0", Offset = "0xA42CF0", VA = "0x180A43EF0", Slot = "21")]
|
||||
get
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700021A RID: 538
|
||||
// (get) Token: 0x06000D40 RID: 3392 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x1700021A")]
|
||||
public virtual IList<long> KCPOGDOHODM
|
||||
{
|
||||
[Token(Token = "0x6000D40")]
|
||||
[Address(RVA = "0xA43F30", Offset = "0xA42D30", VA = "0x180A43F30", Slot = "22")]
|
||||
get
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700021B RID: 539
|
||||
// (get) Token: 0x06000D41 RID: 3393 RVA: 0x00039CDC File Offset: 0x00037EDC
|
||||
[Token(Token = "0x1700021B")]
|
||||
protected override Color FFCPDBLFILO
|
||||
{
|
||||
[Token(Token = "0x6000D41")]
|
||||
[Address(RVA = "0xA43610", Offset = "0xA42410", VA = "0x180A43610", Slot = "17")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06000D41)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Color SceneSpawnPoint::DAEHGOIKLFD()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:Color(var_0_05, callgetter:Color(Color::get_red))
|
||||
}
|
||||
|
||||
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: 0x1700021C RID: 540
|
||||
// (get) Token: 0x06000D42 RID: 3394 RVA: 0x00039CF0 File Offset: 0x00037EF0
|
||||
// (set) Token: 0x06000D43 RID: 3395 RVA: 0x00039D04 File Offset: 0x00037F04
|
||||
[Token(Token = "0x1700021C")]
|
||||
private List<List<SceneSpawnPoint.EBBGGPDMFIC>> FKMPLIHEGGD
|
||||
{
|
||||
[Token(Token = "0x6000D42")]
|
||||
[Address(RVA = "0x44EC80", Offset = "0x44DA80", VA = "0x18044EC80")]
|
||||
get;
|
||||
[Token(Token = "0x6000D43")]
|
||||
[Address(RVA = "0x567D10", Offset = "0x566B10", VA = "0x180567D10")]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x06000D44 RID: 3396 RVA: 0x00039D18 File Offset: 0x00037F18
|
||||
[Token(Token = "0x6000D44")]
|
||||
[Address(RVA = "0xA43A40", Offset = "0xA42840", VA = "0x180A43A40")]
|
||||
private void Start()
|
||||
{
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
if ((this.useDoorId ? 1 : 0) != num && !string.IsNullOrEmpty(this.doorQueryID))
|
||||
{
|
||||
string text = this.doorQueryID;
|
||||
string text2 = string.Format("Door.{0}.Query", text);
|
||||
num2 += num2;
|
||||
num2++;
|
||||
JIMCFNAHGJE jimcfnahgje;
|
||||
this.roomSelectionQuery = jimcfnahgje;
|
||||
}
|
||||
bool flag;
|
||||
if (!string.IsNullOrEmpty(this.roomSelectionQuery))
|
||||
{
|
||||
List<List<SceneSpawnPoint.EBBGGPDMFIC>> list = new List();
|
||||
this.<EFBMLBONBGM>k__BackingField = list;
|
||||
string text3 = this.roomSelectionQuery;
|
||||
char[] array = new char[1];
|
||||
uint num3;
|
||||
num3 += num3;
|
||||
uint num4;
|
||||
array[0] = (char)num4;
|
||||
string[] array2;
|
||||
int length = array2.Length;
|
||||
if (num2 < length)
|
||||
{
|
||||
string text4 = array2[num2];
|
||||
uint num5;
|
||||
string[] array3 = text4.Split(new char[] { (char)num5 }, StringSplitOptions.RemoveEmptyEntries);
|
||||
if (array3 != 0 && array3.Length != num2)
|
||||
{
|
||||
List<SceneSpawnPoint.EBBGGPDMFIC> list2 = new List();
|
||||
if (num2 < array3.Length)
|
||||
{
|
||||
string text5 = array3[num2];
|
||||
flag = text5.Contains("#");
|
||||
if (flag)
|
||||
{
|
||||
string text6 = text5.Replace("#", "").Replace("recroomoriginal", "rro");
|
||||
if (text6.Contains("-"))
|
||||
{
|
||||
string text7 = text6.Replace("-", "");
|
||||
}
|
||||
}
|
||||
num2++;
|
||||
}
|
||||
this.<EFBMLBONBGM>k__BackingField.Add(list2);
|
||||
}
|
||||
num2++;
|
||||
}
|
||||
}
|
||||
string text8 = this.roomSelectionQuery;
|
||||
bool flag2 = !flag;
|
||||
this.OJKCNJHOFLF = flag2;
|
||||
}
|
||||
|
||||
// Token: 0x06000D45 RID: 3397 RVA: 0x00039E9C File Offset: 0x0003809C
|
||||
[Token(Token = "0x6000D45")]
|
||||
[Address(RVA = "0xA43640", Offset = "0xA42440", VA = "0x180A43640")]
|
||||
public bool HasValidPreviousRoomConfig(long LGGEHGJPMFN, long OINLJPDAJLF, string AJNFNDCJAEH)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
List<List<SceneSpawnPoint.EBBGGPDMFIC>> list = this.<EFBMLBONBGM>k__BackingField;
|
||||
if (list == 0)
|
||||
{
|
||||
goto IL_83;
|
||||
}
|
||||
int num2 = 0;
|
||||
if (list != 0)
|
||||
{
|
||||
goto IL_83;
|
||||
}
|
||||
(new char[num2])[0] = (char)((uint)32);
|
||||
bool flag;
|
||||
if (flag)
|
||||
{
|
||||
goto IL_95;
|
||||
}
|
||||
List<List<SceneSpawnPoint.EBBGGPDMFIC>> list2 = this.<EFBMLBONBGM>k__BackingField;
|
||||
bool flag2;
|
||||
if (flag2)
|
||||
{
|
||||
int num3 = 0;
|
||||
bool flag3;
|
||||
bool flag4;
|
||||
if (flag3 && (!flag3 || !flag4))
|
||||
{
|
||||
bool flag5;
|
||||
while (flag5)
|
||||
{
|
||||
}
|
||||
}
|
||||
if (num != 0)
|
||||
{
|
||||
goto IL_9B;
|
||||
}
|
||||
if (1UL != (ulong)(-1L))
|
||||
{
|
||||
}
|
||||
while (num3 == 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
if (1UL != (ulong)(-1L))
|
||||
{
|
||||
string[] array;
|
||||
if (array == (ulong)272L)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
if (array == (ulong)270L)
|
||||
{
|
||||
goto IL_95;
|
||||
}
|
||||
}
|
||||
IL_83:
|
||||
if (this.ONJINKCJPHN || this.PreviousRooms == 0)
|
||||
{
|
||||
}
|
||||
IL_95:
|
||||
throw new NullReferenceException();
|
||||
IL_9B:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06000D46 RID: 3398 RVA: 0x00039F50 File Offset: 0x00038150
|
||||
[Token(Token = "0x6000D46")]
|
||||
[Address(RVA = "0xA43EE0", Offset = "0xA42CE0", VA = "0x180A43EE0")]
|
||||
public SceneSpawnPoint()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000A67 RID: 2663
|
||||
[Token(Token = "0x4000A67")]
|
||||
public static CIEKCAPKBDL<SceneSpawnPoint> Comparer = new CIEKCAPKBDL();
|
||||
|
||||
// Token: 0x04000A68 RID: 2664
|
||||
[FieldOffset(Offset = "0x70")]
|
||||
[Token(Token = "0x4000A68")]
|
||||
private bool OJKCNJHOFLF;
|
||||
|
||||
// Token: 0x04000A69 RID: 2665
|
||||
[FieldOffset(Offset = "0x71")]
|
||||
[Token(Token = "0x4000A69")]
|
||||
[SerializeField]
|
||||
[Space]
|
||||
private bool useDoorId;
|
||||
|
||||
// Token: 0x04000A6A RID: 2666
|
||||
[FieldOffset(Offset = "0x78")]
|
||||
[Token(Token = "0x4000A6A")]
|
||||
[SerializeField]
|
||||
[OMAIFIIBMNL("useDoorId", true)]
|
||||
[Tooltip("Use doorId to configure the spawn point based on RecNet Config. This is the same string the TeleportPortal uses.")]
|
||||
private string doorQueryID;
|
||||
|
||||
// Token: 0x04000A6B RID: 2667
|
||||
[FieldOffset(Offset = "0x80")]
|
||||
[Token(Token = "0x4000A6B")]
|
||||
[SerializeField]
|
||||
[Tooltip("e.g. #pvp #community")]
|
||||
[OMAIFIIBMNL("useDoorId", false)]
|
||||
private string roomSelectionQuery;
|
||||
|
||||
// Token: 0x020001A4 RID: 420
|
||||
[Token(Token = "0x20001A4")]
|
||||
private struct EBBGGPDMFIC
|
||||
{
|
||||
// Token: 0x04000A6D RID: 2669
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000A6D")]
|
||||
public string NKILHMDECHA;
|
||||
|
||||
// Token: 0x04000A6E RID: 2670
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4000A6E")]
|
||||
public bool BEKFIBKFAMB;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user