using System; using System.Collections.Generic; using System.Linq; using Cpp2IlInjected; using RecRoom.DataStructures; using UnityEngine; using UnityEngine.AddressableAssets; namespace RRUI.Navigation { // Token: 0x02000856 RID: 2134 [Token(Token = "0x2000856")] [CreateAssetMenu] public class RoutesConfig : ScriptableObject { // Token: 0x17000A7B RID: 2683 // (get) Token: 0x06003B1D RID: 15133 RVA: 0x000F31F0 File Offset: 0x000F13F0 [Token(Token = "0x17000A7B")] private static bool _isInitialized { [Token(Token = "0x6003B1D")] [Address(RVA = "0x1E761A0", Offset = "0x1E751A0", VA = "0x181E761A0")] get { List configs = RoutesConfig._configs; bool flag; return flag; } } // Token: 0x17000A7C RID: 2684 // (get) Token: 0x06003B1E RID: 15134 RVA: 0x000F320C File Offset: 0x000F140C [Token(Token = "0x17000A7C")] public static IReadOnlyList Configs { [Token(Token = "0x6003B1E")] [Address(RVA = "0x1E760F0", Offset = "0x1E750F0", VA = "0x181E760F0")] get { /* An exception occurred when decompiling this method (06003B1E) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IReadOnlyList`1 RRUI.Navigation.RoutesConfig::get_Configs() ---> System.Exception: Basic block has to end with unconditional control flow. { IL_11: stloc:class [mscorlib]System.Collections.Generic.List`1(var_2_16, ldsfld:class [mscorlib]System.Collections.Generic.List`1(RoutesConfig::_configs)) } 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: 0x17000A7D RID: 2685 // (get) Token: 0x06003B1F RID: 15135 RVA: 0x000F3230 File Offset: 0x000F1430 [Token(Token = "0x17000A7D")] public IReadOnlyList Views { [Token(Token = "0x6003B1F")] [Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")] get { /* An exception occurred when decompiling this method (06003B1F) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IReadOnlyList`1 RRUI.Navigation.RoutesConfig::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(RoutesConfig::views, 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: 0x06003B20 RID: 15136 RVA: 0x000F3244 File Offset: 0x000F1444 [Token(Token = "0x6003B20")] [Address(RVA = "0x1E75B30", Offset = "0x1E74B30", VA = "0x181E75B30")] private static void OFFLOPLJBBG() { int num; do { num = 0; RoutesConfig._configs = Enumerable.ToList(Resources.LoadAll(RoutesConfig.ResourcesRoutesDirectoryPath)); RoutesConfig._prefabReferences = new Dictionary(); List configs = RoutesConfig._configs; bool flag; if (flag) { if (flag) { Dictionary prefabReferences = RoutesConfig._prefabReferences; } if (flag) { } if (num != 0) { goto IL_61; } while ((ulong)((uint)(-1)) == (ulong)(-1L)) { } } } while (num != 0); return; IL_61: throw new NullReferenceException(); } // Token: 0x06003B21 RID: 15137 RVA: 0x000F32C0 File Offset: 0x000F14C0 [Token(Token = "0x6003B21")] [Address(RVA = "0x1E757F0", Offset = "0x1E747F0", VA = "0x181E757F0")] public static bool HOMDCONMIBP(Route GJIOCANDGPE, out RoutesConfig JOJDKKOGJID, out RoutesConfig.View MAKNOCJAGOK) { int num; do { num = 0; if (!RoutesConfig._isInitialized) { RoutesConfig.OFFLOPLJBBG(); } List configs = RoutesConfig._configs; bool flag; if (flag) { bool flag2; if (flag2) { SerializedGuid viewGuid = GJIOCANDGPE.viewGuid; bool flag3; while (!flag3) { } } if (num != 0) { goto IL_77; } while (1UL == (ulong)(-1L)) { } if (typeof(RoutesConfig).TypeHandle == (ulong)143L) { } while (typeof(RoutesConfig).TypeHandle != (ulong)110L) { } } } while (num != 0); if (1UL != (ulong)(-1L)) { return true; } throw new NullReferenceException(); IL_77: throw new NullReferenceException(); } // Token: 0x06003B22 RID: 15138 RVA: 0x000F3350 File Offset: 0x000F1550 [Token(Token = "0x6003B22")] [Address(RVA = "0x1E75E70", Offset = "0x1E74E70", VA = "0x181E75E70")] public static AssetReference POPMDGAJDCA(Route GJIOCANDGPE) { if (!RoutesConfig._isInitialized) { RoutesConfig.OFFLOPLJBBG(); } Dictionary prefabReferences = RoutesConfig._prefabReferences; Guid value = GJIOCANDGPE.viewGuid.Value; bool flag; if (!flag) { Debug.LogError(string.Format("Unable to find {0} for {1}: {2}", "AssetReference", "Route", GJIOCANDGPE)); } throw new NullReferenceException(); } // Token: 0x06003B23 RID: 15139 RVA: 0x000F33A8 File Offset: 0x000F15A8 [Token(Token = "0x6003B23")] [Address(RVA = "0x1E76090", Offset = "0x1E75090", VA = "0x181E76090")] public RoutesConfig() { List list = new List(); this.views = list; base..ctor(); } // Token: 0x06003B24 RID: 15140 RVA: 0x000F33C8 File Offset: 0x000F15C8 // Note: this type is marked as 'beforefieldinit'. [Token(Token = "0x6003B24")] [Address(RVA = "0x1E75FF0", Offset = "0x1E74FF0", VA = "0x181E75FF0")] static RoutesConfig() { string resourcesRoutesDirectoryPath = RoutesConfig.ResourcesRoutesDirectoryPath; RoutesConfig.FullRoutesDirectoryPath = "Assets/RRUI/Resources/" + resourcesRoutesDirectoryPath; int num = 0; RoutesConfig._configs = num; RoutesConfig._prefabReferences = num; } // Token: 0x040032D0 RID: 13008 [Token(Token = "0x40032D0")] public static readonly string ResourcesRoutesDirectoryPath = "Routes/"; // Token: 0x040032D1 RID: 13009 [Token(Token = "0x40032D1")] public static readonly string FullRoutesDirectoryPath; // Token: 0x040032D2 RID: 13010 [Token(Token = "0x40032D2")] private static List _configs; // Token: 0x040032D3 RID: 13011 [Token(Token = "0x40032D3")] private static Dictionary _prefabReferences; // Token: 0x040032D4 RID: 13012 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40032D4")] [SerializeField] private List views; // Token: 0x02000857 RID: 2135 [Token(Token = "0x2000857")] [Serializable] public class View { // Token: 0x17000A7E RID: 2686 // (get) Token: 0x06003B25 RID: 15141 RVA: 0x000F3404 File Offset: 0x000F1604 [Token(Token = "0x17000A7E")] public SerializedGuid Guid { [Token(Token = "0x6003B25")] [Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")] get { return this.guid; } } // Token: 0x17000A7F RID: 2687 // (get) Token: 0x06003B26 RID: 15142 RVA: 0x000F3418 File Offset: 0x000F1618 [Token(Token = "0x17000A7F")] public string FriendlyName { [Token(Token = "0x6003B26")] [Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")] get { return this.friendlyName; } } // Token: 0x17000A80 RID: 2688 // (get) Token: 0x06003B27 RID: 15143 RVA: 0x000F342C File Offset: 0x000F162C [Token(Token = "0x17000A80")] public AssetReference PrefabReference { [Token(Token = "0x6003B27")] [Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")] get { return this.prefabReference; } } // Token: 0x06003B28 RID: 15144 RVA: 0x000F3440 File Offset: 0x000F1640 [Token(Token = "0x6003B28")] [Address(RVA = "0x1E790F0", Offset = "0x1E780F0", VA = "0x181E790F0")] public View() { Guid guid = global::System.Guid.NewGuid(); SerializedGuid serializedGuid; this.guid = serializedGuid; base..ctor(); } // Token: 0x040032D5 RID: 13013 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40032D5")] [SerializeField] private SerializedGuid guid; // Token: 0x040032D6 RID: 13014 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40032D6")] [SerializeField] private string friendlyName; // Token: 0x040032D7 RID: 13015 [FieldOffset(Offset = "0x20")] [Token(Token = "0x40032D7")] [SerializeField] private AssetReference prefabReference; } } }