using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using MarsSDK;
using UnityEngine.EventSystems;
using UnityEngine.UI;

// Token: 0x02000283 RID: 643
public class UIArrowHandler : UIHandlerBase
{
	// Token: 0x060058BC RID: 22716 RVA: 0x0016543C File Offset: 0x0016363C
	[CallerCount(12)]
	[CachedScanResults(RefRangeStart = 14840, RefRangeEnd = 14852, XrefRangeStart = 14840, XrefRangeEnd = 14852, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe Image GetImage()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIArrowHandler.NativeMethodInfoPtr_GetImage_Public_Image_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		IntPtr intPtr3 = intPtr;
		return (intPtr3 != 0) ? new Image(intPtr3) : null;
	}

	// Token: 0x060058BD RID: 22717 RVA: 0x00165494 File Offset: 0x00163694
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 564288, XrefRangeEnd = 564292, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void OnSelect()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), UIArrowHandler.NativeMethodInfoPtr_OnSelect_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060058BE RID: 22718 RVA: 0x001654E4 File Offset: 0x001636E4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 564292, XrefRangeEnd = 564296, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void OnDeselect()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), UIArrowHandler.NativeMethodInfoPtr_OnDeselect_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060058BF RID: 22719 RVA: 0x00165534 File Offset: 0x00163734
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 564305, RefRangeEnd = 564307, XrefRangeStart = 564296, XrefRangeEnd = 564305, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void ProcessScaleEffect(float scale)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref scale;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIArrowHandler.NativeMethodInfoPtr_ProcessScaleEffect_Private_Void_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x060058C0 RID: 22720 RVA: 0x00165588 File Offset: 0x00163788
	[CallerCount(5585)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5609, XrefRangeStart = 24, XrefRangeEnd = 5609, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe virtual void OnPointerClick(PointerEventData eventData)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(eventData);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIArrowHandler.NativeMethodInfoPtr_OnPointerClick_Public_Virtual_Final_New_Void_PointerEventData_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x060058C1 RID: 22721 RVA: 0x001655E4 File Offset: 0x001637E4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 564307, XrefRangeEnd = 564311, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void UpdateActivation(bool isActive)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref isActive;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIArrowHandler.NativeMethodInfoPtr_UpdateActivation_Public_Void_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x060058C2 RID: 22722 RVA: 0x00165638 File Offset: 0x00163838
	[CallerCount(13)]
	[CachedScanResults(RefRangeStart = 227409, RefRangeEnd = 227422, XrefRangeStart = 227409, XrefRangeEnd = 227422, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe UIArrowHandler()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<UIArrowHandler>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIArrowHandler.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060058C3 RID: 22723 RVA: 0x00165684 File Offset: 0x00163884
	// Note: this type is marked as 'beforefieldinit'.
	static UIArrowHandler()
	{
		Il2CppClassPointerStore<UIArrowHandler>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "UIArrowHandler");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<UIArrowHandler>.NativeClassPtr);
		UIArrowHandler.NativeFieldInfoPtr_image = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIArrowHandler>.NativeClassPtr, "image");
		UIArrowHandler.NativeFieldInfoPtr_sensor = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIArrowHandler>.NativeClassPtr, "sensor");
		UIArrowHandler.NativeMethodInfoPtr_GetImage_Public_Image_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIArrowHandler>.NativeClassPtr, 100669545);
		UIArrowHandler.NativeMethodInfoPtr_OnSelect_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIArrowHandler>.NativeClassPtr, 100669546);
		UIArrowHandler.NativeMethodInfoPtr_OnDeselect_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIArrowHandler>.NativeClassPtr, 100669547);
		UIArrowHandler.NativeMethodInfoPtr_ProcessScaleEffect_Private_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIArrowHandler>.NativeClassPtr, 100669548);
		UIArrowHandler.NativeMethodInfoPtr_OnPointerClick_Public_Virtual_Final_New_Void_PointerEventData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIArrowHandler>.NativeClassPtr, 100669549);
		UIArrowHandler.NativeMethodInfoPtr_UpdateActivation_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIArrowHandler>.NativeClassPtr, 100669550);
		UIArrowHandler.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIArrowHandler>.NativeClassPtr, 100669551);
	}

	// Token: 0x060058C4 RID: 22724 RVA: 0x00146FEC File Offset: 0x001451EC
	public UIArrowHandler(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001F09 RID: 7945
	// (get) Token: 0x060058C5 RID: 22725 RVA: 0x00165768 File Offset: 0x00163968
	// (set) Token: 0x060058C6 RID: 22726 RVA: 0x0016579C File Offset: 0x0016399C
	public unsafe Image image
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIArrowHandler.NativeFieldInfoPtr_image);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Image(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIArrowHandler.NativeFieldInfoPtr_image), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001F0A RID: 7946
	// (get) Token: 0x060058C7 RID: 22727 RVA: 0x001657C4 File Offset: 0x001639C4
	// (set) Token: 0x060058C8 RID: 22728 RVA: 0x001657F8 File Offset: 0x001639F8
	public unsafe EmptyGraphicSensor sensor
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIArrowHandler.NativeFieldInfoPtr_sensor);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new EmptyGraphicSensor(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIArrowHandler.NativeFieldInfoPtr_sensor), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003ADF RID: 15071
	private static readonly IntPtr NativeFieldInfoPtr_image;

	// Token: 0x04003AE0 RID: 15072
	private static readonly IntPtr NativeFieldInfoPtr_sensor;

	// Token: 0x04003AE1 RID: 15073
	private static readonly IntPtr NativeMethodInfoPtr_GetImage_Public_Image_0;

	// Token: 0x04003AE2 RID: 15074
	private static readonly IntPtr NativeMethodInfoPtr_OnSelect_Public_Virtual_Void_0;

	// Token: 0x04003AE3 RID: 15075
	private static readonly IntPtr NativeMethodInfoPtr_OnDeselect_Public_Virtual_Void_0;

	// Token: 0x04003AE4 RID: 15076
	private static readonly IntPtr NativeMethodInfoPtr_ProcessScaleEffect_Private_Void_Single_0;

	// Token: 0x04003AE5 RID: 15077
	private static readonly IntPtr NativeMethodInfoPtr_OnPointerClick_Public_Virtual_Final_New_Void_PointerEventData_0;

	// Token: 0x04003AE6 RID: 15078
	private static readonly IntPtr NativeMethodInfoPtr_UpdateActivation_Public_Void_Boolean_0;

	// Token: 0x04003AE7 RID: 15079
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
