using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using UnityEngine;

namespace ch.sycoforge.Decal.Demo
{
	// Token: 0x020005FE RID: 1534
	public class Sinoid : MonoBehaviour
	{
		// Token: 0x06009ECF RID: 40655 RVA: 0x0028A504 File Offset: 0x00288704
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 622856, XrefRangeEnd = 622858, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Start()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(Sinoid.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009ED0 RID: 40656 RVA: 0x0028A548 File Offset: 0x00288748
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 622858, XrefRangeEnd = 622868, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Update()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(Sinoid.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009ED1 RID: 40657 RVA: 0x0028A58C File Offset: 0x0028878C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 622868, XrefRangeEnd = 622869, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe Sinoid()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<Sinoid>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(Sinoid.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009ED2 RID: 40658 RVA: 0x0028A5D8 File Offset: 0x002887D8
		// Note: this type is marked as 'beforefieldinit'.
		static Sinoid()
		{
			Il2CppClassPointerStore<Sinoid>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "ch.sycoforge.Decal.Demo", "Sinoid");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<Sinoid>.NativeClassPtr);
			Sinoid.NativeFieldInfoPtr_AngularVelocity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Sinoid>.NativeClassPtr, "AngularVelocity");
			Sinoid.NativeFieldInfoPtr_SineFreq = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Sinoid>.NativeClassPtr, "SineFreq");
			Sinoid.NativeFieldInfoPtr_Amplitude = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Sinoid>.NativeClassPtr, "Amplitude");
			Sinoid.NativeFieldInfoPtr_accuTime = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Sinoid>.NativeClassPtr, "accuTime");
			Sinoid.NativeFieldInfoPtr_startPos = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Sinoid>.NativeClassPtr, "startPos");
			Sinoid.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Sinoid>.NativeClassPtr, 100675507);
			Sinoid.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Sinoid>.NativeClassPtr, 100675508);
			Sinoid.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Sinoid>.NativeClassPtr, 100675509);
		}

		// Token: 0x06009ED3 RID: 40659 RVA: 0x0000351C File Offset: 0x0000171C
		public Sinoid(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170035EE RID: 13806
		// (get) Token: 0x06009ED4 RID: 40660 RVA: 0x0028A6A8 File Offset: 0x002888A8
		// (set) Token: 0x06009ED5 RID: 40661 RVA: 0x0028A6D0 File Offset: 0x002888D0
		public unsafe float AngularVelocity
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Sinoid.NativeFieldInfoPtr_AngularVelocity);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Sinoid.NativeFieldInfoPtr_AngularVelocity)) = value;
			}
		}

		// Token: 0x170035EF RID: 13807
		// (get) Token: 0x06009ED6 RID: 40662 RVA: 0x0028A6F4 File Offset: 0x002888F4
		// (set) Token: 0x06009ED7 RID: 40663 RVA: 0x0028A71C File Offset: 0x0028891C
		public unsafe float SineFreq
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Sinoid.NativeFieldInfoPtr_SineFreq);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Sinoid.NativeFieldInfoPtr_SineFreq)) = value;
			}
		}

		// Token: 0x170035F0 RID: 13808
		// (get) Token: 0x06009ED8 RID: 40664 RVA: 0x0028A740 File Offset: 0x00288940
		// (set) Token: 0x06009ED9 RID: 40665 RVA: 0x0028A768 File Offset: 0x00288968
		public unsafe float Amplitude
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Sinoid.NativeFieldInfoPtr_Amplitude);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Sinoid.NativeFieldInfoPtr_Amplitude)) = value;
			}
		}

		// Token: 0x170035F1 RID: 13809
		// (get) Token: 0x06009EDA RID: 40666 RVA: 0x0028A78C File Offset: 0x0028898C
		// (set) Token: 0x06009EDB RID: 40667 RVA: 0x0028A7B4 File Offset: 0x002889B4
		public unsafe float accuTime
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Sinoid.NativeFieldInfoPtr_accuTime);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Sinoid.NativeFieldInfoPtr_accuTime)) = value;
			}
		}

		// Token: 0x170035F2 RID: 13810
		// (get) Token: 0x06009EDC RID: 40668 RVA: 0x0028A7D8 File Offset: 0x002889D8
		// (set) Token: 0x06009EDD RID: 40669 RVA: 0x0028A800 File Offset: 0x00288A00
		public unsafe Vector3 startPos
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Sinoid.NativeFieldInfoPtr_startPos);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Sinoid.NativeFieldInfoPtr_startPos)) = value;
			}
		}

		// Token: 0x04006A5C RID: 27228
		private static readonly IntPtr NativeFieldInfoPtr_AngularVelocity;

		// Token: 0x04006A5D RID: 27229
		private static readonly IntPtr NativeFieldInfoPtr_SineFreq;

		// Token: 0x04006A5E RID: 27230
		private static readonly IntPtr NativeFieldInfoPtr_Amplitude;

		// Token: 0x04006A5F RID: 27231
		private static readonly IntPtr NativeFieldInfoPtr_accuTime;

		// Token: 0x04006A60 RID: 27232
		private static readonly IntPtr NativeFieldInfoPtr_startPos;

		// Token: 0x04006A61 RID: 27233
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x04006A62 RID: 27234
		private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

		// Token: 0x04006A63 RID: 27235
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
