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

// Token: 0x020003BC RID: 956
public class ColliderHighlighter : MonoBehaviour
{
	// Token: 0x060079F4 RID: 31220 RVA: 0x001EF8EC File Offset: 0x001EDAEC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618002, XrefRangeEnd = 618006, 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: 0x060079F5 RID: 31221 RVA: 0x001EF930 File Offset: 0x001EDB30
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618006, XrefRangeEnd = 618016, 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: 0x060079F6 RID: 31222 RVA: 0x001EF974 File Offset: 0x001EDB74
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618016, XrefRangeEnd = 618026, 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: 0x060079F7 RID: 31223 RVA: 0x001EF9B8 File Offset: 0x001EDBB8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618026, XrefRangeEnd = 618044, 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: 0x060079F8 RID: 31224 RVA: 0x001EFA2C File Offset: 0x001EDC2C
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, 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: 0x060079F9 RID: 31225 RVA: 0x001EFA78 File Offset: 0x001EDC78
	// 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, 100672454);
		ColliderHighlighter.NativeMethodInfoPtr_OnEnable_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ColliderHighlighter>.NativeClassPtr, 100672455);
		ColliderHighlighter.NativeMethodInfoPtr_OnDisable_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ColliderHighlighter>.NativeClassPtr, 100672456);
		ColliderHighlighter.NativeMethodInfoPtr_Solver_OnCollision_Private_Void_Object_ObiCollisionEventArgs_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ColliderHighlighter>.NativeClassPtr, 100672457);
		ColliderHighlighter.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ColliderHighlighter>.NativeClassPtr, 100672458);
	}

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

	// Token: 0x170029CA RID: 10698
	// (get) Token: 0x060079FB RID: 31227 RVA: 0x001EFB20 File Offset: 0x001EDD20
	// (set) Token: 0x060079FC RID: 31228 RVA: 0x001EFB54 File Offset: 0x001EDD54
	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: 0x04005108 RID: 20744
	private static readonly IntPtr NativeFieldInfoPtr_solver;

	// Token: 0x04005109 RID: 20745
	private static readonly IntPtr NativeMethodInfoPtr_Awake_Private_Void_0;

	// Token: 0x0400510A RID: 20746
	private static readonly IntPtr NativeMethodInfoPtr_OnEnable_Private_Void_0;

	// Token: 0x0400510B RID: 20747
	private static readonly IntPtr NativeMethodInfoPtr_OnDisable_Private_Void_0;

	// Token: 0x0400510C RID: 20748
	private static readonly IntPtr NativeMethodInfoPtr_Solver_OnCollision_Private_Void_Object_ObiCollisionEventArgs_0;

	// Token: 0x0400510D RID: 20749
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
