using System;
using Cpp2IlInjected;
using DG.Tweening;
using DG.Tweening.Core;
using DG.Tweening.Plugins.Options;
using MarsSDK;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;

// Token: 0x02000276 RID: 630
[Token(Token = "0x2000276")]
public class UIArrowHandler : UIHandlerBase, IPointerClickHandler, IEventSystemHandler
{
	// Token: 0x06001869 RID: 6249 RVA: 0x0003B840 File Offset: 0x00039A40
	[Token(Token = "0x6001869")]
	[Address(RVA = "0x31E4E0", Offset = "0x31D2E0", VA = "0x18031E4E0")]
	public Image GetImage()
	{
		return this.image;
	}

	// Token: 0x0600186A RID: 6250 RVA: 0x0003B854 File Offset: 0x00039A54
	[Token(Token = "0x600186A")]
	[Address(RVA = "0x75F790", Offset = "0x75E590", VA = "0x18075F790", Slot = "8")]
	public override void OnSelect()
	{
		this.ProcessScaleEffect(1.25f);
		Action<UIHandlerBase> onSelectedHandler = this.onSelectedHandler;
		if (onSelectedHandler != 0)
		{
			onSelectedHandler(this);
			return;
		}
	}

	// Token: 0x0600186B RID: 6251 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600186B")]
	[Address(RVA = "0x75F730", Offset = "0x75E530", VA = "0x18075F730", Slot = "9")]
	public override void OnDeselect()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600186C RID: 6252 RVA: 0x0003B880 File Offset: 0x00039A80
	[Token(Token = "0x600186C")]
	[Address(RVA = "0x75F7F0", Offset = "0x75E5F0", VA = "0x18075F7F0")]
	private void ProcessScaleEffect(float scale)
	{
		TweenerCore<Vector3, Vector3, VectorOptions> tweenerCore = ShortcutExtensions.DOScale(this.image.rectTransform, scale, 0.2f).SetEase((Ease)((uint)15)).Play<TweenerCore<Vector3, Vector3, VectorOptions>>();
	}

	// Token: 0x0600186D RID: 6253 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600186D")]
	[Address(RVA = "0x297F00", Offset = "0x296D00", VA = "0x180297F00", Slot = "10")]
	public void OnPointerClick(PointerEventData eventData)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600186E RID: 6254 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600186E")]
	[Address(RVA = "0x75F890", Offset = "0x75E690", VA = "0x18075F890")]
	public void UpdateActivation(bool isActive)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600186F RID: 6255 RVA: 0x0003B8B8 File Offset: 0x00039AB8
	[Token(Token = "0x600186F")]
	[Address(RVA = "0x3FBF80", Offset = "0x3FAD80", VA = "0x1803FBF80")]
	public UIArrowHandler()
	{
	}

	// Token: 0x0400227F RID: 8831
	[FieldOffset(Offset = "0x68")]
	[Token(Token = "0x400227F")]
	[SerializeField]
	private Image image;

	// Token: 0x04002280 RID: 8832
	[FieldOffset(Offset = "0x70")]
	[Token(Token = "0x4002280")]
	[SerializeField]
	private EmptyGraphicSensor sensor;
}
