using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x020000F7 RID: 247
[Token(Token = "0x20000F7")]
public class FireBallTrack : MonoBehaviour
{
	// Token: 0x06000C7B RID: 3195 RVA: 0x0001D46C File Offset: 0x0001B66C
	[Token(Token = "0x6000C7B")]
	[Address(RVA = "0x3663A0", Offset = "0x3653A0", VA = "0x1803663A0")]
	private void Start()
	{
		this.g_bCollision = false;
	}

	// Token: 0x06000C7C RID: 3196 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000C7C")]
	[Address(RVA = "0x3663B0", Offset = "0x3653B0", VA = "0x1803663B0")]
	private void Update()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000C7D RID: 3197 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6000C7D")]
	[Address(RVA = "0x3662C0", Offset = "0x3652C0", VA = "0x1803662C0")]
	public void SetTarget(Vector3 Target)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06000C7E RID: 3198 RVA: 0x0001D480 File Offset: 0x0001B680
	[Token(Token = "0x6000C7E")]
	[Address(RVA = "0x366390", Offset = "0x365390", VA = "0x180366390")]
	public void SetTarget(Transform Target)
	{
		/*
An exception occurred when decompiling this method (06000C7E)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void FireBallTrack::SetTarget(UnityEngine.Transform)

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	stfld:Transform(FireBallTrack::g_Track, ldloc:FireBallTrack(this), ldloc:Transform(Target)); }; 
   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: 0x06000C7F RID: 3199 RVA: 0x0001D494 File Offset: 0x0001B694
	[Token(Token = "0x6000C7F")]
	[Address(RVA = "0x3662B0", Offset = "0x3652B0", VA = "0x1803662B0")]
	public void SetLife(float fLife)
	{
		this.g_fLife = fLife;
	}

	// Token: 0x06000C80 RID: 3200 RVA: 0x0001D4A8 File Offset: 0x0001B6A8
	[Token(Token = "0x6000C80")]
	[Address(RVA = "0x3662A0", Offset = "0x3652A0", VA = "0x1803662A0")]
	public void SetFireBallCollision(FireBallCollision effect)
	{
		/*
An exception occurred when decompiling this method (06000C80)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void FireBallTrack::SetFireBallCollision(FireBallCollision)

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	stfld:FireBallCollision(FireBallTrack::fireBallCollision, ldloc:FireBallTrack(this), ldloc:FireBallCollision(effect)); }; 
   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: 0x06000C81 RID: 3201 RVA: 0x0001D4BC File Offset: 0x0001B6BC
	[Token(Token = "0x6000C81")]
	[Address(RVA = "0x366280", Offset = "0x365280", VA = "0x180366280")]
	public void ResetIsCollision()
	{
		/*
An exception occurred when decompiling this method (06000C81)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void FireBallTrack::ResetIsCollision()

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	stfld:bool(FireBallTrack::g_bCollision, ldloc:FireBallTrack(this), ldc.i4:bool(0)); }; 
   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: 0x06000C82 RID: 3202 RVA: 0x0001D4D0 File Offset: 0x0001B6D0
	[Token(Token = "0x6000C82")]
	[Address(RVA = "0x366CD0", Offset = "0x365CD0", VA = "0x180366CD0")]
	public FireBallTrack()
	{
		ulong num;
		this.g_v3Size.z = (float)num;
		this.g_fSpeed = 30f;
		base..ctor();
	}

	// Token: 0x0400143C RID: 5180
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x400143C")]
	private Vector3 g_Direction;

	// Token: 0x0400143D RID: 5181
	[FieldOffset(Offset = "0x24")]
	[Token(Token = "0x400143D")]
	private Vector3 g_PrePosition;

	// Token: 0x0400143E RID: 5182
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x400143E")]
	private Transform g_Track;

	// Token: 0x0400143F RID: 5183
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x400143F")]
	private bool g_bCollision;

	// Token: 0x04001440 RID: 5184
	[FieldOffset(Offset = "0x3C")]
	[Token(Token = "0x4001440")]
	public float g_fSpeed;

	// Token: 0x04001441 RID: 5185
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x4001441")]
	public Vector3 g_v3Size;

	// Token: 0x04001442 RID: 5186
	[FieldOffset(Offset = "0x4C")]
	[Token(Token = "0x4001442")]
	private float g_fLife;

	// Token: 0x04001443 RID: 5187
	[FieldOffset(Offset = "0x50")]
	[Token(Token = "0x4001443")]
	private FireBallCollision fireBallCollision;
}
