using System; using System.Collections.Generic; using Cpp2IlInjected; using UnityEngine; namespace RRUI.Toasts { // Token: 0x02000814 RID: 2068 [Token(Token = "0x2000814")] [CreateAssetMenu] public class ToastsConfig : ScriptableObject { // Token: 0x17000A1F RID: 2591 // (get) Token: 0x06003A35 RID: 14901 RVA: 0x000F055C File Offset: 0x000EE75C [Token(Token = "0x17000A1F")] public static ToastsConfig Instance { [Token(Token = "0x6003A35")] [Address(RVA = "0x15A2A00", Offset = "0x15A1A00", VA = "0x1815A2A00")] get { ToastsConfig instance = ToastsConfig._instance; int num = 0; if (instance == num) { ToastsConfig._instance = OLJIOKGMCPN.MNKDOANEFLK(0); ToastsConfig instance2 = ToastsConfig._instance; int num2 = 0; if (instance2 == num2) { Debug.LogError("Failed to load Toasts object"); } } return ToastsConfig._instance; } } // Token: 0x06003A36 RID: 14902 RVA: 0x000F05A8 File Offset: 0x000EE7A8 [Token(Token = "0x6003A36")] [Address(RVA = "0x15A2550", Offset = "0x15A1550", VA = "0x1815A2550")] private static void OFFLOPLJBBG() { int num = 0; ToastsConfig.prefabsByToastType = new Dictionary(); ToastsConfig instance = ToastsConfig._instance; int num2 = 0; if (instance == num2) { ToastsConfig._instance = OLJIOKGMCPN.MNKDOANEFLK(0); ToastsConfig instance2 = ToastsConfig._instance; int num3 = 0; if (instance2 == num3) { Debug.LogError("Failed to load Toasts object"); } } List list = ToastsConfig._instance.views; ToastsConfig instance3 = ToastsConfig._instance; num += num; num++; Dictionary dictionary = ToastsConfig.prefabsByToastType; bool flag; if (!flag) { int num4 = 0; string text; Debug.LogError(text); num4 += num4; text += instance3; } Dictionary dictionary2 = ToastsConfig.prefabsByToastType; throw new NullReferenceException(); } // Token: 0x06003A37 RID: 14903 RVA: 0x000F0668 File Offset: 0x000EE868 [Token(Token = "0x6003A37")] [Address(RVA = "0x15A2440", Offset = "0x15A1440", VA = "0x1815A2440")] public static PMGCJEPKFOF ODJFJBABAAO(BIHOKCDKFPC KPOFFAKOGAI) { ToastsConfig.OFFLOPLJBBG(); Dictionary dictionary = ToastsConfig.prefabsByToastType; PMGCJEPKFOF pmgcjepkfof; return pmgcjepkfof; } // Token: 0x17000A20 RID: 2592 // (get) Token: 0x06003A38 RID: 14904 RVA: 0x000F068C File Offset: 0x000EE88C [Token(Token = "0x17000A20")] public IReadOnlyList Views { [Token(Token = "0x6003A38")] [Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")] get { /* An exception occurred when decompiling this method (06003A38) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IReadOnlyList`1 RRUI.Toasts.ToastsConfig::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(ToastsConfig::views, ldloc:ToastsConfig(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: 0x06003A39 RID: 14905 RVA: 0x000F06A0 File Offset: 0x000EE8A0 [Token(Token = "0x6003A39")] [Address(RVA = "0x15A29A0", Offset = "0x15A19A0", VA = "0x1815A29A0")] public ToastsConfig() { List list = new List(); this.views = list; base..ctor(); } // Token: 0x06003A3A RID: 14906 RVA: 0x0000220F File Offset: 0x0000040F // Note: this type is marked as 'beforefieldinit'. [Token(Token = "0x6003A3A")] [Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0")] static ToastsConfig() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x040031C9 RID: 12745 [Token(Token = "0x40031C9")] private static ToastsConfig _instance; // Token: 0x040031CA RID: 12746 [Token(Token = "0x40031CA")] private static bool isInitialized; // Token: 0x040031CB RID: 12747 [Token(Token = "0x40031CB")] private static Dictionary prefabsByToastType; // Token: 0x040031CC RID: 12748 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40031CC")] [SerializeField] private List views; // Token: 0x02000815 RID: 2069 [Token(Token = "0x2000815")] [Serializable] public class View { // Token: 0x17000A21 RID: 2593 // (get) Token: 0x06003A3B RID: 14907 RVA: 0x000F06C0 File Offset: 0x000EE8C0 [Token(Token = "0x17000A21")] public string Name { [Token(Token = "0x6003A3B")] [Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")] get { return this.name; } } // Token: 0x17000A22 RID: 2594 // (get) Token: 0x06003A3C RID: 14908 RVA: 0x000F06D4 File Offset: 0x000EE8D4 [Token(Token = "0x17000A22")] public GameObject Prefab { [Token(Token = "0x6003A3C")] [Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")] get { return this.prefab; } } // Token: 0x06003A3D RID: 14909 RVA: 0x000F06E8 File Offset: 0x000EE8E8 [Token(Token = "0x6003A3D")] [Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")] public View() { } // Token: 0x040031CD RID: 12749 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40031CD")] [SerializeField] private string name; // Token: 0x040031CE RID: 12750 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40031CE")] [SerializeField] private GameObject prefab; } } }