using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x0200039E RID: 926
[Token(Token = "0x200039E")]
public class TextureScroll : MonoBehaviour
{
	// Token: 0x0600238A RID: 9098 RVA: 0x00055324 File Offset: 0x00053524
	[Token(Token = "0x600238A")]
	[Address(RVA = "0xF5C330", Offset = "0xF5B330", VA = "0x180F5C330")]
	private void Start()
	{
		/*
An exception occurred when decompiling this method (0600238A)

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: 0x0600238B RID: 9099 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600238B")]
	[Address(RVA = "0xF5C380", Offset = "0xF5B380", VA = "0x180F5C380")]
	private void Update()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600238C RID: 9100 RVA: 0x00055340 File Offset: 0x00053540
	[Token(Token = "0x600238C")]
	[Address(RVA = "0xD1AA30", Offset = "0xD19A30", VA = "0x180D1AA30")]
	public TextureScroll()
	{
	}

	// Token: 0x04002D02 RID: 11522
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4002D02")]
	public float scrollSpeed = 0.5f;

	// Token: 0x04002D03 RID: 11523
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4002D03")]
	public Renderer rend;
}
