using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using UnityFusion.CLR.TypeSystem; using UnityFusion.CLR.Method; using UnityFusion.Runtime.Enviorment; using UnityFusion.Runtime.Intepreter; using UnityFusion.Runtime.Stack; using UnityFusion.Reflection; using UnityFusion.CLR.Utils; #if DEBUG && !DISABLE_UNITYFUSION_DEBUG using AutoList = System.Collections.Generic.List; #else using AutoList = UnityFusion.Other.UncheckedList; #endif namespace UnityFusion.Runtime.Generated { unsafe class UnityEngine_InputSystem_InputControlPath_Binding { public static void Register(UnityFusion.Runtime.Enviorment.AppDomain app) { BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly; MethodBase method; FieldInfo field; Type[] args; Type type = typeof(UnityEngine.InputSystem.InputControlPath); MethodInfo[] methods = type.GetMethods(flag).Where(t => !t.IsGenericMethod).ToArray(); args = new Type[]{typeof(UnityEngine.InputSystem.InputControl), typeof(System.String)}; method = type.GetMethod("Combine", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Combine_0); args = new Type[]{typeof(System.String), typeof(UnityEngine.InputSystem.InputControlPath.HumanReadableStringOptions), typeof(UnityEngine.InputSystem.InputControl)}; method = type.GetMethod("ToHumanReadableString", flag, null, args, null); app.RegisterCLRMethodRedirection(method, ToHumanReadableString_1); args = new Type[]{typeof(System.String), typeof(System.String).MakeByRefType(), typeof(System.String).MakeByRefType(), typeof(UnityEngine.InputSystem.InputControlPath.HumanReadableStringOptions), typeof(UnityEngine.InputSystem.InputControl)}; method = type.GetMethod("ToHumanReadableString", flag, null, args, null); app.RegisterCLRMethodRedirection(method, ToHumanReadableString_2); args = new Type[]{typeof(System.String)}; method = type.GetMethod("TryGetDeviceUsages", flag, null, args, null); app.RegisterCLRMethodRedirection(method, TryGetDeviceUsages_3); args = new Type[]{typeof(System.String)}; method = type.GetMethod("TryGetDeviceLayout", flag, null, args, null); app.RegisterCLRMethodRedirection(method, TryGetDeviceLayout_4); args = new Type[]{typeof(System.String)}; method = type.GetMethod("TryGetControlLayout", flag, null, args, null); app.RegisterCLRMethodRedirection(method, TryGetControlLayout_5); args = new Type[]{typeof(UnityEngine.InputSystem.InputControl), typeof(System.String), typeof(System.Int32)}; method = methods.Where(t => t.Name.Equals("TryFindControl") && t.CheckMethodParams(args)).Single(); app.RegisterCLRMethodRedirection(method, TryFindControl_6); args = new Type[]{typeof(UnityEngine.InputSystem.InputControl), typeof(System.String), typeof(System.Int32)}; method = type.GetMethod("TryFindControls", flag, null, args, null); app.RegisterCLRMethodRedirection(method, TryFindControls_7); args = new Type[]{typeof(UnityEngine.InputSystem.InputControl), typeof(System.String), typeof(UnityEngine.InputSystem.InputControlList).MakeByRefType(), typeof(System.Int32)}; method = type.GetMethod("TryFindControls", flag, null, args, null); app.RegisterCLRMethodRedirection(method, TryFindControls_8); args = new Type[]{typeof(UnityEngine.InputSystem.InputControl), typeof(System.String), typeof(System.Int32)}; method = methods.Where(t => t.Name.Equals("TryFindChild") && t.CheckMethodParams(args)).Single(); app.RegisterCLRMethodRedirection(method, TryFindChild_9); args = new Type[]{typeof(System.String), typeof(UnityEngine.InputSystem.InputControl)}; method = type.GetMethod("Matches", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Matches_10); args = new Type[]{typeof(System.String), typeof(UnityEngine.InputSystem.InputControl)}; method = type.GetMethod("MatchesPrefix", flag, null, args, null); app.RegisterCLRMethodRedirection(method, MatchesPrefix_11); args = new Type[]{typeof(System.String)}; method = type.GetMethod("Parse", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Parse_12); field = type.GetField("Wildcard", flag); app.RegisterCLRFieldGetter(field, get_Wildcard_0); app.RegisterCLRFieldBinding(field, CopyToStack_Wildcard_0, null); field = type.GetField("DoubleWildcard", flag); app.RegisterCLRFieldGetter(field, get_DoubleWildcard_1); app.RegisterCLRFieldBinding(field, CopyToStack_DoubleWildcard_1, null); field = type.GetField("Separator", flag); app.RegisterCLRFieldGetter(field, get_Separator_2); app.RegisterCLRFieldBinding(field, CopyToStack_Separator_2, null); } static StackObject* Combine_0(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.String @path = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.InputSystem.InputControl @parent = (UnityEngine.InputSystem.InputControl)typeof(UnityEngine.InputSystem.InputControl).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = UnityEngine.InputSystem.InputControlPath.Combine(@parent, @path); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* ToHumanReadableString_1(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputControl @control = (UnityEngine.InputSystem.InputControl)typeof(UnityEngine.InputSystem.InputControl).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.InputSystem.InputControlPath.HumanReadableStringOptions @options = (UnityEngine.InputSystem.InputControlPath.HumanReadableStringOptions)typeof(UnityEngine.InputSystem.InputControlPath.HumanReadableStringOptions).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); System.String @path = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = UnityEngine.InputSystem.InputControlPath.ToHumanReadableString(@path, @options, @control); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* ToHumanReadableString_2(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 5); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputControl @control = (UnityEngine.InputSystem.InputControl)typeof(UnityEngine.InputSystem.InputControl).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.InputSystem.InputControlPath.HumanReadableStringOptions @options = (UnityEngine.InputSystem.InputControlPath.HumanReadableStringOptions)typeof(UnityEngine.InputSystem.InputControlPath.HumanReadableStringOptions).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); System.String @controlPath = (System.String)typeof(System.String).CheckCLRTypes(__intp.RetriveObject(ptr_of_this_method, __mStack), (CLR.Utils.Extensions.TypeFlags)0); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); System.String @deviceLayoutName = (System.String)typeof(System.String).CheckCLRTypes(__intp.RetriveObject(ptr_of_this_method, __mStack), (CLR.Utils.Extensions.TypeFlags)0); ptr_of_this_method = ILIntepreter.Minus(__esp, 5); System.String @path = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); var result_of_this_method = UnityEngine.InputSystem.InputControlPath.ToHumanReadableString(@path, out @deviceLayoutName, out @controlPath, @options, @control); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); __intp.FreeStackValueType(ptr_of_this_method); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); switch(ptr_of_this_method->ObjectType) { case ObjectTypes.StackObjectReference: { var ___dst = ILIntepreter.ResolveReference(ptr_of_this_method); object ___obj = @controlPath; if (___dst->ObjectType >= ObjectTypes.Object) { if (___obj is CrossBindingAdaptorType) ___obj = ((CrossBindingAdaptorType)___obj).ILInstance; __mStack[___dst->Value] = ___obj; } else { ILIntepreter.UnboxObject(___dst, ___obj, __mStack, __domain); } } break; case ObjectTypes.FieldReference: { var ___obj = __mStack[ptr_of_this_method->Value]; if(___obj is ILTypeInstance) { ((ILTypeInstance)___obj)[ptr_of_this_method->ValueLow] = @controlPath; } else { var ___type = __domain.GetType(___obj.GetType()) as CLRType; ___type.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, @controlPath); } } break; case ObjectTypes.StaticFieldReference: { var ___type = __domain.GetType(ptr_of_this_method->Value); if(___type is ILType) { ((ILType)___type).StaticInstance[ptr_of_this_method->ValueLow] = @controlPath; } else { ((CLRType)___type).SetStaticFieldValue(ptr_of_this_method->ValueLow, @controlPath); } } break; case ObjectTypes.ArrayReference: { var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as System.String[]; instance_of_arrayReference[ptr_of_this_method->ValueLow] = @controlPath; } break; } __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); switch(ptr_of_this_method->ObjectType) { case ObjectTypes.StackObjectReference: { var ___dst = ILIntepreter.ResolveReference(ptr_of_this_method); object ___obj = @deviceLayoutName; if (___dst->ObjectType >= ObjectTypes.Object) { if (___obj is CrossBindingAdaptorType) ___obj = ((CrossBindingAdaptorType)___obj).ILInstance; __mStack[___dst->Value] = ___obj; } else { ILIntepreter.UnboxObject(___dst, ___obj, __mStack, __domain); } } break; case ObjectTypes.FieldReference: { var ___obj = __mStack[ptr_of_this_method->Value]; if(___obj is ILTypeInstance) { ((ILTypeInstance)___obj)[ptr_of_this_method->ValueLow] = @deviceLayoutName; } else { var ___type = __domain.GetType(___obj.GetType()) as CLRType; ___type.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, @deviceLayoutName); } } break; case ObjectTypes.StaticFieldReference: { var ___type = __domain.GetType(ptr_of_this_method->Value); if(___type is ILType) { ((ILType)___type).StaticInstance[ptr_of_this_method->ValueLow] = @deviceLayoutName; } else { ((CLRType)___type).SetStaticFieldValue(ptr_of_this_method->ValueLow, @deviceLayoutName); } } break; case ObjectTypes.ArrayReference: { var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as System.String[]; instance_of_arrayReference[ptr_of_this_method->ValueLow] = @deviceLayoutName; } break; } __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 5); __intp.Free(ptr_of_this_method); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* TryGetDeviceUsages_3(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.String @path = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = UnityEngine.InputSystem.InputControlPath.TryGetDeviceUsages(@path); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* TryGetDeviceLayout_4(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.String @path = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = UnityEngine.InputSystem.InputControlPath.TryGetDeviceLayout(@path); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* TryGetControlLayout_5(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.String @path = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = UnityEngine.InputSystem.InputControlPath.TryGetControlLayout(@path); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* TryFindControl_6(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Int32 @indexInPath = ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.String @path = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.InputSystem.InputControl @control = (UnityEngine.InputSystem.InputControl)typeof(UnityEngine.InputSystem.InputControl).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = UnityEngine.InputSystem.InputControlPath.TryFindControl(@control, @path, @indexInPath); object obj_result_of_this_method = result_of_this_method; if(obj_result_of_this_method is CrossBindingAdaptorType) { return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance); } return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* TryFindControls_7(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Int32 @indexInPath = ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.String @path = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.InputSystem.InputControl @control = (UnityEngine.InputSystem.InputControl)typeof(UnityEngine.InputSystem.InputControl).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = UnityEngine.InputSystem.InputControlPath.TryFindControls(@control, @path, @indexInPath); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* TryFindControls_8(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 4); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Int32 @indexInPath = ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.InputSystem.InputControlList @matches = (UnityEngine.InputSystem.InputControlList)typeof(UnityEngine.InputSystem.InputControlList).CheckCLRTypes(__intp.RetriveObject(ptr_of_this_method, __mStack), (CLR.Utils.Extensions.TypeFlags)16); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); System.String @path = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.InputSystem.InputControl @control = (UnityEngine.InputSystem.InputControl)typeof(UnityEngine.InputSystem.InputControl).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); var result_of_this_method = UnityEngine.InputSystem.InputControlPath.TryFindControls(@control, @path, ref @matches, @indexInPath); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); switch(ptr_of_this_method->ObjectType) { case ObjectTypes.StackObjectReference: { var ___dst = ILIntepreter.ResolveReference(ptr_of_this_method); object ___obj = @matches; if (___dst->ObjectType >= ObjectTypes.Object) { if (___obj is CrossBindingAdaptorType) ___obj = ((CrossBindingAdaptorType)___obj).ILInstance; __mStack[___dst->Value] = ___obj; } else { ILIntepreter.UnboxObject(___dst, ___obj, __mStack, __domain); } } break; case ObjectTypes.FieldReference: { var ___obj = __mStack[ptr_of_this_method->Value]; if(___obj is ILTypeInstance) { ((ILTypeInstance)___obj)[ptr_of_this_method->ValueLow] = @matches; } else { var ___type = __domain.GetType(___obj.GetType()) as CLRType; ___type.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, @matches); } } break; case ObjectTypes.StaticFieldReference: { var ___type = __domain.GetType(ptr_of_this_method->Value); if(___type is ILType) { ((ILType)___type).StaticInstance[ptr_of_this_method->ValueLow] = @matches; } else { ((CLRType)___type).SetStaticFieldValue(ptr_of_this_method->ValueLow, @matches); } } break; case ObjectTypes.ArrayReference: { var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as UnityEngine.InputSystem.InputControlList[]; instance_of_arrayReference[ptr_of_this_method->ValueLow] = @matches; } break; } __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); __intp.Free(ptr_of_this_method); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* TryFindChild_9(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Int32 @indexInPath = ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.String @path = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.InputSystem.InputControl @control = (UnityEngine.InputSystem.InputControl)typeof(UnityEngine.InputSystem.InputControl).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = UnityEngine.InputSystem.InputControlPath.TryFindChild(@control, @path, @indexInPath); object obj_result_of_this_method = result_of_this_method; if(obj_result_of_this_method is CrossBindingAdaptorType) { return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance); } return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* Matches_10(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputControl @control = (UnityEngine.InputSystem.InputControl)typeof(UnityEngine.InputSystem.InputControl).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.String @expected = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = UnityEngine.InputSystem.InputControlPath.Matches(@expected, @control); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* MatchesPrefix_11(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.InputSystem.InputControl @control = (UnityEngine.InputSystem.InputControl)typeof(UnityEngine.InputSystem.InputControl).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.String @expected = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = UnityEngine.InputSystem.InputControlPath.MatchesPrefix(@expected, @control); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* Parse_12(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.String @path = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = UnityEngine.InputSystem.InputControlPath.Parse(@path); object obj_result_of_this_method = result_of_this_method; if(obj_result_of_this_method is CrossBindingAdaptorType) { return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance); } return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static object get_Wildcard_0(ref object o) { return UnityEngine.InputSystem.InputControlPath.Wildcard; } static StackObject* CopyToStack_Wildcard_0(ref object o, ILIntepreter __intp, StackObject* __ret, AutoList __mStack) { var result_of_this_method = UnityEngine.InputSystem.InputControlPath.Wildcard; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static object get_DoubleWildcard_1(ref object o) { return UnityEngine.InputSystem.InputControlPath.DoubleWildcard; } static StackObject* CopyToStack_DoubleWildcard_1(ref object o, ILIntepreter __intp, StackObject* __ret, AutoList __mStack) { var result_of_this_method = UnityEngine.InputSystem.InputControlPath.DoubleWildcard; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static object get_Separator_2(ref object o) { return UnityEngine.InputSystem.InputControlPath.Separator; } static StackObject* CopyToStack_Separator_2(ref object o, ILIntepreter __intp, StackObject* __ret, AutoList __mStack) { var result_of_this_method = UnityEngine.InputSystem.InputControlPath.Separator; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = (int)result_of_this_method; return __ret + 1; } } }