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

// Token: 0x020001EC RID: 492
public class CollisionTest : MonoBehaviour
{
	// Token: 0x06004CDD RID: 19677 RVA: 0x001313A0 File Offset: 0x0012F5A0
	[CallerCount(5585)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5609, XrefRangeStart = 24, XrefRangeEnd = 5609, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Start()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CollisionTest.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004CDE RID: 19678 RVA: 0x001313E4 File Offset: 0x0012F5E4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 547428, XrefRangeEnd = 547452, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CollisionTest.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004CDF RID: 19679 RVA: 0x00131428 File Offset: 0x0012F628
	[CallerCount(63)]
	[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe CollisionTest()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<CollisionTest>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CollisionTest.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004CE0 RID: 19680 RVA: 0x00131474 File Offset: 0x0012F674
	// Note: this type is marked as 'beforefieldinit'.
	static CollisionTest()
	{
		Il2CppClassPointerStore<CollisionTest>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "CollisionTest");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<CollisionTest>.NativeClassPtr);
		CollisionTest.NativeFieldInfoPtr_sub = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CollisionTest>.NativeClassPtr, "sub");
		CollisionTest.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CollisionTest>.NativeClassPtr, 100668362);
		CollisionTest.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CollisionTest>.NativeClassPtr, 100668363);
		CollisionTest.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CollisionTest>.NativeClassPtr, 100668364);
	}

	// Token: 0x06004CE1 RID: 19681 RVA: 0x0000351C File Offset: 0x0000171C
	public CollisionTest(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001BB0 RID: 7088
	// (get) Token: 0x06004CE2 RID: 19682 RVA: 0x001314F4 File Offset: 0x0012F6F4
	// (set) Token: 0x06004CE3 RID: 19683 RVA: 0x00131528 File Offset: 0x0012F728
	public unsafe Transform sub
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CollisionTest.NativeFieldInfoPtr_sub);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Transform(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(CollisionTest.NativeFieldInfoPtr_sub), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003296 RID: 12950
	private static readonly IntPtr NativeFieldInfoPtr_sub;

	// Token: 0x04003297 RID: 12951
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x04003298 RID: 12952
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04003299 RID: 12953
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
