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

// Token: 0x020003B6 RID: 950
public class DynamicBoneCollider : DynamicBoneColliderBase
{
	// Token: 0x060079CA RID: 31178 RVA: 0x001EED18 File Offset: 0x001ECF18
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617890, XrefRangeEnd = 617892, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnValidate()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DynamicBoneCollider.NativeMethodInfoPtr_OnValidate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060079CB RID: 31179 RVA: 0x001EED5C File Offset: 0x001ECF5C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617892, XrefRangeEnd = 617901, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void Collide(ref Vector3 particlePosition, float particleRadius)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
			*ptr = &particlePosition;
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref particleRadius;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), DynamicBoneCollider.NativeMethodInfoPtr_Collide_Public_Virtual_Void_byref_Vector3_Single_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060079CC RID: 31180 RVA: 0x001EEDD0 File Offset: 0x001ECFD0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617901, XrefRangeEnd = 617904, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe static void OutsideSphere(ref Vector3 particlePosition, float particleRadius, Vector3 sphereCenter, float sphereRadius)
	{
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)4) * (UIntPtr)sizeof(IntPtr)];
			*ptr = &particlePosition;
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref particleRadius;
		ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref sphereCenter;
		ptr[checked(unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref sphereRadius;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DynamicBoneCollider.NativeMethodInfoPtr_OutsideSphere_Private_Static_Void_byref_Vector3_Single_Vector3_Single_0, 0, (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060079CD RID: 31181 RVA: 0x001EEE50 File Offset: 0x001ED050
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617904, XrefRangeEnd = 617907, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe static void InsideSphere(ref Vector3 particlePosition, float particleRadius, Vector3 sphereCenter, float sphereRadius)
	{
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)4) * (UIntPtr)sizeof(IntPtr)];
			*ptr = &particlePosition;
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref particleRadius;
		ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref sphereCenter;
		ptr[checked(unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref sphereRadius;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DynamicBoneCollider.NativeMethodInfoPtr_InsideSphere_Private_Static_Void_byref_Vector3_Single_Vector3_Single_0, 0, (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060079CE RID: 31182 RVA: 0x001EEED0 File Offset: 0x001ED0D0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617907, XrefRangeEnd = 617919, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe static void OutsideCapsule(ref Vector3 particlePosition, float particleRadius, Vector3 capsuleP0, Vector3 capsuleP1, float capsuleRadius)
	{
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)5) * (UIntPtr)sizeof(IntPtr)];
			*ptr = &particlePosition;
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref particleRadius;
		ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref capsuleP0;
		ptr[checked(unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref capsuleP1;
		ptr[checked(unchecked((UIntPtr)4) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref capsuleRadius;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DynamicBoneCollider.NativeMethodInfoPtr_OutsideCapsule_Private_Static_Void_byref_Vector3_Single_Vector3_Vector3_Single_0, 0, (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060079CF RID: 31183 RVA: 0x001EEF64 File Offset: 0x001ED164
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 617931, RefRangeEnd = 617932, XrefRangeStart = 617919, XrefRangeEnd = 617931, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe static void InsideCapsule(ref Vector3 particlePosition, float particleRadius, Vector3 capsuleP0, Vector3 capsuleP1, float capsuleRadius)
	{
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)5) * (UIntPtr)sizeof(IntPtr)];
			*ptr = &particlePosition;
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref particleRadius;
		ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref capsuleP0;
		ptr[checked(unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref capsuleP1;
		ptr[checked(unchecked((UIntPtr)4) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref capsuleRadius;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DynamicBoneCollider.NativeMethodInfoPtr_InsideCapsule_Private_Static_Void_byref_Vector3_Single_Vector3_Vector3_Single_0, 0, (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060079D0 RID: 31184 RVA: 0x001EEFF8 File Offset: 0x001ED1F8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617932, XrefRangeEnd = 617949, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnDrawGizmosSelected()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DynamicBoneCollider.NativeMethodInfoPtr_OnDrawGizmosSelected_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060079D1 RID: 31185 RVA: 0x001EF03C File Offset: 0x001ED23C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617949, XrefRangeEnd = 617951, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe DynamicBoneCollider()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<DynamicBoneCollider>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DynamicBoneCollider.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060079D2 RID: 31186 RVA: 0x001EF088 File Offset: 0x001ED288
	// Note: this type is marked as 'beforefieldinit'.
	static DynamicBoneCollider()
	{
		Il2CppClassPointerStore<DynamicBoneCollider>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "DynamicBoneCollider");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<DynamicBoneCollider>.NativeClassPtr);
		DynamicBoneCollider.NativeFieldInfoPtr_m_Radius = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DynamicBoneCollider>.NativeClassPtr, "m_Radius");
		DynamicBoneCollider.NativeFieldInfoPtr_m_Height = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DynamicBoneCollider>.NativeClassPtr, "m_Height");
		DynamicBoneCollider.NativeMethodInfoPtr_OnValidate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneCollider>.NativeClassPtr, 100672436);
		DynamicBoneCollider.NativeMethodInfoPtr_Collide_Public_Virtual_Void_byref_Vector3_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneCollider>.NativeClassPtr, 100672437);
		DynamicBoneCollider.NativeMethodInfoPtr_OutsideSphere_Private_Static_Void_byref_Vector3_Single_Vector3_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneCollider>.NativeClassPtr, 100672438);
		DynamicBoneCollider.NativeMethodInfoPtr_InsideSphere_Private_Static_Void_byref_Vector3_Single_Vector3_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneCollider>.NativeClassPtr, 100672439);
		DynamicBoneCollider.NativeMethodInfoPtr_OutsideCapsule_Private_Static_Void_byref_Vector3_Single_Vector3_Vector3_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneCollider>.NativeClassPtr, 100672440);
		DynamicBoneCollider.NativeMethodInfoPtr_InsideCapsule_Private_Static_Void_byref_Vector3_Single_Vector3_Vector3_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneCollider>.NativeClassPtr, 100672441);
		DynamicBoneCollider.NativeMethodInfoPtr_OnDrawGizmosSelected_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneCollider>.NativeClassPtr, 100672442);
		DynamicBoneCollider.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneCollider>.NativeClassPtr, 100672443);
	}

	// Token: 0x060079D3 RID: 31187 RVA: 0x001EF180 File Offset: 0x001ED380
	public DynamicBoneCollider(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170029C2 RID: 10690
	// (get) Token: 0x060079D4 RID: 31188 RVA: 0x001EF18C File Offset: 0x001ED38C
	// (set) Token: 0x060079D5 RID: 31189 RVA: 0x001EF1B4 File Offset: 0x001ED3B4
	public unsafe float m_Radius
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DynamicBoneCollider.NativeFieldInfoPtr_m_Radius);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DynamicBoneCollider.NativeFieldInfoPtr_m_Radius)) = value;
		}
	}

	// Token: 0x170029C3 RID: 10691
	// (get) Token: 0x060079D6 RID: 31190 RVA: 0x001EF1D8 File Offset: 0x001ED3D8
	// (set) Token: 0x060079D7 RID: 31191 RVA: 0x001EF200 File Offset: 0x001ED400
	public unsafe float m_Height
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DynamicBoneCollider.NativeFieldInfoPtr_m_Height);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DynamicBoneCollider.NativeFieldInfoPtr_m_Height)) = value;
		}
	}

	// Token: 0x040050E7 RID: 20711
	private static readonly IntPtr NativeFieldInfoPtr_m_Radius;

	// Token: 0x040050E8 RID: 20712
	private static readonly IntPtr NativeFieldInfoPtr_m_Height;

	// Token: 0x040050E9 RID: 20713
	private static readonly IntPtr NativeMethodInfoPtr_OnValidate_Private_Void_0;

	// Token: 0x040050EA RID: 20714
	private static readonly IntPtr NativeMethodInfoPtr_Collide_Public_Virtual_Void_byref_Vector3_Single_0;

	// Token: 0x040050EB RID: 20715
	private static readonly IntPtr NativeMethodInfoPtr_OutsideSphere_Private_Static_Void_byref_Vector3_Single_Vector3_Single_0;

	// Token: 0x040050EC RID: 20716
	private static readonly IntPtr NativeMethodInfoPtr_InsideSphere_Private_Static_Void_byref_Vector3_Single_Vector3_Single_0;

	// Token: 0x040050ED RID: 20717
	private static readonly IntPtr NativeMethodInfoPtr_OutsideCapsule_Private_Static_Void_byref_Vector3_Single_Vector3_Vector3_Single_0;

	// Token: 0x040050EE RID: 20718
	private static readonly IntPtr NativeMethodInfoPtr_InsideCapsule_Private_Static_Void_byref_Vector3_Single_Vector3_Vector3_Single_0;

	// Token: 0x040050EF RID: 20719
	private static readonly IntPtr NativeMethodInfoPtr_OnDrawGizmosSelected_Private_Void_0;

	// Token: 0x040050F0 RID: 20720
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
