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

// Token: 0x02000364 RID: 868
public class ColliderHighlighter : MonoBehaviour
{
	// Token: 0x060071A1 RID: 29089 RVA: 0x001CCBA4 File Offset: 0x001CADA4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585701, XrefRangeEnd = 585705, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Awake()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ColliderHighlighter.NativeMethodInfoPtr_Awake_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060071A2 RID: 29090 RVA: 0x001CCBE8 File Offset: 0x001CADE8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585705, XrefRangeEnd = 585715, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnEnable()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ColliderHighlighter.NativeMethodInfoPtr_OnEnable_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060071A3 RID: 29091 RVA: 0x001CCC2C File Offset: 0x001CAE2C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585715, XrefRangeEnd = 585725, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnDisable()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ColliderHighlighter.NativeMethodInfoPtr_OnDisable_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060071A4 RID: 29092 RVA: 0x001CCC70 File Offset: 0x001CAE70
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585725, XrefRangeEnd = 585743, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Solver_OnCollision(Il2CppSystem.Object sender, ObiSolver.ObiCollisionEventArgs e)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(sender);
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(e);
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ColliderHighlighter.NativeMethodInfoPtr_Solver_OnCollision_Private_Void_Object_ObiCollisionEventArgs_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

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

	// Token: 0x060071A6 RID: 29094 RVA: 0x001CCD30 File Offset: 0x001CAF30
	// Note: this type is marked as 'beforefieldinit'.
	static ColliderHighlighter()
	{
		Il2CppClassPointerStore<ColliderHighlighter>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "ColliderHighlighter");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ColliderHighlighter>.NativeClassPtr);
		ColliderHighlighter.NativeFieldInfoPtr_solver = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ColliderHighlighter>.NativeClassPtr, "solver");
		ColliderHighlighter.NativeMethodInfoPtr_Awake_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ColliderHighlighter>.NativeClassPtr, 100671741);
		ColliderHighlighter.NativeMethodInfoPtr_OnEnable_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ColliderHighlighter>.NativeClassPtr, 100671742);
		ColliderHighlighter.NativeMethodInfoPtr_OnDisable_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ColliderHighlighter>.NativeClassPtr, 100671743);
		ColliderHighlighter.NativeMethodInfoPtr_Solver_OnCollision_Private_Void_Object_ObiCollisionEventArgs_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ColliderHighlighter>.NativeClassPtr, 100671744);
		ColliderHighlighter.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ColliderHighlighter>.NativeClassPtr, 100671745);
	}

	// Token: 0x060071A7 RID: 29095 RVA: 0x0000351C File Offset: 0x0000171C
	public ColliderHighlighter(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x1700272F RID: 10031
	// (get) Token: 0x060071A8 RID: 29096 RVA: 0x001CCDD8 File Offset: 0x001CAFD8
	// (set) Token: 0x060071A9 RID: 29097 RVA: 0x001CCE0C File Offset: 0x001CB00C
	public unsafe ObiSolver solver
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ColliderHighlighter.NativeFieldInfoPtr_solver);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new ObiSolver(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ColliderHighlighter.NativeFieldInfoPtr_solver), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04004B5F RID: 19295
	private static readonly IntPtr NativeFieldInfoPtr_solver;

	// Token: 0x04004B60 RID: 19296
	private static readonly IntPtr NativeMethodInfoPtr_Awake_Private_Void_0;

	// Token: 0x04004B61 RID: 19297
	private static readonly IntPtr NativeMethodInfoPtr_OnEnable_Private_Void_0;

	// Token: 0x04004B62 RID: 19298
	private static readonly IntPtr NativeMethodInfoPtr_OnDisable_Private_Void_0;

	// Token: 0x04004B63 RID: 19299
	private static readonly IntPtr NativeMethodInfoPtr_Solver_OnCollision_Private_Void_Object_ObiCollisionEventArgs_0;

	// Token: 0x04004B64 RID: 19300
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
