using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppInterop.Runtime.InteropTypes.Arrays;
using Il2CppSystem;

// Token: 0x0200036C RID: 876
[Serializable]
public class NobetaBoneController : Object
{
	// Token: 0x170027ED RID: 10221
	// (get) Token: 0x0600739E RID: 29598 RVA: 0x001D54E4 File Offset: 0x001D36E4
	public unsafe DynamicBoneCollider Collider
	{
		[CallerCount(10)]
		[CachedScanResults(RefRangeStart = 7527, RefRangeEnd = 7537, XrefRangeStart = 7527, XrefRangeEnd = 7537, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		get
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(NobetaBoneController.NativeMethodInfoPtr_get_Collider_Public_get_DynamicBoneCollider_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new DynamicBoneCollider(intPtr3) : null;
		}
	}

	// Token: 0x0600739F RID: 29599 RVA: 0x001D553C File Offset: 0x001D373C
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 612983, RefRangeEnd = 612984, XrefRangeStart = 612980, XrefRangeEnd = 612983, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void UpdateValue(float value)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref value;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(NobetaBoneController.NativeMethodInfoPtr_UpdateValue_Public_Void_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x060073A0 RID: 29600 RVA: 0x001D5590 File Offset: 0x001D3790
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 612986, RefRangeEnd = 612987, XrefRangeStart = 612984, XrefRangeEnd = 612986, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Enable(bool enable)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref enable;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(NobetaBoneController.NativeMethodInfoPtr_Enable_Public_Void_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x060073A1 RID: 29601 RVA: 0x001D55E4 File Offset: 0x001D37E4
	[CallerCount(1664)]
	[CachedScanResults(RefRangeStart = 7711, RefRangeEnd = 9375, XrefRangeStart = 7711, XrefRangeEnd = 9375, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe NobetaBoneController()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<NobetaBoneController>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(NobetaBoneController.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060073A2 RID: 29602 RVA: 0x001D5630 File Offset: 0x001D3830
	// Note: this type is marked as 'beforefieldinit'.
	static NobetaBoneController()
	{
		Il2CppClassPointerStore<NobetaBoneController>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "NobetaBoneController");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<NobetaBoneController>.NativeClassPtr);
		NobetaBoneController.NativeFieldInfoPtr_colliderRadius = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NobetaBoneController>.NativeClassPtr, "colliderRadius");
		NobetaBoneController.NativeFieldInfoPtr_boneCollider = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NobetaBoneController>.NativeClassPtr, "boneCollider");
		NobetaBoneController.NativeFieldInfoPtr_bones = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NobetaBoneController>.NativeClassPtr, "bones");
		NobetaBoneController.NativeMethodInfoPtr_get_Collider_Public_get_DynamicBoneCollider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NobetaBoneController>.NativeClassPtr, 100671854);
		NobetaBoneController.NativeMethodInfoPtr_UpdateValue_Public_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NobetaBoneController>.NativeClassPtr, 100671855);
		NobetaBoneController.NativeMethodInfoPtr_Enable_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NobetaBoneController>.NativeClassPtr, 100671856);
		NobetaBoneController.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NobetaBoneController>.NativeClassPtr, 100671857);
	}

	// Token: 0x060073A3 RID: 29603 RVA: 0x0000A74C File Offset: 0x0000894C
	public NobetaBoneController(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170027EA RID: 10218
	// (get) Token: 0x060073A4 RID: 29604 RVA: 0x001D56EC File Offset: 0x001D38EC
	// (set) Token: 0x060073A5 RID: 29605 RVA: 0x001D5714 File Offset: 0x001D3914
	public unsafe float colliderRadius
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaBoneController.NativeFieldInfoPtr_colliderRadius);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaBoneController.NativeFieldInfoPtr_colliderRadius)) = value;
		}
	}

	// Token: 0x170027EB RID: 10219
	// (get) Token: 0x060073A6 RID: 29606 RVA: 0x001D5738 File Offset: 0x001D3938
	// (set) Token: 0x060073A7 RID: 29607 RVA: 0x001D576C File Offset: 0x001D396C
	public unsafe DynamicBoneCollider boneCollider
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaBoneController.NativeFieldInfoPtr_boneCollider);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new DynamicBoneCollider(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaBoneController.NativeFieldInfoPtr_boneCollider), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x170027EC RID: 10220
	// (get) Token: 0x060073A8 RID: 29608 RVA: 0x001D5794 File Offset: 0x001D3994
	// (set) Token: 0x060073A9 RID: 29609 RVA: 0x001D57C8 File Offset: 0x001D39C8
	public unsafe Il2CppReferenceArray<DynamicBone> bones
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaBoneController.NativeFieldInfoPtr_bones);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<DynamicBone>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(NobetaBoneController.NativeFieldInfoPtr_bones), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04004CEA RID: 19690
	private static readonly IntPtr NativeFieldInfoPtr_colliderRadius;

	// Token: 0x04004CEB RID: 19691
	private static readonly IntPtr NativeFieldInfoPtr_boneCollider;

	// Token: 0x04004CEC RID: 19692
	private static readonly IntPtr NativeFieldInfoPtr_bones;

	// Token: 0x04004CED RID: 19693
	private static readonly IntPtr NativeMethodInfoPtr_get_Collider_Public_get_DynamicBoneCollider_0;

	// Token: 0x04004CEE RID: 19694
	private static readonly IntPtr NativeMethodInfoPtr_UpdateValue_Public_Void_Single_0;

	// Token: 0x04004CEF RID: 19695
	private static readonly IntPtr NativeMethodInfoPtr_Enable_Public_Void_Boolean_0;

	// Token: 0x04004CF0 RID: 19696
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
