using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x0200033F RID: 831
[Token(Token = "0x200033F")]
public class AnimationHelper : MonoBehaviour
{
	// Token: 0x060020B1 RID: 8369 RVA: 0x0004DE6C File Offset: 0x0004C06C
	[Token(Token = "0x60020B1")]
	[Address(RVA = "0x8CCA10", Offset = "0x8CB810", VA = "0x1808CCA10")]
	private void Start()
	{
		float time = Time.time;
		this.start_time = time;
	}

	// Token: 0x060020B2 RID: 8370 RVA: 0x0004DE88 File Offset: 0x0004C088
	[Token(Token = "0x60020B2")]
	[Address(RVA = "0x8CCA30", Offset = "0x8CB830", VA = "0x1808CCA30")]
	private void Update()
	{
		if (!this.INFINITE_LOOP)
		{
			float num = this.start_time;
			float time = Time.time;
			if (this.GO)
			{
				this.STOP_VFX();
				return;
			}
		}
	}

	// Token: 0x060020B3 RID: 8371 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60020B3")]
	[Address(RVA = "0x8CC7D0", Offset = "0x8CB5D0", VA = "0x1808CC7D0")]
	public void STOP_VFX()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060020B4 RID: 8372 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60020B4")]
	[Address(RVA = "0x8CC5E0", Offset = "0x8CB3E0", VA = "0x1808CC5E0")]
	public void PLAY_VFX()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060020B5 RID: 8373 RVA: 0x0004DEC0 File Offset: 0x0004C0C0
	[Token(Token = "0x60020B5")]
	[Address(RVA = "0x8CCA80", Offset = "0x8CB880", VA = "0x1808CCA80")]
	public AnimationHelper()
	{
	}

	// Token: 0x040029FA RID: 10746
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x40029FA")]
	public bool INFINITE_LOOP = true;

	// Token: 0x040029FB RID: 10747
	[FieldOffset(Offset = "0x1C")]
	[Token(Token = "0x40029FB")]
	public float duration = 5.5f;

	// Token: 0x040029FC RID: 10748
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x40029FC")]
	public bool DESTROY_ON_END = true;

	// Token: 0x040029FD RID: 10749
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x40029FD")]
	public GameObject[] main_particles;

	// Token: 0x040029FE RID: 10750
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x40029FE")]
	private float start_time = -100f;

	// Token: 0x040029FF RID: 10751
	[FieldOffset(Offset = "0x34")]
	[Token(Token = "0x40029FF")]
	private bool GO = true;
}
