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

// Token: 0x0200035E RID: 862
public class DynamicBoneCollider : DynamicBoneColliderBase
{
	// Token: 0x06007177 RID: 29047 RVA: 0x001CBFD0 File Offset: 0x001CA1D0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585589, XrefRangeEnd = 585591, 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: 0x06007178 RID: 29048 RVA: 0x001CC014 File Offset: 0x001CA214
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585591, XrefRangeEnd = 585600, 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: 0x06007179 RID: 29049 RVA: 0x001CC088 File Offset: 0x001CA288
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585600, XrefRangeEnd = 585603, 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: 0x0600717A RID: 29050 RVA: 0x001CC108 File Offset: 0x001CA308
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585603, XrefRangeEnd = 585606, 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: 0x0600717B RID: 29051 RVA: 0x001CC188 File Offset: 0x001CA388
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585606, XrefRangeEnd = 585618, 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: 0x0600717C RID: 29052 RVA: 0x001CC21C File Offset: 0x001CA41C
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 585630, RefRangeEnd = 585631, XrefRangeStart = 585618, XrefRangeEnd = 585630, 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: 0x0600717D RID: 29053 RVA: 0x001CC2B0 File Offset: 0x001CA4B0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585631, XrefRangeEnd = 585648, 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: 0x0600717E RID: 29054 RVA: 0x001CC2F4 File Offset: 0x001CA4F4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585648, XrefRangeEnd = 585650, 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: 0x0600717F RID: 29055 RVA: 0x001CC340 File Offset: 0x001CA540
	// 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, 100671723);
		DynamicBoneCollider.NativeMethodInfoPtr_Collide_Public_Virtual_Void_byref_Vector3_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneCollider>.NativeClassPtr, 100671724);
		DynamicBoneCollider.NativeMethodInfoPtr_OutsideSphere_Private_Static_Void_byref_Vector3_Single_Vector3_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneCollider>.NativeClassPtr, 100671725);
		DynamicBoneCollider.NativeMethodInfoPtr_InsideSphere_Private_Static_Void_byref_Vector3_Single_Vector3_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneCollider>.NativeClassPtr, 100671726);
		DynamicBoneCollider.NativeMethodInfoPtr_OutsideCapsule_Private_Static_Void_byref_Vector3_Single_Vector3_Vector3_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneCollider>.NativeClassPtr, 100671727);
		DynamicBoneCollider.NativeMethodInfoPtr_InsideCapsule_Private_Static_Void_byref_Vector3_Single_Vector3_Vector3_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneCollider>.NativeClassPtr, 100671728);
		DynamicBoneCollider.NativeMethodInfoPtr_OnDrawGizmosSelected_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneCollider>.NativeClassPtr, 100671729);
		DynamicBoneCollider.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneCollider>.NativeClassPtr, 100671730);
	}

	// Token: 0x06007180 RID: 29056 RVA: 0x001CC438 File Offset: 0x001CA638
	public DynamicBoneCollider(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17002727 RID: 10023
	// (get) Token: 0x06007181 RID: 29057 RVA: 0x001CC444 File Offset: 0x001CA644
	// (set) Token: 0x06007182 RID: 29058 RVA: 0x001CC46C File Offset: 0x001CA66C
	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: 0x17002728 RID: 10024
	// (get) Token: 0x06007183 RID: 29059 RVA: 0x001CC490 File Offset: 0x001CA690
	// (set) Token: 0x06007184 RID: 29060 RVA: 0x001CC4B8 File Offset: 0x001CA6B8
	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: 0x04004B3E RID: 19262
	private static readonly IntPtr NativeFieldInfoPtr_m_Radius;

	// Token: 0x04004B3F RID: 19263
	private static readonly IntPtr NativeFieldInfoPtr_m_Height;

	// Token: 0x04004B40 RID: 19264
	private static readonly IntPtr NativeMethodInfoPtr_OnValidate_Private_Void_0;

	// Token: 0x04004B41 RID: 19265
	private static readonly IntPtr NativeMethodInfoPtr_Collide_Public_Virtual_Void_byref_Vector3_Single_0;

	// Token: 0x04004B42 RID: 19266
	private static readonly IntPtr NativeMethodInfoPtr_OutsideSphere_Private_Static_Void_byref_Vector3_Single_Vector3_Single_0;

	// Token: 0x04004B43 RID: 19267
	private static readonly IntPtr NativeMethodInfoPtr_InsideSphere_Private_Static_Void_byref_Vector3_Single_Vector3_Single_0;

	// Token: 0x04004B44 RID: 19268
	private static readonly IntPtr NativeMethodInfoPtr_OutsideCapsule_Private_Static_Void_byref_Vector3_Single_Vector3_Vector3_Single_0;

	// Token: 0x04004B45 RID: 19269
	private static readonly IntPtr NativeMethodInfoPtr_InsideCapsule_Private_Static_Void_byref_Vector3_Single_Vector3_Vector3_Single_0;

	// Token: 0x04004B46 RID: 19270
	private static readonly IntPtr NativeMethodInfoPtr_OnDrawGizmosSelected_Private_Void_0;

	// Token: 0x04004B47 RID: 19271
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
