using System; using System.Collections.Generic; using Cpp2IlInjected; using UnityEngine; namespace RecRoom.Avatars { // Token: 0x02002474 RID: 9332 [Token(Token = "0x2002474")] public class HairPatternVault : MonoBehaviour { // Token: 0x17002684 RID: 9860 // (get) Token: 0x0600EE2C RID: 60972 RVA: 0x00367310 File Offset: 0x00365510 [Token(Token = "0x17002684")] public IReadOnlyList CGDBLHIHLLH { [Token(Token = "0x600EE2C")] [Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")] get { /* An exception occurred when decompiling this method (0600EE2C) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IReadOnlyList`1 RecRoom.Avatars.HairPatternVault::get_Patterns() ---> 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(HairPatternVault::patterns, ldloc:HairPatternVault(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: 0x0600EE2D RID: 60973 RVA: 0x00367324 File Offset: 0x00365524 [Token(Token = "0x600EE2D")] [Address(RVA = "0x1D0EA00", Offset = "0x1D0DA00", VA = "0x181D0EA00", Slot = "4")] protected virtual void Awake() { int num = 0; List list = this.patterns; num += num; num++; Dictionary nggngaeekjh = this.NGGNGAEEKJH; throw new NullReferenceException(); } // Token: 0x0600EE2E RID: 60974 RVA: 0x00367368 File Offset: 0x00365568 [Token(Token = "0x600EE2E")] [Address(RVA = "0x1D0EB90", Offset = "0x1D0DB90", VA = "0x181D0EB90")] public AvatarHairPattern Find(string AONMDJCKDNH) { Dictionary nggngaeekjh = this.NGGNGAEEKJH; bool flag; if (flag) { } throw new NullReferenceException(); } // Token: 0x0600EE2F RID: 60975 RVA: 0x00367388 File Offset: 0x00365588 [Token(Token = "0x600EE2F")] [Address(RVA = "0x1D0EC20", Offset = "0x1D0DC20", VA = "0x181D0EC20")] public AvatarHairPattern GetRandomDefault() { if (global::UnityEngine.Random.value <= 0.5f) { return ECNNGIFNNNM.NBMJEPIPHGC(this.patterns); } return this.Default; } // Token: 0x0600EE30 RID: 60976 RVA: 0x003673B8 File Offset: 0x003655B8 [Token(Token = "0x600EE30")] [Address(RVA = "0x1D0EC80", Offset = "0x1D0DC80", VA = "0x181D0EC80")] public AvatarHairPattern GetRandomUnlocked() { return ECNNGIFNNNM.NBMJEPIPHGC(this.patterns); } // Token: 0x0600EE31 RID: 60977 RVA: 0x003673D0 File Offset: 0x003655D0 [Token(Token = "0x600EE31")] [Address(RVA = "0x1D0ECC0", Offset = "0x1D0DCC0", VA = "0x181D0ECC0")] public HairPatternVault() { Dictionary dictionary = new Dictionary(); this.NGGNGAEEKJH = dictionary; base..ctor(); } // Token: 0x04009C55 RID: 40021 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4009C55")] [Tooltip("Used only for decorative purposes.")] public string Label = "My Vault"; // Token: 0x04009C56 RID: 40022 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4009C56")] public AvatarHairPattern Default; // Token: 0x04009C57 RID: 40023 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4009C57")] [SerializeField] protected List patterns; // Token: 0x04009C58 RID: 40024 [FieldOffset(Offset = "0x30")] [Token(Token = "0x4009C58")] private readonly Dictionary NGGNGAEEKJH; } }