using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace MTAssets.UltimateLODSystem.MeshSimplifier { // Token: 0x0200060D RID: 1549 [Token(Token = "0x200060D")] [Serializable] [StructLayout(3)] public struct BlendShape { // Token: 0x0600306B RID: 12395 RVA: 0x00066618 File Offset: 0x00064818 [Token(Token = "0x600306B")] [Address(RVA = "0x6CDF00", Offset = "0x6CC700", VA = "0x1806CDF00")] public BlendShape(string shapeName, BlendShapeFrame[] frames) { /* An exception occurred when decompiling this method (0600306B) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void MTAssets.UltimateLODSystem.MeshSimplifier.BlendShape::.ctor(System.String,MTAssets.UltimateLODSystem.MeshSimplifier.BlendShapeFrame[]) ---> System.Exception: Basic block has to end with unconditional control flow. {; Block_0:; stfld:string(BlendShape::ShapeName, ldloc:valuetype MTAssets.UltimateLODSystem.MeshSimplifier.BlendShape&(this), ldloc:string(shapeName)); stfld:valuetype MTAssets.UltimateLODSystem.MeshSimplifier.BlendShapeFrame[](BlendShape::Frames, ldloc:valuetype MTAssets.UltimateLODSystem.MeshSimplifier.BlendShape&(this), ldloc:valuetype MTAssets.UltimateLODSystem.MeshSimplifier.BlendShapeFrame[](frames)); }; at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810 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 344 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 1618 */; } // Token: 0x04003AC5 RID: 15045 [Cpp2IlInjected.FieldOffset(Offset = "0x0")] [Token(Token = "0x4003AC5")] public string ShapeName; // Token: 0x04003AC6 RID: 15046 [Cpp2IlInjected.FieldOffset(Offset = "0x8")] [Token(Token = "0x4003AC6")] public BlendShapeFrame[] Frames; } }