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

// Token: 0x020002CD RID: 717
public class UIArrowHandler : UIHandlerBase
{
	// Token: 0x06005F25 RID: 24357 RVA: 0x0017FEE4 File Offset: 0x0017E0E4
	[CallerCount(12)]
	[CachedScanResults(RefRangeStart = 14737, RefRangeEnd = 14749, XrefRangeStart = 14737, XrefRangeEnd = 14749, 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: 0x06005F26 RID: 24358 RVA: 0x0017FF3C File Offset: 0x0017E13C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 594306, XrefRangeEnd = 594310, 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: 0x06005F27 RID: 24359 RVA: 0x0017FF8C File Offset: 0x0017E18C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 594310, XrefRangeEnd = 594314, 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: 0x06005F28 RID: 24360 RVA: 0x0017FFDC File Offset: 0x0017E1DC
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 594323, RefRangeEnd = 594325, XrefRangeStart = 594314, XrefRangeEnd = 594323, 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: 0x06005F29 RID: 24361 RVA: 0x00180030 File Offset: 0x0017E230
	[CallerCount(5874)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5898, XrefRangeStart = 24, XrefRangeEnd = 5898, 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: 0x06005F2A RID: 24362 RVA: 0x0018008C File Offset: 0x0017E28C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 594325, XrefRangeEnd = 594329, 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: 0x06005F2B RID: 24363 RVA: 0x001800E0 File Offset: 0x0017E2E0
	[CallerCount(13)]
	[CachedScanResults(RefRangeStart = 235327, RefRangeEnd = 235340, XrefRangeStart = 235327, XrefRangeEnd = 235340, 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: 0x06005F2C RID: 24364 RVA: 0x0018012C File Offset: 0x0017E32C
	// 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, 100670092);
		UIArrowHandler.NativeMethodInfoPtr_OnSelect_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIArrowHandler>.NativeClassPtr, 100670093);
		UIArrowHandler.NativeMethodInfoPtr_OnDeselect_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIArrowHandler>.NativeClassPtr, 100670094);
		UIArrowHandler.NativeMethodInfoPtr_ProcessScaleEffect_Private_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIArrowHandler>.NativeClassPtr, 100670095);
		UIArrowHandler.NativeMethodInfoPtr_OnPointerClick_Public_Virtual_Final_New_Void_PointerEventData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIArrowHandler>.NativeClassPtr, 100670096);
		UIArrowHandler.NativeMethodInfoPtr_UpdateActivation_Public_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIArrowHandler>.NativeClassPtr, 100670097);
		UIArrowHandler.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIArrowHandler>.NativeClassPtr, 100670098);
	}

	// Token: 0x06005F2D RID: 24365 RVA: 0x0015B1F8 File Offset: 0x001593F8
	public UIArrowHandler(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170020FB RID: 8443
	// (get) Token: 0x06005F2E RID: 24366 RVA: 0x00180210 File Offset: 0x0017E410
	// (set) Token: 0x06005F2F RID: 24367 RVA: 0x00180244 File Offset: 0x0017E444
	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: 0x170020FC RID: 8444
	// (get) Token: 0x06005F30 RID: 24368 RVA: 0x0018026C File Offset: 0x0017E46C
	// (set) Token: 0x06005F31 RID: 24369 RVA: 0x001802A0 File Offset: 0x0017E4A0
	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: 0x04003F49 RID: 16201
	private static readonly IntPtr NativeFieldInfoPtr_image;

	// Token: 0x04003F4A RID: 16202
	private static readonly IntPtr NativeFieldInfoPtr_sensor;

	// Token: 0x04003F4B RID: 16203
	private static readonly IntPtr NativeMethodInfoPtr_GetImage_Public_Image_0;

	// Token: 0x04003F4C RID: 16204
	private static readonly IntPtr NativeMethodInfoPtr_OnSelect_Public_Virtual_Void_0;

	// Token: 0x04003F4D RID: 16205
	private static readonly IntPtr NativeMethodInfoPtr_OnDeselect_Public_Virtual_Void_0;

	// Token: 0x04003F4E RID: 16206
	private static readonly IntPtr NativeMethodInfoPtr_ProcessScaleEffect_Private_Void_Single_0;

	// Token: 0x04003F4F RID: 16207
	private static readonly IntPtr NativeMethodInfoPtr_OnPointerClick_Public_Virtual_Final_New_Void_PointerEventData_0;

	// Token: 0x04003F50 RID: 16208
	private static readonly IntPtr NativeMethodInfoPtr_UpdateActivation_Public_Void_Boolean_0;

	// Token: 0x04003F51 RID: 16209
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
