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

// Token: 0x0200026F RID: 623
public class RigiMoveTemp : MonoBehaviour
{
	// Token: 0x06005666 RID: 22118 RVA: 0x00159154 File Offset: 0x00157354
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 580623, XrefRangeEnd = 580627, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Start()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RigiMoveTemp.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005667 RID: 22119 RVA: 0x00159198 File Offset: 0x00157398
	[CallerCount(5874)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5898, XrefRangeStart = 24, XrefRangeEnd = 5898, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RigiMoveTemp.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005668 RID: 22120 RVA: 0x001591DC File Offset: 0x001573DC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 580627, XrefRangeEnd = 580628, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void FixedUpdate()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RigiMoveTemp.NativeMethodInfoPtr_FixedUpdate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005669 RID: 22121 RVA: 0x00159220 File Offset: 0x00157420
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe RigiMoveTemp()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<RigiMoveTemp>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RigiMoveTemp.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600566A RID: 22122 RVA: 0x0015926C File Offset: 0x0015746C
	// Note: this type is marked as 'beforefieldinit'.
	static RigiMoveTemp()
	{
		Il2CppClassPointerStore<RigiMoveTemp>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "RigiMoveTemp");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<RigiMoveTemp>.NativeClassPtr);
		RigiMoveTemp.NativeFieldInfoPtr_r = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<RigiMoveTemp>.NativeClassPtr, "r");
		RigiMoveTemp.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RigiMoveTemp>.NativeClassPtr, 100669162);
		RigiMoveTemp.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RigiMoveTemp>.NativeClassPtr, 100669163);
		RigiMoveTemp.NativeMethodInfoPtr_FixedUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RigiMoveTemp>.NativeClassPtr, 100669164);
		RigiMoveTemp.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RigiMoveTemp>.NativeClassPtr, 100669165);
	}

	// Token: 0x0600566B RID: 22123 RVA: 0x0000351C File Offset: 0x0000171C
	public RigiMoveTemp(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001E90 RID: 7824
	// (get) Token: 0x0600566C RID: 22124 RVA: 0x00159300 File Offset: 0x00157500
	// (set) Token: 0x0600566D RID: 22125 RVA: 0x00159334 File Offset: 0x00157534
	public unsafe Rigidbody r
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RigiMoveTemp.NativeFieldInfoPtr_r);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Rigidbody(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(RigiMoveTemp.NativeFieldInfoPtr_r), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x0400396C RID: 14700
	private static readonly IntPtr NativeFieldInfoPtr_r;

	// Token: 0x0400396D RID: 14701
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x0400396E RID: 14702
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x0400396F RID: 14703
	private static readonly IntPtr NativeMethodInfoPtr_FixedUpdate_Private_Void_0;

	// Token: 0x04003970 RID: 14704
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
