using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x02000170 RID: 368
[Token(Token = "0x2000170")]
public class PushPlayerAbove : MonoBehaviour
{
	// Token: 0x06001216 RID: 4630 RVA: 0x00029778 File Offset: 0x00027978
	[Token(Token = "0x6001216")]
	[Address(RVA = "0xBE1430", Offset = "0xBE0230", VA = "0x180BE1430")]
	private void Start()
	{
		/*
An exception occurred when decompiling this method (06001216)

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

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	stloc:Transform(var_1_07, call:Transform(Game::GetPlayerTransform)); 	stfld:Transform(PushPlayerAbove::PlayerTransform, ldloc:PushPlayerAbove(this), ldloc:Transform(var_1_07)); }; 
   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: 0x06001217 RID: 4631 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001217")]
	[Address(RVA = "0xBE1490", Offset = "0xBE0290", VA = "0x180BE1490")]
	private void Update()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001218 RID: 4632 RVA: 0x00029794 File Offset: 0x00027994
	[Token(Token = "0x6001218")]
	[Address(RVA = "0xBE1710", Offset = "0xBE0510", VA = "0x180BE1710")]
	public PushPlayerAbove()
	{
	}

	// Token: 0x04001C06 RID: 7174
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4001C06")]
	public float distance = 1f;

	// Token: 0x04001C07 RID: 7175
	[FieldOffset(Offset = "0x1C")]
	[Token(Token = "0x4001C07")]
	public float dot = 0.45f;

	// Token: 0x04001C08 RID: 7176
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4001C08")]
	private Transform PlayerTransform;

	// Token: 0x04001C09 RID: 7177
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x4001C09")]
	private bool push;
}
