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

// Token: 0x0200036F RID: 879
public class SlowmoToggler : MonoBehaviour
{
	// Token: 0x06007236 RID: 29238 RVA: 0x001CF134 File Offset: 0x001CD334
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 586111, XrefRangeEnd = 586113, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Slowmo(bool slowmo)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref slowmo;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SlowmoToggler.NativeMethodInfoPtr_Slowmo_Public_Void_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06007237 RID: 29239 RVA: 0x001CF188 File Offset: 0x001CD388
	[CallerCount(63)]
	[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe SlowmoToggler()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<SlowmoToggler>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SlowmoToggler.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007238 RID: 29240 RVA: 0x001CF1D4 File Offset: 0x001CD3D4
	// Note: this type is marked as 'beforefieldinit'.
	static SlowmoToggler()
	{
		Il2CppClassPointerStore<SlowmoToggler>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "SlowmoToggler");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<SlowmoToggler>.NativeClassPtr);
		SlowmoToggler.NativeMethodInfoPtr_Slowmo_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SlowmoToggler>.NativeClassPtr, 100671794);
		SlowmoToggler.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SlowmoToggler>.NativeClassPtr, 100671795);
	}

	// Token: 0x06007239 RID: 29241 RVA: 0x0000351C File Offset: 0x0000171C
	public SlowmoToggler(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x04004BB9 RID: 19385
	private static readonly IntPtr NativeMethodInfoPtr_Slowmo_Public_Void_Boolean_0;

	// Token: 0x04004BBA RID: 19386
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
