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

// Token: 0x020003C7 RID: 967
public class SlowmoToggler : MonoBehaviour
{
	// Token: 0x06007A89 RID: 31369 RVA: 0x001F1E7C File Offset: 0x001F007C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618412, XrefRangeEnd = 618414, 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: 0x06007A8A RID: 31370 RVA: 0x001F1ED0 File Offset: 0x001F00D0
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, 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: 0x06007A8B RID: 31371 RVA: 0x001F1F1C File Offset: 0x001F011C
	// 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, 100672507);
		SlowmoToggler.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SlowmoToggler>.NativeClassPtr, 100672508);
	}

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

	// Token: 0x04005162 RID: 20834
	private static readonly IntPtr NativeMethodInfoPtr_Slowmo_Public_Void_Boolean_0;

	// Token: 0x04005163 RID: 20835
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
