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

// Token: 0x02000351 RID: 849
public class RotateObject : MonoBehaviour
{
	// Token: 0x060070A0 RID: 28832 RVA: 0x001C8FF4 File Offset: 0x001C71F4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585066, XrefRangeEnd = 585073, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RotateObject.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060070A1 RID: 28833 RVA: 0x001C9038 File Offset: 0x001C7238
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585073, XrefRangeEnd = 585074, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe RotateObject()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<RotateObject>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RotateObject.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060070A2 RID: 28834 RVA: 0x001C9084 File Offset: 0x001C7284
	// Note: this type is marked as 'beforefieldinit'.
	static RotateObject()
	{
		Il2CppClassPointerStore<RotateObject>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "RotateObject");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<RotateObject>.NativeClassPtr);
		RotateObject.NativeFieldInfoPtr_speed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<RotateObject>.NativeClassPtr, "speed");
		RotateObject.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RotateObject>.NativeClassPtr, 100671673);
		RotateObject.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RotateObject>.NativeClassPtr, 100671674);
	}

	// Token: 0x060070A3 RID: 28835 RVA: 0x0000351C File Offset: 0x0000171C
	public RotateObject(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170026DF RID: 9951
	// (get) Token: 0x060070A4 RID: 28836 RVA: 0x001C90F0 File Offset: 0x001C72F0
	// (set) Token: 0x060070A5 RID: 28837 RVA: 0x001C9118 File Offset: 0x001C7318
	public unsafe float speed
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RotateObject.NativeFieldInfoPtr_speed);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RotateObject.NativeFieldInfoPtr_speed)) = value;
		}
	}

	// Token: 0x04004ABC RID: 19132
	private static readonly IntPtr NativeFieldInfoPtr_speed;

	// Token: 0x04004ABD RID: 19133
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04004ABE RID: 19134
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
