using System; using System.Collections.Generic; using System.Runtime.InteropServices; using Cpp2IlInjected; using RecRoom.DataStructures; using UnityEngine; using UnityEngine.AddressableAssets; namespace RRUI.Navigation { // Token: 0x02000812 RID: 2066 [Token(Token = "0x2000812")] [CreateAssetMenu] [StructLayout(3)] public class RoutesConfig : ScriptableObject { // Token: 0x17000A0B RID: 2571 // (get) Token: 0x06003973 RID: 14707 RVA: 0x000F2448 File Offset: 0x000F0648 [Token(Token = "0x17000A0B")] public static RoutesConfig Instance { [Token(Token = "0x6003973")] [Address(RVA = "0x108F550", Offset = "0x108DF50", VA = "0x18108F550")] get { RoutesConfig instance = RoutesConfig._instance; int num = 0; if (instance == num) { RoutesConfig._instance = OIOLECLLCPM.GDJBDCKGDLE(0); RoutesConfig instance2 = RoutesConfig._instance; int num2 = 0; if (instance2 == num2) { Debug.LogError("Failed to load Routes object"); } } return RoutesConfig._instance; } } // Token: 0x06003974 RID: 14708 RVA: 0x000F2494 File Offset: 0x000F0694 [Token(Token = "0x6003974")] [Address(RVA = "0x108EFE0", Offset = "0x108D9E0", VA = "0x18108EFE0")] private static void OFFLOPLJBBG() { int num; do { num = 0; RoutesConfig.prefabReferences = new Dictionary(); RoutesConfig instance = RoutesConfig.Instance; List list = instance.contexts; uint num2; if (instance != 0) { if (num >= instance) { goto IL_30; } num += num; if (num != instance) { num++; goto IL_30; } IL_46: num2 += (uint)1; if (instance != 0) { } if (num2 != (uint)(-1)) { } if (num == 0) { goto IL_58; } goto IL_89; IL_30: if (instance != 0) { Dictionary dictionary = RoutesConfig.prefabReferences; IntPtr cachedPtr = instance.m_CachedPtr; goto IL_46; } goto IL_46; } IL_58: num2 += (uint)1; if (instance != 0) { } if (num2 != (uint)(-1)) { } } while (num != 0); return; IL_89: throw new NullReferenceException(); } // Token: 0x06003975 RID: 14709 RVA: 0x000F253C File Offset: 0x000F073C [Token(Token = "0x6003975")] [Address(RVA = "0x108F3B0", Offset = "0x108DDB0", VA = "0x18108F3B0")] public static AssetReference POPMDGAJDCA(Route GJIOCANDGPE) { RoutesConfig.OFFLOPLJBBG(); Dictionary dictionary = RoutesConfig.prefabReferences; Guid value = GJIOCANDGPE.viewGuid._value; bool flag; if (!flag) { Debug.LogError(string.Format("Unable to find AssetReference for Route {0}", GJIOCANDGPE)); } throw new NullReferenceException(); } // Token: 0x17000A0C RID: 2572 // (get) Token: 0x06003976 RID: 14710 RVA: 0x000F2580 File Offset: 0x000F0780 [Token(Token = "0x17000A0C")] public IReadOnlyList Contexts { [Token(Token = "0x6003976")] [Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")] get { /* An exception occurred when decompiling this method (06003976) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IReadOnlyList`1 RRUI.Navigation.RoutesConfig::get_Contexts() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: stloc:class [mscorlib]System.Collections.Generic.List`1(var_0_06, ldfld:class [mscorlib]System.Collections.Generic.List`1(RoutesConfig::contexts, ldloc:RoutesConfig(this))) } 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: 0x06003977 RID: 14711 RVA: 0x000F2594 File Offset: 0x000F0794 [Token(Token = "0x6003977")] [Address(RVA = "0x108F4F0", Offset = "0x108DEF0", VA = "0x18108F4F0")] public RoutesConfig() { List list = new List(); this.contexts = list; base..ctor(); } // Token: 0x06003978 RID: 14712 RVA: 0x0000220F File Offset: 0x0000040F // Note: this type is marked as 'beforefieldinit'. [Token(Token = "0x6003978")] [Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60")] static RoutesConfig() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0400324C RID: 12876 [Token(Token = "0x400324C")] private static RoutesConfig _instance; // Token: 0x0400324D RID: 12877 [Token(Token = "0x400324D")] private static bool isInitialized; // Token: 0x0400324E RID: 12878 [Token(Token = "0x400324E")] private static Dictionary prefabReferences; // Token: 0x0400324F RID: 12879 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x400324F")] [SerializeField] private List contexts; // Token: 0x02000813 RID: 2067 [Token(Token = "0x2000813")] [Serializable] public class View { // Token: 0x17000A0D RID: 2573 // (get) Token: 0x06003979 RID: 14713 RVA: 0x000F25B4 File Offset: 0x000F07B4 [Token(Token = "0x17000A0D")] public SerializedGuid Guid { [Token(Token = "0x6003979")] [Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")] get { return this.guid; } } // Token: 0x17000A0E RID: 2574 // (get) Token: 0x0600397A RID: 14714 RVA: 0x000F25C8 File Offset: 0x000F07C8 [Token(Token = "0x17000A0E")] public string FriendlyName { [Token(Token = "0x600397A")] [Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")] get { return this.friendlyName; } } // Token: 0x17000A0F RID: 2575 // (get) Token: 0x0600397B RID: 14715 RVA: 0x000F25DC File Offset: 0x000F07DC [Token(Token = "0x17000A0F")] public AssetReference PrefabReference { [Token(Token = "0x600397B")] [Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")] get { return this.prefabReference; } } // Token: 0x0600397C RID: 14716 RVA: 0x000F25F0 File Offset: 0x000F07F0 [Token(Token = "0x600397C")] [Address(RVA = "0x1092550", Offset = "0x1090F50", VA = "0x181092550")] public View() { Guid guid = global::System.Guid.NewGuid(); SerializedGuid serializedGuid; this.guid = serializedGuid; base..ctor(); } // Token: 0x04003250 RID: 12880 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4003250")] [SerializeField] private SerializedGuid guid; // Token: 0x04003251 RID: 12881 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4003251")] [SerializeField] private string friendlyName; // Token: 0x04003252 RID: 12882 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4003252")] [SerializeField] private AssetReference prefabReference; } // Token: 0x02000814 RID: 2068 [Token(Token = "0x2000814")] [Serializable] public class Context { // Token: 0x17000A10 RID: 2576 // (get) Token: 0x0600397D RID: 14717 RVA: 0x000F2610 File Offset: 0x000F0810 [Token(Token = "0x17000A10")] public SerializedGuid Guid { [Token(Token = "0x600397D")] [Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")] get { return this.guid; } } // Token: 0x17000A11 RID: 2577 // (get) Token: 0x0600397E RID: 14718 RVA: 0x000F2624 File Offset: 0x000F0824 [Token(Token = "0x17000A11")] public string Name { [Token(Token = "0x600397E")] [Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")] get { return this.name; } } // Token: 0x17000A12 RID: 2578 // (get) Token: 0x0600397F RID: 14719 RVA: 0x000F2638 File Offset: 0x000F0838 [Token(Token = "0x17000A12")] public IReadOnlyList Views { [Token(Token = "0x600397F")] [Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")] get { /* An exception occurred when decompiling this method (0600397F) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IReadOnlyList`1 RRUI.Navigation.RoutesConfig/Context::get_Views() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: stloc:class [mscorlib]System.Collections.Generic.List`1(var_0_06, ldfld:class [mscorlib]System.Collections.Generic.List`1(Context::views, ldloc:Context(this))) } 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: 0x06003980 RID: 14720 RVA: 0x000F264C File Offset: 0x000F084C [Token(Token = "0x6003980")] [Address(RVA = "0x1079220", Offset = "0x1077C20", VA = "0x181079220")] public Context() { Guid guid = global::System.Guid.NewGuid(); SerializedGuid serializedGuid; this.guid = serializedGuid; List list = new List(); this.views = list; base..ctor(); } // Token: 0x04003253 RID: 12883 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4003253")] [SerializeField] private SerializedGuid guid; // Token: 0x04003254 RID: 12884 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4003254")] [SerializeField] private string name; // Token: 0x04003255 RID: 12885 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4003255")] [SerializeField] private List views; } } }