using System;
using System.Collections.Generic;
using Cpp2IlInjected;
using MEC;
using UnityEngine;

// Token: 0x0200035E RID: 862
[Token(Token = "0x200035E")]
[Serializable]
public class NobetaFaceController
{
	// Token: 0x06002172 RID: 8562 RVA: 0x00051468 File Offset: 0x0004F668
	[Token(Token = "0x6002172")]
	[Address(RVA = "0xF18DF0", Offset = "0xF17DF0", VA = "0x180F18DF0")]
	public void Launch()
	{
		int num;
		NobetaFaceController.<UpdateFace>d__9 <UpdateFace>d__ = new NobetaFaceController.<UpdateFace>d__9(num);
		num = 0;
		<UpdateFace>d__.<>4__this = this;
		CoroutineHandle coroutineHandle = MECExtensionMethods1.RunCoroutine(<UpdateFace>d__);
		this.processor = coroutineHandle;
	}

	// Token: 0x06002173 RID: 8563 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6002173")]
	[Address(RVA = "0xF19070", Offset = "0xF18070", VA = "0x180F19070")]
	private IEnumerator<float> UpdateFace()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06002174 RID: 8564 RVA: 0x0005149C File Offset: 0x0004F69C
	[Token(Token = "0x6002174")]
	[Address(RVA = "0xF18E70", Offset = "0xF17E70", VA = "0x180F18E70")]
	private void UpdateBlendShape(int index)
	{
		SkinnedMeshRenderer skinnedMeshRenderer = this.faceRenderer;
		int num = this.faceBlendShapeIndices[index];
		float blendShapeWeight = skinnedMeshRenderer.GetBlendShapeWeight(num);
		int[] array = this.maskBlendShapeIndices;
		SkinnedMeshRenderer skinnedMeshRenderer2 = this.maskRenderer;
		int num2 = array[index];
		skinnedMeshRenderer2.SetBlendShapeWeight(num2, blendShapeWeight);
	}

	// Token: 0x06002175 RID: 8565 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6002175")]
	[Address(RVA = "0xF18F10", Offset = "0xF17F10", VA = "0x180F18F10")]
	public void UpdateEyeLightScale(float value)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06002176 RID: 8566 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6002176")]
	[Address(RVA = "0xF18D90", Offset = "0xF17D90", VA = "0x180F18D90")]
	public void Dispose()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06002177 RID: 8567 RVA: 0x000514F0 File Offset: 0x0004F6F0
	[Token(Token = "0x6002177")]
	[Address(RVA = "0x36ABD0", Offset = "0x369BD0", VA = "0x18036ABD0")]
	public NobetaFaceController()
	{
	}

	// Token: 0x04002B8F RID: 11151
	[FieldOffset(Offset = "0x10")]
	[Token(Token = "0x4002B8F")]
	[SerializeField]
	private SkinnedMeshRenderer faceRenderer;

	// Token: 0x04002B90 RID: 11152
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4002B90")]
	[SerializeField]
	private SkinnedMeshRenderer maskRenderer;

	// Token: 0x04002B91 RID: 11153
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4002B91")]
	[SerializeField]
	private Transform eyeLightLeft;

	// Token: 0x04002B92 RID: 11154
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x4002B92")]
	[SerializeField]
	private Transform eyeLightRight;

	// Token: 0x04002B93 RID: 11155
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x4002B93")]
	[SerializeField]
	private int[] faceBlendShapeIndices;

	// Token: 0x04002B94 RID: 11156
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x4002B94")]
	[SerializeField]
	private int[] maskBlendShapeIndices;

	// Token: 0x04002B95 RID: 11157
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x4002B95")]
	[SerializeField]
	private int blendShapeLength;

	// Token: 0x04002B96 RID: 11158
	[FieldOffset(Offset = "0x44")]
	[Token(Token = "0x4002B96")]
	private CoroutineHandle processor;
}
