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

// Token: 0x02000359 RID: 857
public class DynamicBoneDemo1 : MonoBehaviour
{
	// Token: 0x060070F9 RID: 28921 RVA: 0x001CA300 File Offset: 0x001C8500
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585192, XrefRangeEnd = 585206, 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: 0x060070FA RID: 28922 RVA: 0x001CA344 File Offset: 0x001C8544
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585206, XrefRangeEnd = 585242, 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: 0x060070FB RID: 28923 RVA: 0x001CA388 File Offset: 0x001C8588
	[CallerCount(63)]
	[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, 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: 0x060070FC RID: 28924 RVA: 0x001CA3D4 File Offset: 0x001C85D4
	// 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, 100671695);
		DynamicBoneDemo1.NativeMethodInfoPtr_OnGUI_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneDemo1>.NativeClassPtr, 100671696);
		DynamicBoneDemo1.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneDemo1>.NativeClassPtr, 100671697);
	}

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

	// Token: 0x170026F9 RID: 9977
	// (get) Token: 0x060070FE RID: 28926 RVA: 0x001CA454 File Offset: 0x001C8654
	// (set) Token: 0x060070FF RID: 28927 RVA: 0x001CA488 File Offset: 0x001C8688
	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: 0x04004AEB RID: 19179
	private static readonly IntPtr NativeFieldInfoPtr_m_Player;

	// Token: 0x04004AEC RID: 19180
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04004AED RID: 19181
	private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Private_Void_0;

	// Token: 0x04004AEE RID: 19182
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
