using System; using System.Collections.Generic; using System.Runtime.InteropServices; using Cpp2IlInjected; using UnityEngine; using UnityEngine.Serialization; namespace RecRoom.Sprites { // Token: 0x0200211C RID: 8476 [Token(Token = "0x200211C")] [StructLayout(3)] public class SpriteLookupConfig : ScriptableObject { // Token: 0x1700271A RID: 10010 // (get) Token: 0x0600EA1D RID: 59933 RVA: 0x00377D7C File Offset: 0x00375F7C [Token(Token = "0x1700271A")] public global::UnityEngine.Object SourceAsset { [Token(Token = "0x600EA1D")] [Address(RVA = "0x14F8D10", Offset = "0x14F7710", VA = "0x1814F8D10")] get { Texture texture = this.legacySourceTexture; int num = 0; if (texture != num) { Texture texture2 = this.legacySourceTexture; } return this.sourceAsset; } } // Token: 0x1700271B RID: 10011 // (get) Token: 0x0600EA1E RID: 59934 RVA: 0x00377DAC File Offset: 0x00375FAC [Token(Token = "0x1700271B")] public IReadOnlyList Sprites { [Token(Token = "0x600EA1E")] [Address(RVA = "0x3C1230", Offset = "0x3BFC30", VA = "0x1803C1230")] get { /* An exception occurred when decompiling this method (0600EA1E) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IReadOnlyList`1 RecRoom.Sprites.SpriteLookupConfig::get_Sprites() ---> 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(SpriteLookupConfig::sprites, ldloc:SpriteLookupConfig(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: 0x0600EA1F RID: 59935 RVA: 0x00377DC0 File Offset: 0x00375FC0 [Token(Token = "0x600EA1F")] [Address(RVA = "0x14F8CB0", Offset = "0x14F76B0", VA = "0x1814F8CB0")] public SpriteLookupConfig() { int num; List list = new List(num); num = 0; this.sprites = list; base..ctor(); } // Token: 0x040099A6 RID: 39334 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x40099A6")] [SerializeField] [INPFBLGGAJF] [FormerlySerializedAs("sourceTexture")] private Texture legacySourceTexture; // Token: 0x040099A7 RID: 39335 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x40099A7")] [SerializeField] [INPFBLGGAJF] private global::UnityEngine.Object sourceAsset; // Token: 0x040099A8 RID: 39336 [global::Cpp2IlInjected.FieldOffset(Offset = "0x28")] [Token(Token = "0x40099A8")] [SerializeField] [INPFBLGGAJF] private List sprites; } }