using System; using System.Collections.Generic; using Cpp2IlInjected; using UnityEngine; namespace RRUI.Dialogs { // Token: 0x02000845 RID: 2117 [Token(Token = "0x2000845")] [CreateAssetMenu] public class DialogsConfig : ScriptableObject { // Token: 0x17000A60 RID: 2656 // (get) Token: 0x06003A94 RID: 14996 RVA: 0x000F2354 File Offset: 0x000F0554 [Token(Token = "0x17000A60")] public static DialogsConfig Instance { [Token(Token = "0x6003A94")] [Address(RVA = "0x13A2700", Offset = "0x13A1500", VA = "0x1813A2700")] get { DialogsConfig instance = DialogsConfig._instance; int num = 0; if (instance == num) { DialogsConfig._instance = OLJIOKGMCPN.MNKDOANEFLK(0); DialogsConfig instance2 = DialogsConfig._instance; int num2 = 0; if (instance2 == num2) { Debug.LogError("Failed to load Dialogs object"); } } return DialogsConfig._instance; } } // Token: 0x06003A95 RID: 14997 RVA: 0x000F23A0 File Offset: 0x000F05A0 [Token(Token = "0x6003A95")] [Address(RVA = "0x13A20C0", Offset = "0x13A0EC0", VA = "0x1813A20C0")] private static void OFFLOPLJBBG() { int num; do { num = 0; DialogsConfig.prefabsByDialogType = new Dictionary(); DialogsConfig instance = DialogsConfig._instance; int num2 = 0; if (instance == num2) { DialogsConfig._instance = OLJIOKGMCPN.MNKDOANEFLK(0); DialogsConfig instance2 = DialogsConfig._instance; int num3 = 0; if (instance2 == num3) { Debug.LogError("Failed to load Dialogs object"); } } List list = DialogsConfig._instance.views; DialogsConfig instance3 = DialogsConfig._instance; num += num; num++; Dictionary dictionary = DialogsConfig.prefabsByDialogType; bool flag; if (!flag) { int num4 = 0; string text; Debug.LogError(text); num4 += num4; text += instance3; } Dictionary dictionary2 = DialogsConfig.prefabsByDialogType; } while (num != 0); } // Token: 0x06003A96 RID: 14998 RVA: 0x000F245C File Offset: 0x000F065C [Token(Token = "0x6003A96")] [Address(RVA = "0x13A1FB0", Offset = "0x13A0DB0", VA = "0x1813A1FB0")] public static PMGCJEPKFOF ODJFJBABAAO(DLKPBLNKLAD OIPDFDMPPEA) { DialogsConfig.OFFLOPLJBBG(); Dictionary dictionary = DialogsConfig.prefabsByDialogType; PMGCJEPKFOF pmgcjepkfof; return pmgcjepkfof; } // Token: 0x17000A61 RID: 2657 // (get) Token: 0x06003A97 RID: 14999 RVA: 0x000F2480 File Offset: 0x000F0680 [Token(Token = "0x17000A61")] public IReadOnlyList Views { [Token(Token = "0x6003A97")] [Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")] get { /* An exception occurred when decompiling this method (06003A97) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IReadOnlyList`1 RRUI.Dialogs.DialogsConfig::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(DialogsConfig::views, ldloc:DialogsConfig(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 1660 */; } } // Token: 0x17000A62 RID: 2658 // (get) Token: 0x06003A98 RID: 15000 RVA: 0x000F2494 File Offset: 0x000F0694 [Token(Token = "0x17000A62")] public IReadOnlyDictionary Dimensions { [Token(Token = "0x6003A98")] [Address(RVA = "0x13A2590", Offset = "0x13A1390", VA = "0x1813A2590")] get { int num; do { num = 0; if (this.dimensions != num) { break; } Dictionary dictionary = new Dictionary(); this.dimensions = dictionary; List list = this.sizes; bool flag; if (flag) { Dictionary dictionary2 = this.dimensions; } } while (num != 0); Dictionary dictionary3 = this.dimensions; throw new NullReferenceException(); } } // Token: 0x06003A99 RID: 15001 RVA: 0x000F24E4 File Offset: 0x000F06E4 [Token(Token = "0x6003A99")] [Address(RVA = "0x13A2510", Offset = "0x13A1310", VA = "0x1813A2510")] public DialogsConfig() { List list = new List(); this.views = list; List list2 = new List(); this.sizes = list2; base..ctor(); } // Token: 0x06003A9A RID: 15002 RVA: 0x0000220F File Offset: 0x0000040F // Note: this type is marked as 'beforefieldinit'. [Token(Token = "0x6003A9A")] [Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")] static DialogsConfig() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0400325C RID: 12892 [Token(Token = "0x400325C")] private static DialogsConfig _instance; // Token: 0x0400325D RID: 12893 [Token(Token = "0x400325D")] private static bool isInitialized; // Token: 0x0400325E RID: 12894 [Token(Token = "0x400325E")] private static Dictionary prefabsByDialogType; // Token: 0x0400325F RID: 12895 [FieldOffset(Offset = "0x18")] [Token(Token = "0x400325F")] [SerializeField] private List views; // Token: 0x04003260 RID: 12896 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4003260")] [SerializeField] private List sizes; // Token: 0x04003261 RID: 12897 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4003261")] private Dictionary dimensions; // Token: 0x02000846 RID: 2118 [Token(Token = "0x2000846")] [Serializable] public class View { // Token: 0x17000A63 RID: 2659 // (get) Token: 0x06003A9B RID: 15003 RVA: 0x000F2514 File Offset: 0x000F0714 [Token(Token = "0x17000A63")] public string Name { [Token(Token = "0x6003A9B")] [Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")] get { return this.name; } } // Token: 0x17000A64 RID: 2660 // (get) Token: 0x06003A9C RID: 15004 RVA: 0x000F2528 File Offset: 0x000F0728 [Token(Token = "0x17000A64")] public GameObject Prefab { [Token(Token = "0x6003A9C")] [Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")] get { return this.prefab; } } // Token: 0x06003A9D RID: 15005 RVA: 0x000F253C File Offset: 0x000F073C [Token(Token = "0x6003A9D")] [Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")] public View() { } // Token: 0x04003262 RID: 12898 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4003262")] [SerializeField] private string name; // Token: 0x04003263 RID: 12899 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4003263")] [SerializeField] private GameObject prefab; } // Token: 0x02000847 RID: 2119 [Token(Token = "0x2000847")] [Serializable] public class Size { // Token: 0x17000A65 RID: 2661 // (get) Token: 0x06003A9E RID: 15006 RVA: 0x000F2550 File Offset: 0x000F0750 [Token(Token = "0x17000A65")] public IECOEANLJCJ DialogSize { [Token(Token = "0x6003A9E")] [Address(RVA = "0x3FA560", Offset = "0x3F9360", VA = "0x1803FA560")] get { return this.dialogSize; } } // Token: 0x17000A66 RID: 2662 // (get) Token: 0x06003A9F RID: 15007 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x17000A66")] public Vector2 Dimensions { [Token(Token = "0x6003A9F")] [Address(RVA = "0x13B0B20", Offset = "0x13AF920", VA = "0x1813B0B20")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x06003AA0 RID: 15008 RVA: 0x000F2564 File Offset: 0x000F0764 [Token(Token = "0x6003AA0")] [Address(RVA = "0x13B0AA0", Offset = "0x13AF8A0", VA = "0x1813B0AA0")] public Size() { Vector2 zero = Vector2.zero; this.dimensions = zero; this.dimensions.y = (float)0; base..ctor(); } // Token: 0x04003264 RID: 12900 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4003264")] [SerializeField] private IECOEANLJCJ dialogSize; // Token: 0x04003265 RID: 12901 [FieldOffset(Offset = "0x14")] [Token(Token = "0x4003265")] [SerializeField] private Vector2 dimensions; } } }