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

// Token: 0x020003BA RID: 954
public class DynamicBonePlaneCollider : DynamicBoneColliderBase
{
	// Token: 0x060079E2 RID: 31202 RVA: 0x001EF45C File Offset: 0x001ED65C
	[CallerCount(5874)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5898, XrefRangeStart = 24, XrefRangeEnd = 5898, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnValidate()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DynamicBonePlaneCollider.NativeMethodInfoPtr_OnValidate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060079E3 RID: 31203 RVA: 0x001EF4A0 File Offset: 0x001ED6A0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617953, XrefRangeEnd = 617966, 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), DynamicBonePlaneCollider.NativeMethodInfoPtr_Collide_Public_Virtual_Void_byref_Vector3_Single_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060079E4 RID: 31204 RVA: 0x001EF514 File Offset: 0x001ED714
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617966, XrefRangeEnd = 617983, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnDrawGizmosSelected()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DynamicBonePlaneCollider.NativeMethodInfoPtr_OnDrawGizmosSelected_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

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

	// Token: 0x060079E6 RID: 31206 RVA: 0x001EF5A4 File Offset: 0x001ED7A4
	// Note: this type is marked as 'beforefieldinit'.
	static DynamicBonePlaneCollider()
	{
		Il2CppClassPointerStore<DynamicBonePlaneCollider>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "DynamicBonePlaneCollider");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<DynamicBonePlaneCollider>.NativeClassPtr);
		DynamicBonePlaneCollider.NativeMethodInfoPtr_OnValidate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBonePlaneCollider>.NativeClassPtr, 100672446);
		DynamicBonePlaneCollider.NativeMethodInfoPtr_Collide_Public_Virtual_Void_byref_Vector3_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBonePlaneCollider>.NativeClassPtr, 100672447);
		DynamicBonePlaneCollider.NativeMethodInfoPtr_OnDrawGizmosSelected_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBonePlaneCollider>.NativeClassPtr, 100672448);
		DynamicBonePlaneCollider.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBonePlaneCollider>.NativeClassPtr, 100672449);
	}

	// Token: 0x060079E7 RID: 31207 RVA: 0x001EF180 File Offset: 0x001ED380
	public DynamicBonePlaneCollider(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x040050FD RID: 20733
	private static readonly IntPtr NativeMethodInfoPtr_OnValidate_Private_Void_0;

	// Token: 0x040050FE RID: 20734
	private static readonly IntPtr NativeMethodInfoPtr_Collide_Public_Virtual_Void_byref_Vector3_Single_0;

	// Token: 0x040050FF RID: 20735
	private static readonly IntPtr NativeMethodInfoPtr_OnDrawGizmosSelected_Private_Void_0;

	// Token: 0x04005100 RID: 20736
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
