using System;
using System.Collections;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x02000392 RID: 914
[Token(Token = "0x2000392")]
public class CFX_ShurikenThreadFix : MonoBehaviour
{
	// Token: 0x06002360 RID: 9056 RVA: 0x00054D44 File Offset: 0x00052F44
	[Token(Token = "0x6002360")]
	[Address(RVA = "0xB8B060", Offset = "0xB8A060", VA = "0x180B8B060")]
	private void OnEnable()
	{
		ParticleSystem[] componentsInChildren = base.GetComponentsInChildren<ParticleSystem>();
		this.systems = componentsInChildren;
		ParticleSystem[] array = this.systems;
		int num = 0;
		int length = array.Length;
		if (num < length)
		{
			ParticleSystem particleSystem = array[num];
			particleSystem.Stop(true);
			particleSystem.Clear(true);
			num++;
		}
		Coroutine coroutine = base.StartCoroutine("WaitFrame");
	}

	// Token: 0x06002361 RID: 9057 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6002361")]
	[Address(RVA = "0xB8B150", Offset = "0xB8A150", VA = "0x180B8B150")]
	private IEnumerator WaitFrame()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06002362 RID: 9058 RVA: 0x00054DA4 File Offset: 0x00052FA4
	[Token(Token = "0x6002362")]
	[Address(RVA = "0x328C40", Offset = "0x327C40", VA = "0x180328C40")]
	public CFX_ShurikenThreadFix()
	{
	}

	// Token: 0x04002CCD RID: 11469
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4002CCD")]
	private ParticleSystem[] systems;
}
