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

namespace Obi.CrossPlatformInput
{
	// Token: 0x0200050E RID: 1294
	public class MobileControlRig : MonoBehaviour
	{
		// Token: 0x0600929C RID: 37532 RVA: 0x0025BBE0 File Offset: 0x00259DE0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 614021, XrefRangeEnd = 614022, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnEnable()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(MobileControlRig.NativeMethodInfoPtr_OnEnable_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600929D RID: 37533 RVA: 0x0025BC24 File Offset: 0x00259E24
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 614022, XrefRangeEnd = 614041, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Start()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(MobileControlRig.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600929E RID: 37534 RVA: 0x0025BC68 File Offset: 0x00259E68
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 0, XrefRangeEnd = 0, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void CheckEnableControlRig()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(MobileControlRig.NativeMethodInfoPtr_CheckEnableControlRig_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600929F RID: 37535 RVA: 0x0025BCAC File Offset: 0x00259EAC
		[CallerCount(2)]
		[CachedScanResults(RefRangeStart = 614061, RefRangeEnd = 614063, XrefRangeStart = 614041, XrefRangeEnd = 614061, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void EnableControlRig(bool enabled)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = ref enabled;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(MobileControlRig.NativeMethodInfoPtr_EnableControlRig_Private_Void_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

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

		// Token: 0x060092A1 RID: 37537 RVA: 0x0025BD4C File Offset: 0x00259F4C
		// Note: this type is marked as 'beforefieldinit'.
		static MobileControlRig()
		{
			Il2CppClassPointerStore<MobileControlRig>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "Obi.CrossPlatformInput", "MobileControlRig");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<MobileControlRig>.NativeClassPtr);
			MobileControlRig.NativeMethodInfoPtr_OnEnable_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MobileControlRig>.NativeClassPtr, 100674708);
			MobileControlRig.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MobileControlRig>.NativeClassPtr, 100674709);
			MobileControlRig.NativeMethodInfoPtr_CheckEnableControlRig_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MobileControlRig>.NativeClassPtr, 100674710);
			MobileControlRig.NativeMethodInfoPtr_EnableControlRig_Private_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MobileControlRig>.NativeClassPtr, 100674711);
			MobileControlRig.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<MobileControlRig>.NativeClassPtr, 100674712);
		}

		// Token: 0x060092A2 RID: 37538 RVA: 0x0000351C File Offset: 0x0000171C
		public MobileControlRig(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x040061C4 RID: 25028
		private static readonly IntPtr NativeMethodInfoPtr_OnEnable_Private_Void_0;

		// Token: 0x040061C5 RID: 25029
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x040061C6 RID: 25030
		private static readonly IntPtr NativeMethodInfoPtr_CheckEnableControlRig_Private_Void_0;

		// Token: 0x040061C7 RID: 25031
		private static readonly IntPtr NativeMethodInfoPtr_EnableControlRig_Private_Void_Boolean_0;

		// Token: 0x040061C8 RID: 25032
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
