using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x02000346 RID: 838
[Token(Token = "0x2000346")]
public class TextureScroll : MonoBehaviour
{
	// Token: 0x060020C1 RID: 8385 RVA: 0x0004E0A4 File Offset: 0x0004C2A4
	[Token(Token = "0x60020C1")]
	[Address(RVA = "0x12FECC0", Offset = "0x12FDAC0", VA = "0x1812FECC0")]
	private void Start()
	{
		/*
An exception occurred when decompiling this method (060020C1)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void TextureScroll::Start()

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	stloc:Renderer(var_0_06, call:Renderer(Component::GetComponent, ldloc:TextureScroll[exp:Component](this))); 	stfld:Renderer(TextureScroll::rend, ldloc:TextureScroll(this), ldloc:Renderer(var_0_06)); }; 
   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: 0x060020C2 RID: 8386 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60020C2")]
	[Address(RVA = "0x12FED10", Offset = "0x12FDB10", VA = "0x1812FED10")]
	private void Update()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060020C3 RID: 8387 RVA: 0x0004E0C0 File Offset: 0x0004C2C0
	[Token(Token = "0x60020C3")]
	[Address(RVA = "0x4BECF0", Offset = "0x4BDAF0", VA = "0x1804BECF0")]
	public TextureScroll()
	{
	}

	// Token: 0x04002A18 RID: 10776
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4002A18")]
	public float scrollSpeed = 0.5f;

	// Token: 0x04002A19 RID: 10777
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4002A19")]
	public Renderer rend;
}
