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

// Token: 0x0200022E RID: 558
public class RigiMoveTemp : MonoBehaviour
{
	// Token: 0x060050F5 RID: 20725 RVA: 0x0014279C File Offset: 0x0014099C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 552408, XrefRangeEnd = 552412, 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: 0x060050F6 RID: 20726 RVA: 0x001427E0 File Offset: 0x001409E0
	[CallerCount(5585)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5609, XrefRangeStart = 24, XrefRangeEnd = 5609, 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: 0x060050F7 RID: 20727 RVA: 0x00142824 File Offset: 0x00140A24
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 552412, XrefRangeEnd = 552413, 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: 0x060050F8 RID: 20728 RVA: 0x00142868 File Offset: 0x00140A68
	[CallerCount(63)]
	[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, 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: 0x060050F9 RID: 20729 RVA: 0x001428B4 File Offset: 0x00140AB4
	// 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, 100668703);
		RigiMoveTemp.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RigiMoveTemp>.NativeClassPtr, 100668704);
		RigiMoveTemp.NativeMethodInfoPtr_FixedUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RigiMoveTemp>.NativeClassPtr, 100668705);
		RigiMoveTemp.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RigiMoveTemp>.NativeClassPtr, 100668706);
	}

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

	// Token: 0x17001CEF RID: 7407
	// (get) Token: 0x060050FB RID: 20731 RVA: 0x00142948 File Offset: 0x00140B48
	// (set) Token: 0x060050FC RID: 20732 RVA: 0x0014297C File Offset: 0x00140B7C
	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: 0x040035A1 RID: 13729
	private static readonly IntPtr NativeFieldInfoPtr_r;

	// Token: 0x040035A2 RID: 13730
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x040035A3 RID: 13731
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x040035A4 RID: 13732
	private static readonly IntPtr NativeMethodInfoPtr_FixedUpdate_Private_Void_0;

	// Token: 0x040035A5 RID: 13733
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
