using System;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.LowLevel;

// Token: 0x02000170 RID: 368
[Token(Token = "0x2000170")]
public class GameInputManager : MonoBehaviour
{
	// Token: 0x14000009 RID: 9
	// (add) Token: 0x060011FB RID: 4603 RVA: 0x000020D3 File Offset: 0x000002D3
	// (remove) Token: 0x060011FC RID: 4604 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x14000009")]
	private event Action<ControllerDevice> deviceChangedHandler
	{
		[Token(Token = "0x60011FB")]
		[Address(RVA = "0x370D40", Offset = "0x36FD40", VA = "0x180370D40")]
		[CompilerGenerated]
		add
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}
		[Token(Token = "0x60011FC")]
		[Address(RVA = "0x372BA0", Offset = "0x371BA0", VA = "0x180372BA0")]
		[CompilerGenerated]
		remove
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}
	}

	// Token: 0x1400000A RID: 10
	// (add) Token: 0x060011FD RID: 4605 RVA: 0x000020D3 File Offset: 0x000002D3
	// (remove) Token: 0x060011FE RID: 4606 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x1400000A")]
	private event Action<bool> cursorStateChangedHandler
	{
		[Token(Token = "0x60011FD")]
		[Address(RVA = "0x370ED0", Offset = "0x36FED0", VA = "0x180370ED0")]
		[CompilerGenerated]
		add
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}
		[Token(Token = "0x60011FE")]
		[Address(RVA = "0x375D00", Offset = "0x374D00", VA = "0x180375D00")]
		[CompilerGenerated]
		remove
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}
	}

	// Token: 0x17000077 RID: 119
	// (get) Token: 0x060011FF RID: 4607 RVA: 0x000294FC File Offset: 0x000276FC
	[Token(Token = "0x17000077")]
	public GamepadVibration Vibration
	{
		[Token(Token = "0x60011FF")]
		[Address(RVA = "0x3763E0", Offset = "0x3753E0", VA = "0x1803763E0")]
		get
		{
			return this.vibration;
		}
	}

	// Token: 0x17000078 RID: 120
	// (get) Token: 0x06001200 RID: 4608 RVA: 0x00029510 File Offset: 0x00027710
	[Token(Token = "0x17000078")]
	public ControllerDevice CurrentDevice
	{
		[Token(Token = "0x6001200")]
		[Address(RVA = "0x29D0F0", Offset = "0x29C0F0", VA = "0x18029D0F0")]
		get
		{
			return this.currentDevice;
		}
	}

	// Token: 0x17000079 RID: 121
	// (get) Token: 0x06001201 RID: 4609 RVA: 0x00029524 File Offset: 0x00027724
	[Token(Token = "0x17000079")]
	public ControllerDevice LastGamepadDevice
	{
		[Token(Token = "0x6001201")]
		[Address(RVA = "0x3763D0", Offset = "0x3753D0", VA = "0x1803763D0")]
		get
		{
			return this.lastGamepadController;
		}
	}

	// Token: 0x06001202 RID: 4610 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001202")]
	[Address(RVA = "0x371710", Offset = "0x370710", VA = "0x180371710")]
	public void Init(PlayerInput input, ControllerDevice defaultDevice)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001203 RID: 4611 RVA: 0x00029538 File Offset: 0x00027738
	[Token(Token = "0x6001203")]
	[Address(RVA = "0x376210", Offset = "0x375210", VA = "0x180376210")]
	private void UpdatePointerVisibleState(InputAction.CallbackContext context)
	{
		if (this.currentDevice == ControllerDevice.Keyboard)
		{
			Action<bool> action = this.cursorStateChangedHandler;
			if (action != 0)
			{
				action(1);
				return;
			}
		}
	}

	// Token: 0x06001204 RID: 4612 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001204")]
	[Address(RVA = "0x370FF0", Offset = "0x36FFF0", VA = "0x180370FF0")]
	private void CalculatePointerMovementMouse(InputAction.CallbackContext context)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001205 RID: 4613 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001205")]
	[Address(RVA = "0x3710A0", Offset = "0x3700A0", VA = "0x1803710A0")]
	private void CalculatePointerMovement(InputAction.CallbackContext context)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001206 RID: 4614 RVA: 0x00029564 File Offset: 0x00027764
	[Token(Token = "0x6001206")]
	[Address(RVA = "0x372C40", Offset = "0x371C40", VA = "0x180372C40")]
	private void SendPointerMovementEvent(Vector2 value)
	{
		if (this.magicController != 0)
		{
		}
		if (this.pointerController != 0)
		{
		}
	}

	// Token: 0x06001207 RID: 4615 RVA: 0x00029584 File Offset: 0x00027784
	[Token(Token = "0x6001207")]
	[Address(RVA = "0x370F70", Offset = "0x36FF70", VA = "0x180370F70")]
	private void CalculateItemSelectionInput(InputAction.CallbackContext context)
	{
		float num = context.ReadValue<float>();
		int num2 = 0;
		IItemController itemController = this.itemController;
		if ((num <= (float)num2 && itemController == 0) || itemController != 0)
		{
		}
	}

	// Token: 0x06001208 RID: 4616 RVA: 0x000295B0 File Offset: 0x000277B0
	[Token(Token = "0x6001208")]
	[Address(RVA = "0x371120", Offset = "0x370120", VA = "0x180371120")]
	private void CalculateUIMovementInput(InputAction.CallbackContext context)
	{
		if (!context.canceled)
		{
			Vector2 vector = context.ReadValue<Vector2>();
			this.uiMovement.UpdateMovement(vector);
			Action<bool> action = this.cursorStateChangedHandler;
			if (action != 0)
			{
				int num = 0;
				action(num);
			}
		}
	}

	// Token: 0x06001209 RID: 4617 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001209")]
	[Address(RVA = "0x372820", Offset = "0x371820", VA = "0x180372820")]
	private void OnControllerChanged(PlayerInput input)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600120A RID: 4618 RVA: 0x000295F4 File Offset: 0x000277F4
	[Token(Token = "0x600120A")]
	[Address(RVA = "0x371630", Offset = "0x370630", VA = "0x180371630")]
	private ControllerDevice GetControllerDevice(InputDevice device)
	{
		string layout;
		for (;;)
		{
			layout = device.layout;
			if (layout == 0)
			{
				return ControllerDevice.Xbox;
			}
			if (string.Equals(layout, "SwitchProControllerHID"))
			{
				break;
			}
			if (string.Equals(layout, "DualShock4GamepadHID"))
			{
				return ControllerDevice.Playstation4;
			}
			if (!string.Equals(layout, "DualSenseGamepadHID"))
			{
				goto Block_3;
			}
		}
		return ControllerDevice.NintendoSwitch;
		Block_3:
		bool flag = string.Equals(layout, "XInputControllerWindows");
		return ControllerDevice.Xbox;
	}

	// Token: 0x0600120B RID: 4619 RVA: 0x00029650 File Offset: 0x00027850
	[Token(Token = "0x600120B")]
	[Address(RVA = "0x372CD0", Offset = "0x371CD0", VA = "0x180372CD0")]
	public void SwitchActionMap(string actionMapName)
	{
		this.playerInput.SwitchCurrentActionMap(actionMapName);
		this.uiMovement.Cancel();
		if (string.Equals(actionMapName, "Gameplay"))
		{
			Action<bool> action = this.cursorStateChangedHandler;
			if (action != 0)
			{
				int num = 0;
				action(num);
			}
		}
		this.lastActionMap = actionMapName;
		throw new NullReferenceException();
	}

	// Token: 0x0600120C RID: 4620 RVA: 0x000296A4 File Offset: 0x000278A4
	[Token(Token = "0x600120C")]
	[Address(RVA = "0x370D20", Offset = "0x36FD20", VA = "0x180370D20")]
	public void ActivatePlayerInput()
	{
		this.playerInput.ActivateInput();
	}

	// Token: 0x0600120D RID: 4621 RVA: 0x000296C4 File Offset: 0x000278C4
	[Token(Token = "0x600120D")]
	[Address(RVA = "0x3711C0", Offset = "0x3701C0", VA = "0x1803711C0")]
	public void DeactivatePlayerInput()
	{
		this.playerInput.DeactivateInput();
	}

	// Token: 0x0600120E RID: 4622 RVA: 0x000296E4 File Offset: 0x000278E4
	[Token(Token = "0x600120E")]
	[Address(RVA = "0x3715A0", Offset = "0x3705A0", VA = "0x1803715A0")]
	public void EnablePauseMenuAction()
	{
		InputActionMap inputActionMap = this.gameplayActionMap;
		int num = 0;
		inputActionMap.FindAction("PauseMenu", num != 0).Enable();
		InputActionMap inputActionMap2 = this.uiControlActionMap;
		int num2 = 0;
		inputActionMap2.FindAction("PauseMenu", num2 != 0).Enable();
	}

	// Token: 0x0600120F RID: 4623 RVA: 0x0002972C File Offset: 0x0002792C
	[Token(Token = "0x600120F")]
	[Address(RVA = "0x371510", Offset = "0x370510", VA = "0x180371510")]
	public void DisablePauseMenuAction()
	{
		InputActionMap inputActionMap = this.gameplayActionMap;
		int num = 0;
		inputActionMap.FindAction("PauseMenu", num != 0).Disable();
		InputActionMap inputActionMap2 = this.uiControlActionMap;
		int num2 = 0;
		inputActionMap2.FindAction("PauseMenu", num2 != 0).Disable();
	}

	// Token: 0x06001210 RID: 4624 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001210")]
	[Address(RVA = "0x370D40", Offset = "0x36FD40", VA = "0x180370D40")]
	public void AddDeviceChangedHandler(Action<ControllerDevice> handler)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001211 RID: 4625 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001211")]
	[Address(RVA = "0x372BA0", Offset = "0x371BA0", VA = "0x180372BA0")]
	public void RemoveDeviceChangedHandler(Action<ControllerDevice> handler)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001212 RID: 4626 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001212")]
	[Address(RVA = "0x370ED0", Offset = "0x36FED0", VA = "0x180370ED0")]
	public void BindCursorStateChangedHandler(Action<bool> handler)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001213 RID: 4627 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001213")]
	[Address(RVA = "0x375D00", Offset = "0x374D00", VA = "0x180375D00")]
	public void UnbindCursorStateChangedHandler(Action<bool> handler)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001214 RID: 4628 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001214")]
	[Address(RVA = "0x370DE0", Offset = "0x36FDE0", VA = "0x180370DE0")]
	public void BindAnyKeyDownHandler(Action handler)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001215 RID: 4629 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001215")]
	[Address(RVA = "0x3711E0", Offset = "0x3701E0", VA = "0x1803711E0")]
	private void DetectAnyKeyDown(InputEventPtr eventPtr, InputDevice device)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001216 RID: 4630 RVA: 0x00029774 File Offset: 0x00027974
	[Token(Token = "0x6001216")]
	[Address(RVA = "0x376260", Offset = "0x375260", VA = "0x180376260")]
	public void UpdateSceneMenuController(ISceneMenuController controller)
	{
		/*
An exception occurred when decompiling this method (06001216)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void GameInputManager::UpdateSceneMenuController(ISceneMenuController)

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	stfld:ISceneMenuController(GameInputManager::sceneMenuController, ldloc:GameInputManager(this), ldloc:ISceneMenuController(controller)); }; 
   at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
   at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
   --- End of inner exception stack trace ---
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
   at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
*/;
	}

	// Token: 0x06001217 RID: 4631 RVA: 0x00029788 File Offset: 0x00027988
	[Token(Token = "0x6001217")]
	[Address(RVA = "0x376270", Offset = "0x375270", VA = "0x180376270")]
	public void UpdateStoryController(IStoryController controller)
	{
		/*
An exception occurred when decompiling this method (06001217)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void GameInputManager::UpdateStoryController(IStoryController)

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	stfld:IStoryController(GameInputManager::storyController, ldloc:GameInputManager(this), ldloc:IStoryController(controller)); }; 
   at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
   at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
   --- End of inner exception stack trace ---
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
   at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
*/;
	}

	// Token: 0x06001218 RID: 4632 RVA: 0x0002979C File Offset: 0x0002799C
	[Token(Token = "0x6001218")]
	[Address(RVA = "0x376280", Offset = "0x375280", VA = "0x180376280")]
	public void UpdateUIController(IUIController controller)
	{
		this.uiController = controller;
		UIMovementCalculator uimovementCalculator = this.uiMovement;
		IUIController iuicontroller = this.uiController;
		uimovementCalculator.UpdateUIController(iuicontroller);
	}

	// Token: 0x06001219 RID: 4633 RVA: 0x000297CC File Offset: 0x000279CC
	[Token(Token = "0x6001219")]
	[Address(RVA = "0x375DC0", Offset = "0x374DC0", VA = "0x180375DC0")]
	public void UpdateCharacterController(ICharacterController controller)
	{
		this.characterController = controller;
		CharacterMovementCalculator characterMovementCalculator = this.characterMovement;
		ICharacterController characterController = this.characterController;
		characterMovementCalculator.characterController = characterController;
		throw new NullReferenceException();
	}

	// Token: 0x0600121A RID: 4634 RVA: 0x000297FC File Offset: 0x000279FC
	[Token(Token = "0x600121A")]
	[Address(RVA = "0x366390", Offset = "0x365390", VA = "0x180366390")]
	public void UpdateMagicController(IMagicController controller)
	{
		/*
An exception occurred when decompiling this method (0600121A)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void GameInputManager::UpdateMagicController(IMagicController)

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	stfld:IMagicController(GameInputManager::magicController, ldloc:GameInputManager(this), ldloc:IMagicController(controller)); }; 
   at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
   at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
   --- End of inner exception stack trace ---
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
   at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
*/;
	}

	// Token: 0x0600121B RID: 4635 RVA: 0x00029810 File Offset: 0x00027A10
	[Token(Token = "0x600121B")]
	[Address(RVA = "0x369EF0", Offset = "0x368EF0", VA = "0x180369EF0")]
	public void UpdateItemController(IItemController controller)
	{
		/*
An exception occurred when decompiling this method (0600121B)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void GameInputManager::UpdateItemController(IItemController)

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	stfld:IItemController(GameInputManager::itemController, ldloc:GameInputManager(this), ldloc:IItemController(controller)); }; 
   at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
   at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
   --- End of inner exception stack trace ---
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
   at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
*/;
	}

	// Token: 0x0600121C RID: 4636 RVA: 0x00029824 File Offset: 0x00027A24
	[Token(Token = "0x600121C")]
	[Address(RVA = "0x3662A0", Offset = "0x3652A0", VA = "0x1803662A0")]
	public void BindPointerController(IPointerController controller)
	{
		/*
An exception occurred when decompiling this method (0600121C)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void GameInputManager::BindPointerController(IPointerController)

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	stfld:IPointerController(GameInputManager::pointerController, ldloc:GameInputManager(this), ldloc:IPointerController(controller)); }; 
   at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
   at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
   --- End of inner exception stack trace ---
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
   at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
*/;
	}

	// Token: 0x0600121D RID: 4637 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600121D")]
	[Address(RVA = "0x375DA0", Offset = "0x374DA0", VA = "0x180375DA0")]
	public void UnbindPointerController()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600121E RID: 4638 RVA: 0x00029838 File Offset: 0x00027A38
	[Token(Token = "0x600121E")]
	[Address(RVA = "0x375E10", Offset = "0x374E10", VA = "0x180375E10")]
	public void UpdateCursorData(Vector2 cursorPosition)
	{
		this.cursorPosition = cursorPosition;
	}

	// Token: 0x0600121F RID: 4639 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600121F")]
	[Address(RVA = "0x375E20", Offset = "0x374E20", VA = "0x180375E20")]
	public void UpdateCursorPosition()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001220 RID: 4640 RVA: 0x0002984C File Offset: 0x00027A4C
	[Token(Token = "0x6001220")]
	[Address(RVA = "0x375EB0", Offset = "0x374EB0", VA = "0x180375EB0")]
	public void UpdateInputBindings()
	{
		this.ModifyKeyboardMoveInputPath();
		this.ModifyStandardInputPath("CameraMode");
		this.ModifyKeyboardInputPath("Walk");
		this.ModifyStandardInputPath("Dash");
		this.ModifyStandardInputPath("Jump");
		this.ModifyStandardInputPath("Dodge");
		this.ModifyStandardInputPath("Interact");
		this.ModifyStandardInputPath("Attack");
		this.ModifyStandardInputPath("Chant");
		this.ModifyStandardInputPath("Aim");
		this.ModifyStandardInputPath("Shoot");
		this.ModifyStandardInputPath("MagicMenu");
		this.ModifyKeyboardInputPath("SecretMagic");
		this.ModifyKeyboardInputPath("IceMagic");
		this.ModifyKeyboardInputPath("FireMagic");
		this.ModifyKeyboardInputPath("ThunderMagic");
		this.ModifyGamepadInputPath("ItemLeftward");
		this.ModifyGamepadInputPath("ItemRightward");
		this.ModifyKeyboardInputPath("Item01");
		this.ModifyKeyboardInputPath("Item02");
		this.ModifyKeyboardInputPath("Item03");
		this.ModifyKeyboardInputPath("Item04");
		this.ModifyKeyboardInputPath("Item05");
		this.ModifyKeyboardInputPath("Item06");
		this.ModifyKeyboardInputPath("Item07");
		this.ModifyKeyboardInputPath("Item08");
		this.ModifyStandardInputPath("UseItem");
		this.ModifyStandardInputPath("DropItem");
	}

	// Token: 0x06001221 RID: 4641 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001221")]
	[Address(RVA = "0x371E60", Offset = "0x370E60", VA = "0x180371E60")]
	private void ModifyKeyboardMoveInputPath()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001222 RID: 4642 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001222")]
	[Address(RVA = "0x3723E0", Offset = "0x3713E0", VA = "0x1803723E0")]
	private void ModifyStandardInputPath(string actionName)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001223 RID: 4643 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001223")]
	[Address(RVA = "0x371CD0", Offset = "0x370CD0", VA = "0x180371CD0")]
	private void ModifyKeyboardInputPath(string actionName)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001224 RID: 4644 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001224")]
	[Address(RVA = "0x371B40", Offset = "0x370B40", VA = "0x180371B40")]
	private void ModifyGamepadInputPath(string actionName)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001225 RID: 4645 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001225")]
	[Address(RVA = "0x372AF0", Offset = "0x371AF0", VA = "0x180372AF0")]
	private void OverrideKeyBinding(InputAction inputAction, string overridePath)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001226 RID: 4646 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001226")]
	[Address(RVA = "0x372A40", Offset = "0x371A40", VA = "0x180372A40")]
	private void OverrideKeyBinding(InputAction inputAction, string overridePath, int bindingIndex)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001227 RID: 4647 RVA: 0x00029988 File Offset: 0x00027B88
	[Token(Token = "0x6001227")]
	[Address(RVA = "0x372780", Offset = "0x371780", VA = "0x180372780")]
	private void OnApplicationFocus(bool focus)
	{
		this.uiMovement.Cancel();
		GamepadVibration gamepadVibration = this.vibration;
		if (!focus)
		{
			gamepadVibration.PauseVibration();
			return;
		}
		gamepadVibration.ResumeVibration();
	}

	// Token: 0x06001228 RID: 4648 RVA: 0x000299C0 File Offset: 0x00027BC0
	[Token(Token = "0x6001228")]
	[Address(RVA = "0x3727F0", Offset = "0x3717F0", VA = "0x1803727F0")]
	private void OnApplicationQuit()
	{
		this.vibration.DisableVibration();
	}

	// Token: 0x06001229 RID: 4649 RVA: 0x000299E0 File Offset: 0x00027BE0
	[Token(Token = "0x6001229")]
	[Address(RVA = "0x3762D0", Offset = "0x3752D0", VA = "0x1803762D0")]
	public GameInputManager()
	{
		CharacterMovementCalculator characterMovementCalculator = new CharacterMovementCalculator();
		this.characterMovement = characterMovementCalculator;
		UIMovementCalculator uimovementCalculator = new UIMovementCalculator();
		this.uiMovement = uimovementCalculator;
		GamepadVibration gamepadVibration = new GamepadVibration();
		this.vibration = gamepadVibration;
		this.lastActionMap = "";
		base..ctor();
	}

	// Token: 0x0600122A RID: 4650 RVA: 0x00029A28 File Offset: 0x00027C28
	[Token(Token = "0x600122A")]
	[Address(RVA = "0x3751A0", Offset = "0x3741A0", VA = "0x1803751A0")]
	[CompilerGenerated]
	private void <Init>g__InitStageUIController|31_0()
	{
		InputActionMap inputActionMap = this.gameplayActionMap;
		int num = 0;
		InputAction inputAction = inputActionMap.FindAction("PauseMenu", num != 0);
		Action<InputAction.CallbackContext> action = delegate(InputAction.CallbackContext _)
		{
			if (this.sceneMenuController != 0)
			{
			}
		};
		inputAction.started += action;
		InputActionMap inputActionMap2 = this.uiControlActionMap;
		int num2 = 0;
		InputAction inputAction2 = inputActionMap2.FindAction("PauseMenu", num2 != 0);
		Action<InputAction.CallbackContext> action2 = delegate(InputAction.CallbackContext _)
		{
			if (this.sceneMenuController != 0)
			{
			}
		};
		inputAction2.started += action2;
	}

	// Token: 0x0600122D RID: 4653 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600122D")]
	[Address(RVA = "0x375580", Offset = "0x374580", VA = "0x180375580")]
	[CompilerGenerated]
	private void <Init>g__InitUIInputEvent|31_1()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001236 RID: 4662 RVA: 0x00029B78 File Offset: 0x00027D78
	[Token(Token = "0x6001236")]
	[Address(RVA = "0x373B30", Offset = "0x372B30", VA = "0x180373B30")]
	[CompilerGenerated]
	private void <Init>g__InitCharacterController|31_2()
	{
		InputActionMap inputActionMap = this.gameplayActionMap;
		int num = 0;
		InputAction inputAction = inputActionMap.FindAction("CharacterMovementUp", num != 0);
		Action<InputAction.CallbackContext> action = new Action(this.characterMovement.OnUpKeyPressed);
		inputAction.started += action;
		InputActionMap inputActionMap2 = this.gameplayActionMap;
		int num2 = 0;
		InputAction inputAction2 = inputActionMap2.FindAction("CharacterMovementUp", num2 != 0);
		Action<InputAction.CallbackContext> action2 = new Action(this.characterMovement.OnUpKeyPressed);
		inputAction2.canceled += action2;
		InputActionMap inputActionMap3 = this.gameplayActionMap;
		int num3 = 0;
		InputAction inputAction3 = inputActionMap3.FindAction("CharacterMovementDown", num3 != 0);
		Action<InputAction.CallbackContext> action3 = new Action(this.characterMovement.OnDownKeyPressed);
		inputAction3.started += action3;
		InputActionMap inputActionMap4 = this.gameplayActionMap;
		int num4 = 0;
		InputAction inputAction4 = inputActionMap4.FindAction("CharacterMovementDown", num4 != 0);
		Action<InputAction.CallbackContext> action4 = new Action(this.characterMovement.OnDownKeyPressed);
		inputAction4.canceled += action4;
		InputActionMap inputActionMap5 = this.gameplayActionMap;
		int num5 = 0;
		InputAction inputAction5 = inputActionMap5.FindAction("CharacterMovementLeft", num5 != 0);
		Action<InputAction.CallbackContext> action5 = new Action(this.characterMovement.OnLeftKeyPressed);
		inputAction5.started += action5;
		InputActionMap inputActionMap6 = this.gameplayActionMap;
		int num6 = 0;
		InputAction inputAction6 = inputActionMap6.FindAction("CharacterMovementLeft", num6 != 0);
		Action<InputAction.CallbackContext> action6 = new Action(this.characterMovement.OnLeftKeyPressed);
		inputAction6.canceled += action6;
		InputActionMap inputActionMap7 = this.gameplayActionMap;
		int num7 = 0;
		InputAction inputAction7 = inputActionMap7.FindAction("CharacterMovementRight", num7 != 0);
		Action<InputAction.CallbackContext> action7 = new Action(this.characterMovement.OnRightKeyPressed);
		inputAction7.started += action7;
		InputActionMap inputActionMap8 = this.gameplayActionMap;
		int num8 = 0;
		InputAction inputAction8 = inputActionMap8.FindAction("CharacterMovementRight", num8 != 0);
		Action<InputAction.CallbackContext> action8 = new Action(this.characterMovement.OnRightKeyPressed);
		inputAction8.canceled += action8;
		InputActionMap inputActionMap9 = this.gameplayActionMap;
		int num9 = 0;
		InputAction inputAction9 = inputActionMap9.FindAction("CharacterMovement", num9 != 0);
		Action<InputAction.CallbackContext> action9 = new Action(this.characterMovement.OnJoyStickChanged);
		inputAction9.performed += action9;
		InputActionMap inputActionMap10 = this.gameplayActionMap;
		int num10 = 0;
		InputAction inputAction10 = inputActionMap10.FindAction("CharacterMovement", num10 != 0);
		Action<InputAction.CallbackContext> action10 = new Action(this.characterMovement.OnJoyStickChanged);
		inputAction10.canceled += action10;
		InputActionMap inputActionMap11 = this.gameplayActionMap;
		int num11 = 0;
		InputAction inputAction11 = inputActionMap11.FindAction("PointerMovement", num11 != 0);
		Action<InputAction.CallbackContext> action11 = new Action(this.CalculatePointerMovement);
		inputAction11.performed += action11;
		InputActionMap inputActionMap12 = this.gameplayActionMap;
		int num12 = 0;
		InputAction inputAction12 = inputActionMap12.FindAction("PointerMovement", num12 != 0);
		Action<InputAction.CallbackContext> action12 = new Action(this.CalculatePointerMovement);
		inputAction12.canceled += action12;
		InputActionMap inputActionMap13 = this.gameplayActionMap;
		int num13 = 0;
		InputAction inputAction13 = inputActionMap13.FindAction("PointerMovementMouse", num13 != 0);
		Action<InputAction.CallbackContext> action13 = new Action(this.CalculatePointerMovementMouse);
		inputAction13.performed += action13;
		InputActionMap inputActionMap14 = this.gameplayActionMap;
		int num14 = 0;
		InputAction inputAction14 = inputActionMap14.FindAction("PointerMovementMouse", num14 != 0);
		Action<InputAction.CallbackContext> action14 = new Action(this.CalculatePointerMovementMouse);
		inputAction14.canceled += action14;
		InputActionMap inputActionMap15 = this.gameplayActionMap;
		int num15 = 0;
		InputAction inputAction15 = inputActionMap15.FindAction("CameraMode", num15 != 0);
		Action<InputAction.CallbackContext> action15 = delegate(InputAction.CallbackContext _)
		{
			if (this.characterController != 0)
			{
			}
		};
		inputAction15.started += action15;
		InputActionMap inputActionMap16 = this.gameplayActionMap;
		int num16 = 0;
		InputAction inputAction16 = inputActionMap16.FindAction("Jump", num16 != 0);
		Action<InputAction.CallbackContext> action16 = delegate(InputAction.CallbackContext _)
		{
			if (this.characterController != 0)
			{
			}
		};
		inputAction16.started += action16;
		InputActionMap inputActionMap17 = this.gameplayActionMap;
		int num17 = 0;
		InputAction inputAction17 = inputActionMap17.FindAction("Dodge", num17 != 0);
		Action<InputAction.CallbackContext> action17 = delegate(InputAction.CallbackContext _)
		{
			if (this.characterController != 0)
			{
			}
		};
		inputAction17.started += action17;
		InputActionMap inputActionMap18 = this.gameplayActionMap;
		int num18 = 0;
		InputAction inputAction18 = inputActionMap18.FindAction("Interact", num18 != 0);
		Action<InputAction.CallbackContext> action18 = delegate(InputAction.CallbackContext _)
		{
			if (this.characterController != 0)
			{
			}
		};
		inputAction18.started += action18;
		InputActionMap inputActionMap19 = this.gameplayActionMap;
		int num19 = 0;
		InputAction inputAction19 = inputActionMap19.FindAction("Attack", num19 != 0);
		Action<InputAction.CallbackContext> action19 = delegate(InputAction.CallbackContext _)
		{
			if (this.characterController != 0)
			{
			}
		};
		inputAction19.started += action19;
		InputActionMap inputActionMap20 = this.gameplayActionMap;
		int num20 = 0;
		InputAction inputAction20 = inputActionMap20.FindAction("Chant", num20 != 0);
		Action<InputAction.CallbackContext> action20 = delegate(InputAction.CallbackContext _)
		{
			if (this.characterController != 0)
			{
			}
		};
		inputAction20.started += action20;
		InputActionMap inputActionMap21 = this.gameplayActionMap;
		int num21 = 0;
		InputAction inputAction21 = inputActionMap21.FindAction("Walk", num21 != 0);
		Action<InputAction.CallbackContext> action21 = delegate(InputAction.CallbackContext _)
		{
			if (this.characterController != 0)
			{
			}
		};
		inputAction21.started += action21;
		InputActionMap inputActionMap22 = this.gameplayActionMap;
		int num22 = 0;
		InputAction inputAction22 = inputActionMap22.FindAction("Walk", num22 != 0);
		Action<InputAction.CallbackContext> action22 = delegate(InputAction.CallbackContext _)
		{
			if (this.characterController != 0)
			{
			}
		};
		inputAction22.canceled += action22;
		InputActionMap inputActionMap23 = this.gameplayActionMap;
		int num23 = 0;
		InputAction inputAction23 = inputActionMap23.FindAction("Dash", num23 != 0);
		Action<InputAction.CallbackContext> action23 = delegate(InputAction.CallbackContext _)
		{
			if (this.characterController != 0)
			{
			}
		};
		inputAction23.started += action23;
		InputActionMap inputActionMap24 = this.gameplayActionMap;
		int num24 = 0;
		InputAction inputAction24 = inputActionMap24.FindAction("Dash", num24 != 0);
		Action<InputAction.CallbackContext> action24 = delegate(InputAction.CallbackContext _)
		{
			if (this.characterController != 0)
			{
			}
		};
		inputAction24.canceled += action24;
		InputActionMap inputActionMap25 = this.gameplayActionMap;
		int num25 = 0;
		InputAction inputAction25 = inputActionMap25.FindAction("Aim", num25 != 0);
		Action<InputAction.CallbackContext> action25 = delegate(InputAction.CallbackContext _)
		{
			if (this.characterController != 0)
			{
			}
		};
		inputAction25.started += action25;
		InputActionMap inputActionMap26 = this.gameplayActionMap;
		int num26 = 0;
		InputAction inputAction26 = inputActionMap26.FindAction("Aim", num26 != 0);
		Action<InputAction.CallbackContext> action26 = delegate(InputAction.CallbackContext _)
		{
			if (this.characterController != 0)
			{
			}
		};
		inputAction26.canceled += action26;
		InputActionMap inputActionMap27 = this.gameplayActionMap;
		int num27 = 0;
		InputAction inputAction27 = inputActionMap27.FindAction("Shoot", num27 != 0);
		Action<InputAction.CallbackContext> action27 = delegate(InputAction.CallbackContext _)
		{
			if (this.characterController != 0)
			{
			}
		};
		inputAction27.started += action27;
		InputActionMap inputActionMap28 = this.gameplayActionMap;
		int num28 = 0;
		InputAction inputAction28 = inputActionMap28.FindAction("Shoot", num28 != 0);
		Action<InputAction.CallbackContext> action28 = delegate(InputAction.CallbackContext _)
		{
			if (this.characterController != 0)
			{
			}
		};
		inputAction28.canceled += action28;
	}

	// Token: 0x06001245 RID: 4677 RVA: 0x0002A280 File Offset: 0x00028480
	[Token(Token = "0x6001245")]
	[Address(RVA = "0x374E80", Offset = "0x373E80", VA = "0x180374E80")]
	[CompilerGenerated]
	private void <Init>g__InitMagicController|31_3()
	{
		InputActionMap inputActionMap = this.gameplayActionMap;
		int num = 0;
		InputAction inputAction = inputActionMap.FindAction("MagicMenu", num != 0);
		Action<InputAction.CallbackContext> action = delegate(InputAction.CallbackContext _)
		{
			if (this.magicController != 0)
			{
			}
		};
		inputAction.started += action;
		InputActionMap inputActionMap2 = this.gameplayActionMap;
		int num2 = 0;
		InputAction inputAction2 = inputActionMap2.FindAction("MagicMenu", num2 != 0);
		Action<InputAction.CallbackContext> action2 = delegate(InputAction.CallbackContext _)
		{
			if (this.magicController != 0)
			{
			}
		};
		inputAction2.canceled += action2;
		InputActionMap inputActionMap3 = this.gameplayActionMap;
		int num3 = 0;
		InputAction inputAction3 = inputActionMap3.FindAction("SecretMagic", num3 != 0);
		Action<InputAction.CallbackContext> action3 = delegate(InputAction.CallbackContext _)
		{
			if (this.magicController != 0)
			{
			}
		};
		inputAction3.started += action3;
		InputActionMap inputActionMap4 = this.gameplayActionMap;
		int num4 = 0;
		InputAction inputAction4 = inputActionMap4.FindAction("IceMagic", num4 != 0);
		Action<InputAction.CallbackContext> action4 = delegate(InputAction.CallbackContext _)
		{
			if (this.magicController != 0)
			{
			}
		};
		inputAction4.started += action4;
		InputActionMap inputActionMap5 = this.gameplayActionMap;
		int num5 = 0;
		InputAction inputAction5 = inputActionMap5.FindAction("FireMagic", num5 != 0);
		Action<InputAction.CallbackContext> action5 = delegate(InputAction.CallbackContext _)
		{
			if (this.magicController != 0)
			{
			}
		};
		inputAction5.started += action5;
		InputActionMap inputActionMap6 = this.gameplayActionMap;
		int num6 = 0;
		InputAction inputAction6 = inputActionMap6.FindAction("ThunderMagic", num6 != 0);
		Action<InputAction.CallbackContext> action6 = delegate(InputAction.CallbackContext _)
		{
			if (this.magicController != 0)
			{
			}
		};
		inputAction6.started += action6;
	}

	// Token: 0x0600124C RID: 4684 RVA: 0x0002A448 File Offset: 0x00028648
	[Token(Token = "0x600124C")]
	[Address(RVA = "0x374810", Offset = "0x373810", VA = "0x180374810")]
	[CompilerGenerated]
	private void <Init>g__InitItemController|31_4()
	{
		InputActionMap inputActionMap = this.gameplayActionMap;
		int num = 0;
		InputAction inputAction = inputActionMap.FindAction("ItemWheel", num != 0);
		Action<InputAction.CallbackContext> action = new Action(this.CalculateItemSelectionInput);
		inputAction.started += action;
		InputActionMap inputActionMap2 = this.gameplayActionMap;
		int num2 = 0;
		InputAction inputAction2 = inputActionMap2.FindAction("ItemLeftward", num2 != 0);
		Action<InputAction.CallbackContext> action2 = delegate(InputAction.CallbackContext _)
		{
			if (this.itemController != 0)
			{
			}
		};
		inputAction2.started += action2;
		InputActionMap inputActionMap3 = this.gameplayActionMap;
		int num3 = 0;
		InputAction inputAction3 = inputActionMap3.FindAction("ItemRightward", num3 != 0);
		Action<InputAction.CallbackContext> action3 = delegate(InputAction.CallbackContext _)
		{
			if (this.itemController != 0)
			{
			}
		};
		inputAction3.started += action3;
		InputActionMap inputActionMap4 = this.gameplayActionMap;
		int num4 = 0;
		InputAction inputAction4 = inputActionMap4.FindAction("Item01", num4 != 0);
		Action<InputAction.CallbackContext> action4 = delegate(InputAction.CallbackContext _)
		{
			if (this.itemController != 0)
			{
			}
		};
		inputAction4.started += action4;
		InputActionMap inputActionMap5 = this.gameplayActionMap;
		int num5 = 0;
		InputAction inputAction5 = inputActionMap5.FindAction("Item02", num5 != 0);
		Action<InputAction.CallbackContext> action5 = delegate(InputAction.CallbackContext _)
		{
			if (this.itemController != 0)
			{
			}
		};
		inputAction5.started += action5;
		InputActionMap inputActionMap6 = this.gameplayActionMap;
		int num6 = 0;
		InputAction inputAction6 = inputActionMap6.FindAction("Item03", num6 != 0);
		Action<InputAction.CallbackContext> action6 = delegate(InputAction.CallbackContext _)
		{
			if (this.itemController != 0)
			{
			}
		};
		inputAction6.started += action6;
		InputActionMap inputActionMap7 = this.gameplayActionMap;
		int num7 = 0;
		InputAction inputAction7 = inputActionMap7.FindAction("Item04", num7 != 0);
		Action<InputAction.CallbackContext> action7 = delegate(InputAction.CallbackContext _)
		{
			if (this.itemController != 0)
			{
			}
		};
		inputAction7.started += action7;
		InputActionMap inputActionMap8 = this.gameplayActionMap;
		int num8 = 0;
		InputAction inputAction8 = inputActionMap8.FindAction("Item05", num8 != 0);
		Action<InputAction.CallbackContext> action8 = delegate(InputAction.CallbackContext _)
		{
			if (this.itemController != 0)
			{
			}
		};
		inputAction8.started += action8;
		InputActionMap inputActionMap9 = this.gameplayActionMap;
		int num9 = 0;
		InputAction inputAction9 = inputActionMap9.FindAction("Item06", num9 != 0);
		Action<InputAction.CallbackContext> action9 = delegate(InputAction.CallbackContext _)
		{
			if (this.itemController != 0)
			{
			}
		};
		inputAction9.started += action9;
		InputActionMap inputActionMap10 = this.gameplayActionMap;
		int num10 = 0;
		InputAction inputAction10 = inputActionMap10.FindAction("Item07", num10 != 0);
		Action<InputAction.CallbackContext> action10 = delegate(InputAction.CallbackContext _)
		{
			if (this.itemController != 0)
			{
			}
		};
		inputAction10.started += action10;
		InputActionMap inputActionMap11 = this.gameplayActionMap;
		int num11 = 0;
		InputAction inputAction11 = inputActionMap11.FindAction("Item08", num11 != 0);
		Action<InputAction.CallbackContext> action11 = delegate(InputAction.CallbackContext _)
		{
			if (this.itemController != 0)
			{
			}
		};
		inputAction11.started += action11;
		InputActionMap inputActionMap12 = this.gameplayActionMap;
		int num12 = 0;
		InputAction inputAction12 = inputActionMap12.FindAction("UseItem", num12 != 0);
		Action<InputAction.CallbackContext> action12 = delegate(InputAction.CallbackContext _)
		{
			if (this.itemController != 0)
			{
			}
		};
		inputAction12.started += action12;
		InputActionMap inputActionMap13 = this.gameplayActionMap;
		int num13 = 0;
		InputAction inputAction13 = inputActionMap13.FindAction("DropItem", num13 != 0);
		Action<InputAction.CallbackContext> action13 = delegate(InputAction.CallbackContext _)
		{
			if (this.itemController != 0)
			{
			}
		};
		inputAction13.started += action13;
	}

	// Token: 0x06001259 RID: 4697 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001259")]
	[Address(RVA = "0x3752D0", Offset = "0x3742D0", VA = "0x1803752D0")]
	[CompilerGenerated]
	private void <Init>g__InitStoryController|31_5()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x04001C9B RID: 7323
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4001C9B")]
	[SerializeField]
	private ControllerDevice currentDevice;

	// Token: 0x04001C9C RID: 7324
	[FieldOffset(Offset = "0x1C")]
	[Token(Token = "0x4001C9C")]
	[SerializeField]
	private ControllerDevice lastGamepadController;

	// Token: 0x04001C9D RID: 7325
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4001C9D")]
	private IUIController uiController;

	// Token: 0x04001C9E RID: 7326
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x4001C9E")]
	private ICharacterController characterController;

	// Token: 0x04001C9F RID: 7327
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x4001C9F")]
	private IMagicController magicController;

	// Token: 0x04001CA0 RID: 7328
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x4001CA0")]
	private IItemController itemController;

	// Token: 0x04001CA1 RID: 7329
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x4001CA1")]
	private ISceneMenuController sceneMenuController;

	// Token: 0x04001CA2 RID: 7330
	[FieldOffset(Offset = "0x48")]
	[Token(Token = "0x4001CA2")]
	private IStoryController storyController;

	// Token: 0x04001CA3 RID: 7331
	[FieldOffset(Offset = "0x50")]
	[Token(Token = "0x4001CA3")]
	private IPointerController pointerController;

	// Token: 0x04001CA4 RID: 7332
	[FieldOffset(Offset = "0x58")]
	[Token(Token = "0x4001CA4")]
	private PlayerInput playerInput;

	// Token: 0x04001CA5 RID: 7333
	[FieldOffset(Offset = "0x60")]
	[Token(Token = "0x4001CA5")]
	private InputActionMap gameplayActionMap;

	// Token: 0x04001CA6 RID: 7334
	[FieldOffset(Offset = "0x68")]
	[Token(Token = "0x4001CA6")]
	private InputActionMap uiControlActionMap;

	// Token: 0x04001CA7 RID: 7335
	[FieldOffset(Offset = "0x70")]
	[Token(Token = "0x4001CA7")]
	private InputActionMap storyActionMap;

	// Token: 0x04001CA8 RID: 7336
	[FieldOffset(Offset = "0x78")]
	[Token(Token = "0x4001CA8")]
	private CharacterMovementCalculator characterMovement;

	// Token: 0x04001CA9 RID: 7337
	[FieldOffset(Offset = "0x80")]
	[Token(Token = "0x4001CA9")]
	private UIMovementCalculator uiMovement;

	// Token: 0x04001CAA RID: 7338
	[FieldOffset(Offset = "0x88")]
	[Token(Token = "0x4001CAA")]
	private GamepadVibration vibration;

	// Token: 0x04001CAD RID: 7341
	[FieldOffset(Offset = "0xA0")]
	[Token(Token = "0x4001CAD")]
	private Vector2 cursorPosition;

	// Token: 0x04001CAE RID: 7342
	[FieldOffset(Offset = "0xA8")]
	[Token(Token = "0x4001CAE")]
	private Action anyKeyDownHandler;

	// Token: 0x04001CAF RID: 7343
	[FieldOffset(Offset = "0xB0")]
	[Token(Token = "0x4001CAF")]
	private string lastActionMap;
}
