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

// Token: 0x020003B1 RID: 945
public class DynamicBoneDemo1 : MonoBehaviour
{
	// Token: 0x0600794C RID: 31052 RVA: 0x001ED048 File Offset: 0x001EB248
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617493, XrefRangeEnd = 617507, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DynamicBoneDemo1.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600794D RID: 31053 RVA: 0x001ED08C File Offset: 0x001EB28C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617507, XrefRangeEnd = 617543, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnGUI()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DynamicBoneDemo1.NativeMethodInfoPtr_OnGUI_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

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

	// Token: 0x0600794F RID: 31055 RVA: 0x001ED11C File Offset: 0x001EB31C
	// Note: this type is marked as 'beforefieldinit'.
	static DynamicBoneDemo1()
	{
		Il2CppClassPointerStore<DynamicBoneDemo1>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "DynamicBoneDemo1");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<DynamicBoneDemo1>.NativeClassPtr);
		DynamicBoneDemo1.NativeFieldInfoPtr_m_Player = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DynamicBoneDemo1>.NativeClassPtr, "m_Player");
		DynamicBoneDemo1.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneDemo1>.NativeClassPtr, 100672408);
		DynamicBoneDemo1.NativeMethodInfoPtr_OnGUI_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneDemo1>.NativeClassPtr, 100672409);
		DynamicBoneDemo1.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneDemo1>.NativeClassPtr, 100672410);
	}

	// Token: 0x06007950 RID: 31056 RVA: 0x0000351C File Offset: 0x0000171C
	public DynamicBoneDemo1(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17002994 RID: 10644
	// (get) Token: 0x06007951 RID: 31057 RVA: 0x001ED19C File Offset: 0x001EB39C
	// (set) Token: 0x06007952 RID: 31058 RVA: 0x001ED1D0 File Offset: 0x001EB3D0
	public unsafe GameObject m_Player
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DynamicBoneDemo1.NativeFieldInfoPtr_m_Player);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new GameObject(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(DynamicBoneDemo1.NativeFieldInfoPtr_m_Player), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04005094 RID: 20628
	private static readonly IntPtr NativeFieldInfoPtr_m_Player;

	// Token: 0x04005095 RID: 20629
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04005096 RID: 20630
	private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Private_Void_0;

	// Token: 0x04005097 RID: 20631
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
