using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Text.Json.Serialization;
using GDWeave;
using GDWeave.Godot;
using GDWeave.Godot.Variants;
using GDWeave.Modding;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(/*Could not decode attribute arguments.*/)]
[assembly: TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
[assembly: AssemblyCompany("BetterFirstPerson")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0+0b611f36260659669f5a71de8dfdd25019114c87")]
[assembly: AssemblyProduct("BetterFirstPerson")]
[assembly: AssemblyTitle("BetterFirstPerson")]
[assembly: AssemblyVersion("1.0.0.0")]
[module: RefSafetyRules(11)]
namespace BetterFirstPerson;
public class BetterFirstPersonMod : IMod, global::System.IDisposable
{
public Config Config;
public BetterFirstPersonMod(IModInterface modInterface)
{
Config = modInterface.ReadConfig<Config>();
modInterface.Logger.Information("[Better First Person] silliness successfully enhanced :3");
modInterface.RegisterScriptMod((IScriptMod)(object)new PlayerPatch(this));
}
public void Dispose()
{
}
}
public class Config
{
[JsonInclude]
public bool UseBendingInstead;
}
public class PlayerPatch : IScriptMod
{
[CompilerGenerated]
private sealed class <Modify>d__3 : global::System.Collections.Generic.IEnumerable<Token>, global::System.Collections.IEnumerable, global::System.Collections.Generic.IEnumerator<Token>, global::System.Collections.IEnumerator, global::System.IDisposable
{
private int <>1__state;
private Token <>2__current;
private int <>l__initialThreadId;
private global::System.Collections.Generic.IEnumerable<Token> tokens;
public global::System.Collections.Generic.IEnumerable<Token> <>3__tokens;
public PlayerPatch <>4__this;
private MultiTokenWaiter <waiterFollow>5__2;
private MultiTokenWaiter <waiterAnimationData>5__3;
private MultiTokenWaiter <waiterDisableLeftRightAutoRotate>5__4;
private MultiTokenWaiter <waiterDisableLeftRightAutoRotate2>5__5;
private MultiTokenWaiter <waiterZoomUpdate>5__6;
private global::System.Collections.Generic.IEnumerator<Token> <>7__wrap6;
private Token <token>5__8;
private string <animationType>5__9;
Token global::System.Collections.Generic.IEnumerator<Token>.Current
{
[DebuggerHidden]
get
{
return <>2__current;
}
}
object global::System.Collections.IEnumerator.Current
{
[DebuggerHidden]
get
{
return <>2__current;
}
}
[DebuggerHidden]
public <Modify>d__3(int <>1__state)
{
this.<>1__state = <>1__state;
<>l__initialThreadId = Environment.CurrentManagedThreadId;
}
[DebuggerHidden]
void global::System.IDisposable.Dispose()
{
int num = <>1__state;
if (num == -3 || (uint)(num - 1) <= 246u)
{
try
{
}
finally
{
<>m__Finally1();
}
}
}
private bool MoveNext()
{
//IL_0a17: Unknown result type (might be due to invalid IL or missing references)
//IL_0a21: Expected O, but got Unknown
//IL_0a1c: Unknown result type (might be due to invalid IL or missing references)
//IL_0a26: Expected O, but got Unknown
//IL_0a48: Unknown result type (might be due to invalid IL or missing references)
//IL_0a52: Expected O, but got Unknown
//IL_0a73: Unknown result type (might be due to invalid IL or missing references)
//IL_0a7d: Expected O, but got Unknown
//IL_0a78: Unknown result type (might be due to invalid IL or missing references)
//IL_0a82: Expected O, but got Unknown
//IL_0aa4: Unknown result type (might be due to invalid IL or missing references)
//IL_0aae: Expected O, but got Unknown
//IL_0acd: Unknown result type (might be due to invalid IL or missing references)
//IL_0ad7: Expected O, but got Unknown
//IL_0b50: Unknown result type (might be due to invalid IL or missing references)
//IL_0b5a: Expected O, but got Unknown
//IL_0b77: Unknown result type (might be due to invalid IL or missing references)
//IL_0b81: Expected O, but got Unknown
//IL_0ba4: Unknown result type (might be due to invalid IL or missing references)
//IL_0bae: Expected O, but got Unknown
//IL_0bcb: Unknown result type (might be due to invalid IL or missing references)
//IL_0bd5: Expected O, but got Unknown
//IL_0bf8: Unknown result type (might be due to invalid IL or missing references)
//IL_0c02: Expected O, but got Unknown
//IL_0c1b: Unknown result type (might be due to invalid IL or missing references)
//IL_0c25: Expected O, but got Unknown
//IL_0c20: Unknown result type (might be due to invalid IL or missing references)
//IL_0c2a: Expected O, but got Unknown
//IL_0c4d: Unknown result type (might be due to invalid IL or missing references)
//IL_0c57: Expected O, but got Unknown
//IL_0c7a: Unknown result type (might be due to invalid IL or missing references)
//IL_0c84: Expected O, but got Unknown
//IL_0cec: Unknown result type (might be due to invalid IL or missing references)
//IL_0cf6: Expected O, but got Unknown
//IL_0d13: Unknown result type (might be due to invalid IL or missing references)
//IL_0d1d: Expected O, but got Unknown
//IL_0d40: Unknown result type (might be due to invalid IL or missing references)
//IL_0d4a: Expected O, but got Unknown
//IL_0d6c: Unknown result type (might be due to invalid IL or missing references)
//IL_0d76: Expected O, but got Unknown
//IL_0d71: Unknown result type (might be due to invalid IL or missing references)
//IL_0d7b: Expected O, but got Unknown
//IL_0d9e: Unknown result type (might be due to invalid IL or missing references)
//IL_0da8: Expected O, but got Unknown
//IL_0dc8: Unknown result type (might be due to invalid IL or missing references)
//IL_0dd2: Expected O, but got Unknown
//IL_0edb: Unknown result type (might be due to invalid IL or missing references)
//IL_0ee5: Expected O, but got Unknown
//IL_0f08: Unknown result type (might be due to invalid IL or missing references)
//IL_0f12: Expected O, but got Unknown
//IL_0f2f: Unknown result type (might be due to invalid IL or missing references)
//IL_0f39: Expected O, but got Unknown
//IL_0f34: Unknown result type (might be due to invalid IL or missing references)
//IL_0f3e: Expected O, but got Unknown
//IL_0f61: Unknown result type (might be due to invalid IL or missing references)
//IL_0f6b: Expected O, but got Unknown
//IL_0f8d: Unknown result type (might be due to invalid IL or missing references)
//IL_0f97: Expected O, but got Unknown
//IL_0fb9: Unknown result type (might be due to invalid IL or missing references)
//IL_0fc3: Expected O, but got Unknown
//IL_0fbe: Unknown result type (might be due to invalid IL or missing references)
//IL_0fc8: Expected O, but got Unknown
//IL_0feb: Unknown result type (might be due to invalid IL or missing references)
//IL_0ff5: Expected O, but got Unknown
//IL_1015: Unknown result type (might be due to invalid IL or missing references)
//IL_101f: Expected O, but got Unknown
//IL_103c: Unknown result type (might be due to invalid IL or missing references)
//IL_1046: Expected O, but got Unknown
//IL_1069: Unknown result type (might be due to invalid IL or missing references)
//IL_1073: Expected O, but got Unknown
//IL_1090: Unknown result type (might be due to invalid IL or missing references)
//IL_109a: Expected O, but got Unknown
//IL_10bd: Unknown result type (might be due to invalid IL or missing references)
//IL_10c7: Expected O, but got Unknown
//IL_10e3: Unknown result type (might be due to invalid IL or missing references)
//IL_10ed: Expected O, but got Unknown
//IL_10e8: Unknown result type (might be due to invalid IL or missing references)
//IL_10f2: Expected O, but got Unknown
//IL_1115: Unknown result type (might be due to invalid IL or missing references)
//IL_111f: Expected O, but got Unknown
//IL_113c: Unknown result type (might be due to invalid IL or missing references)
//IL_1146: Expected O, but got Unknown
//IL_1169: Unknown result type (might be due to invalid IL or missing references)
//IL_1173: Expected O, but got Unknown
//IL_1190: Unknown result type (might be due to invalid IL or missing references)
//IL_119a: Expected O, but got Unknown
//IL_11bd: Unknown result type (might be due to invalid IL or missing references)
//IL_11c7: Expected O, but got Unknown
//IL_11e3: Unknown result type (might be due to invalid IL or missing references)
//IL_11ed: Expected O, but got Unknown
//IL_11e8: Unknown result type (might be due to invalid IL or missing references)
//IL_11f2: Expected O, but got Unknown
//IL_1215: Unknown result type (might be due to invalid IL or missing references)
//IL_121f: Expected O, but got Unknown
//IL_1242: Unknown result type (might be due to invalid IL or missing references)
//IL_124c: Expected O, but got Unknown
//IL_1269: Unknown result type (might be due to invalid IL or missing references)
//IL_1273: Expected O, but got Unknown
//IL_1296: Unknown result type (might be due to invalid IL or missing references)
//IL_12a0: Expected O, but got Unknown
//IL_12bf: Unknown result type (might be due to invalid IL or missing references)
//IL_12c9: Expected O, but got Unknown
//IL_12ec: Unknown result type (might be due to invalid IL or missing references)
//IL_12f6: Expected O, but got Unknown
//IL_1311: Unknown result type (might be due to invalid IL or missing references)
//IL_131b: Expected O, but got Unknown
//IL_1316: Unknown result type (might be due to invalid IL or missing references)
//IL_1320: Expected O, but got Unknown
//IL_1343: Unknown result type (might be due to invalid IL or missing references)
//IL_134d: Expected O, but got Unknown
//IL_1368: Unknown result type (might be due to invalid IL or missing references)
//IL_1372: Expected O, but got Unknown
//IL_136d: Unknown result type (might be due to invalid IL or missing references)
//IL_1377: Expected O, but got Unknown
//IL_139a: Unknown result type (might be due to invalid IL or missing references)
//IL_13a4: Expected O, but got Unknown
//IL_13bf: Unknown result type (might be due to invalid IL or missing references)
//IL_13c9: Expected O, but got Unknown
//IL_13c4: Unknown result type (might be due to invalid IL or missing references)
//IL_13ce: Expected O, but got Unknown
//IL_13f1: Unknown result type (might be due to invalid IL or missing references)
//IL_13fb: Expected O, but got Unknown
//IL_141e: Unknown result type (might be due to invalid IL or missing references)
//IL_1428: Expected O, but got Unknown
//IL_1445: Unknown result type (might be due to invalid IL or missing references)
//IL_144f: Expected O, but got Unknown
//IL_1472: Unknown result type (might be due to invalid IL or missing references)
//IL_147c: Expected O, but got Unknown
//IL_1499: Unknown result type (might be due to invalid IL or missing references)
//IL_14a3: Expected O, but got Unknown
//IL_149e: Unknown result type (might be due to invalid IL or missing references)
//IL_14a8: Expected O, but got Unknown
//IL_14cb: Unknown result type (might be due to invalid IL or missing references)
//IL_14d5: Expected O, but got Unknown
//IL_14f8: Unknown result type (might be due to invalid IL or missing references)
//IL_1502: Expected O, but got Unknown
//IL_1525: Unknown result type (might be due to invalid IL or missing references)
//IL_152f: Expected O, but got Unknown
//IL_154f: Unknown result type (might be due to invalid IL or missing references)
//IL_1559: Expected O, but got Unknown
//IL_1579: Unknown result type (might be due to invalid IL or missing references)
//IL_1583: Expected O, but got Unknown
//IL_15a6: Unknown result type (might be due to invalid IL or missing references)
//IL_15b0: Expected O, but got Unknown
//IL_15d3: Unknown result type (might be due to invalid IL or missing references)
//IL_15dd: Expected O, but got Unknown
//IL_15fd: Unknown result type (might be due to invalid IL or missing references)
//IL_1607: Expected O, but got Unknown
//IL_1624: Unknown result type (might be due to invalid IL or missing references)
//IL_162e: Expected O, but got Unknown
//IL_1651: Unknown result type (might be due to invalid IL or missing references)
//IL_165b: Expected O, but got Unknown
//IL_1678: Unknown result type (might be due to invalid IL or missing references)
//IL_1682: Expected O, but got Unknown
//IL_16a5: Unknown result type (might be due to invalid IL or missing references)
//IL_16af: Expected O, but got Unknown
//IL_16cb: Unknown result type (might be due to invalid IL or missing references)
//IL_16d5: Expected O, but got Unknown
//IL_16d0: Unknown result type (might be due to invalid IL or missing references)
//IL_16da: Expected O, but got Unknown
//IL_16fd: Unknown result type (might be due to invalid IL or missing references)
//IL_1707: Expected O, but got Unknown
//IL_1727: Unknown result type (might be due to invalid IL or missing references)
//IL_1731: Expected O, but got Unknown
//IL_1754: Unknown result type (might be due to invalid IL or missing references)
//IL_175e: Expected O, but got Unknown
//IL_1781: Unknown result type (might be due to invalid IL or missing references)
//IL_178b: Expected O, but got Unknown
//IL_17ae: Unknown result type (might be due to invalid IL or missing references)
//IL_17b8: Expected O, but got Unknown
//IL_17d8: Unknown result type (might be due to invalid IL or missing references)
//IL_17e2: Expected O, but got Unknown
//IL_1802: Unknown result type (might be due to invalid IL or missing references)
//IL_180c: Expected O, but got Unknown
//IL_1856: Unknown result type (might be due to invalid IL or missing references)
//IL_1860: Expected O, but got Unknown
//IL_1883: Unknown result type (might be due to invalid IL or missing references)
//IL_188d: Expected O, but got Unknown
//IL_18af: Unknown result type (might be due to invalid IL or missing references)
//IL_18b9: Expected O, but got Unknown
//IL_18b4: Unknown result type (might be due to invalid IL or missing references)
//IL_18be: Expected O, but got Unknown
//IL_18e1: Unknown result type (might be due to invalid IL or missing references)
//IL_18eb: Expected O, but got Unknown
//IL_190e: Unknown result type (might be due to invalid IL or missing references)
//IL_1918: Expected O, but got Unknown
//IL_1935: Unknown result type (might be due to invalid IL or missing references)
//IL_193f: Expected O, but got Unknown
//IL_1962: Unknown result type (might be due to invalid IL or missing references)
//IL_196c: Expected O, but got Unknown
//IL_198c: Unknown result type (might be due to invalid IL or missing references)
//IL_1996: Expected O, but got Unknown
//IL_19b9: Unknown result type (might be due to invalid IL or missing references)
//IL_19c3: Expected O, but got Unknown
//IL_19e0: Unknown result type (might be due to invalid IL or missing references)
//IL_19ea: Expected O, but got Unknown
//IL_1a0d: Unknown result type (might be due to invalid IL or missing references)
//IL_1a17: Expected O, but got Unknown
//IL_1a34: Unknown result type (might be due to invalid IL or missing references)
//IL_1a3e: Expected O, but got Unknown
//IL_1a61: Unknown result type (might be due to invalid IL or missing references)
//IL_1a6b: Expected O, but got Unknown
//IL_1a88: Unknown result type (might be due to invalid IL or missing references)
//IL_1a92: Expected O, but got Unknown
//IL_1ab5: Unknown result type (might be due to invalid IL or missing references)
//IL_1abf: Expected O, but got Unknown
//IL_1adc: Unknown result type (might be due to invalid IL or missing references)
//IL_1ae6: Expected O, but got Unknown
//IL_1b09: Unknown result type (might be due to invalid IL or missing references)
//IL_1b13: Expected O, but got Unknown
//IL_1b30: Unknown result type (might be due to invalid IL or missing references)
//IL_1b3a: Expected O, but got Unknown
//IL_1b5d: Unknown result type (might be due to invalid IL or missing references)
//IL_1b67: Expected O, but got Unknown
//IL_1b84: Unknown result type (might be due to invalid IL or missing references)
//IL_1b8e: Expected O, but got Unknown
//IL_1bb1: Unknown result type (might be due to invalid IL or missing references)
//IL_1bbb: Expected O, but got Unknown
//IL_1bd4: Unknown result type (might be due to invalid IL or missing references)
//IL_1bde: Expected O, but got Unknown
//IL_1bd9: Unknown result type (might be due to invalid IL or missing references)
//IL_1be3: Expected O, but got Unknown
//IL_1c03: Unknown result type (might be due to invalid IL or missing references)
//IL_1c0d: Expected O, but got Unknown
//IL_1c30: Unknown result type (might be due to invalid IL or missing references)
//IL_1c3a: Expected O, but got Unknown
//IL_1c57: Unknown result type (might be due to invalid IL or missing references)
//IL_1c61: Expected O, but got Unknown
//IL_1c83: Unknown result type (might be due to invalid IL or missing references)
//IL_1c8d: Expected O, but got Unknown
//IL_1ca8: Unknown result type (might be due to invalid IL or missing references)
//IL_1cb2: Expected O, but got Unknown
//IL_1cad: Unknown result type (might be due to invalid IL or missing references)
//IL_1cb7: Expected O, but got Unknown
//IL_1cda: Unknown result type (might be due to invalid IL or missing references)
//IL_1ce4: Expected O, but got Unknown
//IL_1d01: Unknown result type (might be due to invalid IL or missing references)
//IL_1d0b: Expected O, but got Unknown
//IL_1d2d: Unknown result type (might be due to invalid IL or missing references)
//IL_1d37: Expected O, but got Unknown
//IL_1d52: Unknown result type (might be due to invalid IL or missing references)
//IL_1d5c: Expected O, but got Unknown
//IL_1d57: Unknown result type (might be due to invalid IL or missing references)
//IL_1d61: Expected O, but got Unknown
//IL_1d84: Unknown result type (might be due to invalid IL or missing references)
//IL_1d8e: Expected O, but got Unknown
//IL_1dab: Unknown result type (might be due to invalid IL or missing references)
//IL_1db5: Expected O, but got Unknown
//IL_1dd7: Unknown result type (might be due to invalid IL or missing references)
//IL_1de1: Expected O, but got Unknown
//IL_1dfc: Unknown result type (might be due to invalid IL or missing references)
//IL_1e06: Expected O, but got Unknown
//IL_1e01: Unknown result type (might be due to invalid IL or missing references)
//IL_1e0b: Expected O, but got Unknown
//IL_1e2e: Unknown result type (might be due to invalid IL or missing references)
//IL_1e38: Expected O, but got Unknown
//IL_1e55: Unknown result type (might be due to invalid IL or missing references)
//IL_1e5f: Expected O, but got Unknown
//IL_1e81: Unknown result type (might be due to invalid IL or missing references)
//IL_1e8b: Expected O, but got Unknown
//IL_1ea7: Unknown result type (might be due to invalid IL or missing references)
//IL_1eb1: Expected O, but got Unknown
//IL_1eac: Unknown result type (might be due to invalid IL or missing references)
//IL_1eb6: Expected O, but got Unknown
//IL_1ed9: Unknown result type (might be due to invalid IL or missing references)
//IL_1ee3: Expected O, but got Unknown
//IL_1f00: Unknown result type (might be due to invalid IL or missing references)
//IL_1f0a: Expected O, but got Unknown
//IL_1f2c: Unknown result type (might be due to invalid IL or missing references)
//IL_1f36: Expected O, but got Unknown
//IL_1f52: Unknown result type (might be due to invalid IL or missing references)
//IL_1f5c: Expected O, but got Unknown
//IL_1f57: Unknown result type (might be due to invalid IL or missing references)
//IL_1f61: Expected O, but got Unknown
//IL_1f84: Unknown result type (might be due to invalid IL or missing references)
//IL_1f8e: Expected O, but got Unknown
//IL_1fab: Unknown result type (might be due to invalid IL or missing references)
//IL_1fb5: Expected O, but got Unknown
//IL_1fda: Unknown result type (might be due to invalid IL or missing references)
//IL_1fe4: Expected O, but got Unknown
//IL_2003: Unknown result type (might be due to invalid IL or missing references)
//IL_200d: Expected O, but got Unknown
//IL_2008: Unknown result type (might be due to invalid IL or missing references)
//IL_2012: Expected O, but got Unknown
//IL_2038: Unknown result type (might be due to invalid IL or missing references)
//IL_2042: Expected O, but got Unknown
//IL_2062: Unknown result type (might be due to invalid IL or missing references)
//IL_206c: Expected O, but got Unknown
//IL_2091: Unknown result type (might be due to invalid IL or missing references)
//IL_209b: Expected O, but got Unknown
//IL_20ba: Unknown result type (might be due to invalid IL or missing references)
//IL_20c4: Expected O, but got Unknown
//IL_20bf: Unknown result type (might be due to invalid IL or missing references)
//IL_20c9: Expected O, but got Unknown
//IL_20ef: Unknown result type (might be due to invalid IL or missing references)
//IL_20f9: Expected O, but got Unknown
//IL_211c: Unknown result type (might be due to invalid IL or missing references)
//IL_2126: Expected O, but got Unknown
//IL_214b: Unknown result type (might be due to invalid IL or missing references)
//IL_2155: Expected O, but got Unknown
//IL_217b: Unknown result type (might be due to invalid IL or missing references)
//IL_2185: Expected O, but got Unknown
//IL_21a5: Unknown result type (might be due to invalid IL or missing references)
//IL_21af: Expected O, but got Unknown
//IL_21d5: Unknown result type (might be due to invalid IL or missing references)
//IL_21df: Expected O, but got Unknown
//IL_21ff: Unknown result type (might be due to invalid IL or missing references)
//IL_2209: Expected O, but got Unknown
//IL_222f: Unknown result type (might be due to invalid IL or missing references)
//IL_2239: Expected O, but got Unknown
//IL_2259: Unknown result type (might be due to invalid IL or missing references)
//IL_2263: Expected O, but got Unknown
//IL_2289: Unknown result type (might be due to invalid IL or missing references)
//IL_2293: Expected O, but got Unknown
//IL_22b3: Unknown result type (might be due to invalid IL or missing references)
//IL_22bd: Expected O, but got Unknown
//IL_22e3: Unknown result type (might be due to invalid IL or missing references)
//IL_22ed: Expected O, but got Unknown
//IL_230d: Unknown result type (might be due to invalid IL or missing references)
//IL_2317: Expected O, but got Unknown
//IL_233a: Unknown result type (might be due to invalid IL or missing references)
//IL_2344: Expected O, but got Unknown
//IL_23a9: Unknown result type (might be due to invalid IL or missing references)
//IL_23b3: Expected O, but got Unknown
//IL_23d9: Unknown result type (might be due to invalid IL or missing references)
//IL_23e3: Expected O, but got Unknown
//IL_2406: Unknown result type (might be due to invalid IL or missing references)
//IL_2410: Expected O, but got Unknown
//IL_2436: Unknown result type (might be due to invalid IL or missing references)
//IL_2440: Expected O, but got Unknown
//IL_2460: Unknown result type (might be due to invalid IL or missing references)
//IL_246a: Expected O, but got Unknown
//IL_2490: Unknown result type (might be due to invalid IL or missing references)
//IL_249a: Expected O, but got Unknown
//IL_24ba: Unknown result type (might be due to invalid IL or missing references)
//IL_24c4: Expected O, but got Unknown
//IL_24ea: Unknown result type (might be due to invalid IL or missing references)
//IL_24f4: Expected O, but got Unknown
//IL_2514: Unknown result type (might be due to invalid IL or missing references)
//IL_251e: Expected O, but got Unknown
//IL_2544: Unknown result type (might be due to invalid IL or missing references)
//IL_254e: Expected O, but got Unknown
//IL_256d: Unknown result type (might be due to invalid IL or missing references)
//IL_2577: Expected O, but got Unknown
//IL_2572: Unknown result type (might be due to invalid IL or missing references)
//IL_257c: Expected O, but got Unknown
//IL_25a2: Unknown result type (might be due to invalid IL or missing references)
//IL_25ac: Expected O, but got Unknown
//IL_25d1: Unknown result type (might be due to invalid IL or missing references)
//IL_25db: Expected O, but got Unknown
//IL_25d6: Unknown result type (might be due to invalid IL or missing references)
//IL_25e0: Expected O, but got Unknown
//IL_2606: Unknown result type (might be due to invalid IL or missing references)
//IL_2610: Expected O, but got Unknown
//IL_2635: Unknown result type (might be due to invalid IL or missing references)
//IL_263f: Expected O, but got Unknown
//IL_263a: Unknown result type (might be due to invalid IL or missing references)
//IL_2644: Expected O, but got Unknown
//IL_266a: Unknown result type (might be due to invalid IL or missing references)
//IL_2674: Expected O, but got Unknown
//IL_2697: Unknown result type (might be due to invalid IL or missing references)
//IL_26a1: Expected O, but got Unknown
//IL_26c1: Unknown result type (might be due to invalid IL or missing references)
//IL_26cb: Expected O, but got Unknown
//IL_26f1: Unknown result type (might be due to invalid IL or missing references)
//IL_26fb: Expected O, but got Unknown
//IL_271b: Unknown result type (might be due to invalid IL or missing references)
//IL_2725: Expected O, but got Unknown
//IL_2720: Unknown result type (might be due to invalid IL or missing references)
//IL_272a: Expected O, but got Unknown
//IL_2750: Unknown result type (might be due to invalid IL or missing references)
//IL_275a: Expected O, but got Unknown
//IL_2780: Unknown result type (might be due to invalid IL or missing references)
//IL_278a: Expected O, but got Unknown
//IL_27ad: Unknown result type (might be due to invalid IL or missing references)
//IL_27b7: Expected O, but got Unknown
//IL_27dd: Unknown result type (might be due to invalid IL or missing references)
//IL_27e7: Expected O, but got Unknown
//IL_280d: Unknown result type (might be due to invalid IL or missing references)
//IL_2817: Expected O, but got Unknown
//IL_2837: Unknown result type (might be due to invalid IL or missing references)
//IL_2841: Expected O, but got Unknown
//IL_2867: Unknown result type (might be due to invalid IL or missing references)
//IL_2871: Expected O, but got Unknown
//IL_2894: Unknown result type (might be due to invalid IL or missing references)
//IL_289e: Expected O, but got Unknown
//IL_28f3: Unknown result type (might be due to invalid IL or missing references)
//IL_28fd: Expected O, but got Unknown
//IL_2923: Unknown result type (might be due to invalid IL or missing references)
//IL_292d: Expected O, but got Unknown
//IL_2950: Unknown result type (might be due to invalid IL or missing references)
//IL_295a: Expected O, but got Unknown
//IL_2980: Unknown result type (might be due to invalid IL or missing references)
//IL_298a: Expected O, but got Unknown
//IL_29aa: Unknown result type (might be due to invalid IL or missing references)
//IL_29b4: Expected O, but got Unknown
//IL_29da: Unknown result type (might be due to invalid IL or missing references)
//IL_29e4: Expected O, but got Unknown
//IL_2a04: Unknown result type (might be due to invalid IL or missing references)
//IL_2a0e: Expected O, but got Unknown
//IL_2a34: Unknown result type (might be due to invalid IL or missing references)
//IL_2a3e: Expected O, but got Unknown
//IL_2a5e: Unknown result type (might be due to invalid IL or missing references)
//IL_2a68: Expected O, but got Unknown
//IL_2a8e: Unknown result type (might be due to invalid IL or missing references)
//IL_2a98: Expected O, but got Unknown
//IL_2ab7: Unknown result type (might be due to invalid IL or missing references)
//IL_2ac1: Expected O, but got Unknown
//IL_2abc: Unknown result type (might be due to invalid IL or missing references)
//IL_2ac6: Expected O, but got Unknown
//IL_2aec: Unknown result type (might be due to invalid IL or missing references)
//IL_2af6: Expected O, but got Unknown
//IL_2b1b: Unknown result type (might be due to invalid IL or missing references)
//IL_2b25: Expected O, but got Unknown
//IL_2b20: Unknown result type (might be due to invalid IL or missing references)
//IL_2b2a: Expected O, but got Unknown
//IL_2b50: Unknown result type (might be due to invalid IL or missing references)
//IL_2b5a: Expected O, but got Unknown
//IL_2b7f: Unknown result type (might be due to invalid IL or missing references)
//IL_2b89: Expected O, but got Unknown
//IL_2b84: Unknown result type (might be due to invalid IL or missing references)
//IL_2b8e: Expected O, but got Unknown
//IL_2bb4: Unknown result type (might be due to invalid IL or missing references)
//IL_2bbe: Expected O, but got Unknown
//IL_2be1: Unknown result type (might be due to invalid IL or missing references)
//IL_2beb: Expected O, but got Unknown
//IL_2c0b: Unknown result type (might be due to invalid IL or missing references)
//IL_2c15: Expected O, but got Unknown
//IL_2c3b: Unknown result type (might be due to invalid IL or missing references)
//IL_2c45: Expected O, but got Unknown
//IL_2c65: Unknown result type (might be due to invalid IL or missing references)
//IL_2c6f: Expected O, but got Unknown
//IL_2c6a: Unknown result type (might be due to invalid IL or missing references)
//IL_2c74: Expected O, but got Unknown
//IL_2c9a: Unknown result type (might be due to invalid IL or missing references)
//IL_2ca4: Expected O, but got Unknown
//IL_2cca: Unknown result type (might be due to invalid IL or missing references)
//IL_2cd4: Expected O, but got Unknown
//IL_2cf7: Unknown result type (might be due to invalid IL or missing references)
//IL_2d01: Expected O, but got Unknown
//IL_2d27: Unknown result type (might be due to invalid IL or missing references)
//IL_2d31: Expected O, but got Unknown
//IL_2d57: Unknown result type (might be due to invalid IL or missing references)
//IL_2d61: Expected O, but got Unknown
//IL_2d81: Unknown result type (might be due to invalid IL or missing references)
//IL_2d8b: Expected O, but got Unknown
//IL_2db1: Unknown result type (might be due to invalid IL or missing references)
//IL_2dbb: Expected O, but got Unknown
//IL_2dde: Unknown result type (might be due to invalid IL or missing references)
//IL_2de8: Expected O, but got Unknown
//IL_2e3e: Unknown result type (might be due to invalid IL or missing references)
//IL_2e48: Expected O, but got Unknown
//IL_2e6b: Unknown result type (might be due to invalid IL or missing references)
//IL_2e75: Expected O, but got Unknown
//IL_2e9b: Unknown result type (might be due to invalid IL or missing references)
//IL_2ea5: Expected O, but got Unknown
//IL_2ec5: Unknown result type (might be due to invalid IL or missing references)
//IL_2ecf: Expected O, but got Unknown
//IL_2ef5: Unknown result type (might be due to invalid IL or missing references)
//IL_2eff: Expected O, but got Unknown
//IL_2f1f: Unknown result type (might be due to invalid IL or missing references)
//IL_2f29: Expected O, but got Unknown
//IL_2f4f: Unknown result type (might be due to invalid IL or missing references)
//IL_2f59: Expected O, but got Unknown
//IL_2f79: Unknown result type (might be due to invalid IL or missing references)
//IL_2f83: Expected O, but got Unknown
//IL_2fa9: Unknown result type (might be due to invalid IL or missing references)
//IL_2fb3: Expected O, but got Unknown
//IL_2fd3: Unknown result type (might be due to invalid IL or missing references)
//IL_2fdd: Expected O, but got Unknown
//IL_3003: Unknown result type (might be due to invalid IL or missing references)
//IL_300d: Expected O, but got Unknown
//IL_302d: Unknown result type (might be due to invalid IL or missing references)
//IL_3037: Expected O, but got Unknown
//IL_305d: Unknown result type (might be due to invalid IL or missing references)
//IL_3067: Expected O, but got Unknown
//IL_3087: Unknown result type (might be due to invalid IL or missing references)
//IL_3091: Expected O, but got Unknown
//IL_30b7: Unknown result type (might be due to invalid IL or missing references)
//IL_30c1: Expected O, but got Unknown
//IL_30dd: Unknown result type (might be due to invalid IL or missing references)
//IL_30e7: Expected O, but got Unknown
//IL_30e2: Unknown result type (might be due to invalid IL or missing references)
//IL_30ec: Expected O, but got Unknown
//IL_310f: Unknown result type (might be due to invalid IL or missing references)
//IL_3119: Expected O, but got Unknown
//IL_313f: Unknown result type (might be due to invalid IL or missing references)
//IL_3149: Expected O, but got Unknown
//IL_316f: Unknown result type (might be due to invalid IL or missing references)
//IL_3179: Expected O, but got Unknown
//IL_3199: Unknown result type (might be due to invalid IL or missing references)
//IL_31a3: Expected O, but got Unknown
//IL_31c9: Unknown result type (might be due to invalid IL or missing references)
//IL_31d3: Expected O, but got Unknown
//IL_31f6: Unknown result type (might be due to invalid IL or missing references)
//IL_3200: Expected O, but got Unknown
//IL_3274: Unknown result type (might be due to invalid IL or missing references)
//IL_327e: Expected O, but got Unknown
//IL_32a4: Unknown result type (might be due to invalid IL or missing references)
//IL_32ae: Expected O, but got Unknown
//IL_32cf: Unknown result type (might be due to invalid IL or missing references)
//IL_32d9: Expected O, but got Unknown
//IL_32d4: Unknown result type (might be due to invalid IL or missing references)
//IL_32de: Expected O, but got Unknown
//IL_3304: Unknown result type (might be due to invalid IL or missing references)
//IL_330e: Expected O, but got Unknown
//IL_3333: Unknown result type (might be due to invalid IL or missing references)
//IL_333d: Expected O, but got Unknown
//IL_3362: Unknown result type (might be due to invalid IL or missing references)
//IL_336c: Expected O, but got Unknown
//IL_3367: Unknown result type (might be due to invalid IL or missing references)
//IL_3371: Expected O, but got Unknown
//IL_3397: Unknown result type (might be due to invalid IL or missing references)
//IL_33a1: Expected O, but got Unknown
//IL_33c4: Unknown result type (might be due to invalid IL or missing references)
//IL_33ce: Expected O, but got Unknown
//IL_33ee: Unknown result type (might be due to invalid IL or missing references)
//IL_33f8: Expected O, but got Unknown
//IL_341e: Unknown result type (might be due to invalid IL or missing references)
//IL_3428: Expected O, but got Unknown
//IL_3449: Unknown result type (might be due to invalid IL or missing references)
//IL_3453: Expected O, but got Unknown
//IL_344e: Unknown result type (might be due to invalid IL or missing references)
//IL_3458: Expected O, but got Unknown
//IL_347e: Unknown result type (might be due to invalid IL or missing references)
//IL_3488: Expected O, but got Unknown
//IL_34ae: Unknown result type (might be due to invalid IL or missing references)
//IL_34b8: Expected O, but got Unknown
//IL_34dd: Unknown result type (might be due to invalid IL or missing references)
//IL_34e7: Expected O, but got Unknown
//IL_34e2: Unknown result type (might be due to invalid IL or missing references)
//IL_34ec: Expected O, but got Unknown
//IL_350f: Unknown result type (might be due to invalid IL or missing references)
//IL_3519: Expected O, but got Unknown
//IL_182f: Unknown result type (might be due to invalid IL or missing references)
//IL_1839: Expected O, but got Unknown
//IL_0eb4: Unknown result type (might be due to invalid IL or missing references)
//IL_0ebe: Expected O, but got Unknown
//IL_28c9: Unknown result type (might be due to invalid IL or missing references)
//IL_28d3: Expected O, but got Unknown
//IL_237f: Unknown result type (might be due to invalid IL or missing references)
//IL_2389: Expected O, but got Unknown
//IL_2e0e: Unknown result type (might be due to invalid IL or missing references)
//IL_2e18: Expected O, but got Unknown
//IL_324a: Unknown result type (might be due to invalid IL or missing references)
//IL_3254: Expected O, but got Unknown
//IL_0cbf: Unknown result type (might be due to invalid IL or missing references)
//IL_0cc9: Expected O, but got Unknown
//IL_0e2d: Unknown result type (might be due to invalid IL or missing references)
//IL_0e37: Expected O, but got Unknown
//IL_0e72: Unknown result type (might be due to invalid IL or missing references)
//IL_0e7c: Expected O, but got Unknown
//IL_05a7: Unknown result type (might be due to invalid IL or missing references)
//IL_05b1: Expected O, but got Unknown
//IL_0664: Unknown result type (might be due to invalid IL or missing references)
//IL_066e: Expected O, but got Unknown
//IL_07cd: Unknown result type (might be due to invalid IL or missing references)
//IL_07d7: Expected O, but got Unknown
//IL_08ce: Unknown result type (might be due to invalid IL or missing references)
//IL_08d8: Expected O, but got Unknown
//IL_098b: Unknown result type (might be due to invalid IL or missing references)
//IL_0995: Expected O, but got Unknown
try
{
int num = <>1__state;
PlayerPatch playerPatch = <>4__this;
switch (num)
{
default:
return false;
case 0:
<>1__state = -1;
<waiterFollow>5__2 = new MultiTokenWaiter(new Func<Token, bool>[12]
{
delegate(Token t)
{
IdentifierToken val15 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val15 != null && val15.Name == "skeleton";
},
(Token t) => (int)t.Type == 84,
delegate(Token t)
{
IdentifierToken val14 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val14 != null && val14.Name == "set_bone_custom_pose";
},
(Token t) => (int)t.Type == 80,
delegate(Token t)
{
ConstantToken val12 = (ConstantToken)(object)((t is ConstantToken) ? t : null);
if (val12 != null)
{
Variant value3 = val12.Value;
IntVariant val13 = (IntVariant)(object)((value3 is IntVariant) ? value3 : null);
if (val13 != null)
{
return val13.Value == 1;
}
}
return false;
},
(Token t) => (int)t.Type == 82,
(Token t) => (int)t.Type == 4,
(Token t) => (int)t.Type == 80,
(Token t) => (int)t.Type == 81,
(Token t) => (int)t.Type == 81,
(Token t) => (int)t.Type == 89,
(Token t) => (int)t.Type == 89
}, false, true);
<waiterAnimationData>5__3 = new MultiTokenWaiter(new Func<Token, bool>[5]
{
delegate(Token t)
{
ConstantToken val10 = (ConstantToken)(object)((t is ConstantToken) ? t : null);
if (val10 != null)
{
Variant value2 = val10.Value;
StringVariant val11 = (StringVariant)(object)((value2 is StringVariant) ? value2 : null);
if (val11 != null)
{
return val11.Value == "back_bend";
}
}
return false;
},
(Token t) => (int)t.Type == 86,
delegate(Token t)
{
ConstantToken val8 = (ConstantToken)(object)((t is ConstantToken) ? t : null);
if (val8 != null)
{
Variant value = val8.Value;
RealVariant val9 = (RealVariant)(object)((value is RealVariant) ? value : null);
if (val9 != null)
{
return val9.Value == 0.0;
}
}
return false;
},
(Token t) => (int)t.Type == 82,
(Token t) => (int)t.Type == 89
}, false, false);
<waiterDisableLeftRightAutoRotate>5__4 = new MultiTokenWaiter(new Func<Token, bool>[10]
{
delegate(Token t)
{
IdentifierToken val7 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val7 != null && val7.Name == "dir";
},
(Token t) => (int)t.Type == 23,
delegate(Token t)
{
IdentifierToken val6 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val6 != null && val6.Name == "dive_vec";
},
(Token t) => (int)t.Type == 84,
delegate(Token t)
{
IdentifierToken val5 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val5 != null && val5.Name == "normalized";
},
(Token t) => (int)t.Type == 80,
(Token t) => (int)t.Type == 81,
(Token t) => (int)t.Type == 89,
(Token t) => (int)t.Type == 89,
delegate(Token t)
{
IdentifierToken val4 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val4 != null && val4.Name == "rot_help";
}
}, false, true);
<waiterDisableLeftRightAutoRotate2>5__5 = new MultiTokenWaiter(new Func<Token, bool>[7]
{
delegate(Token t)
{
IdentifierToken val3 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val3 != null && val3.Name == "dir";
},
(Token t) => (int)t.Type == 82,
(Token t) => (int)t.Type == 4,
(Token t) => (int)t.Type == 84,
delegate(Token t)
{
IdentifierToken val2 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val2 != null && val2.Name == "UP";
},
(Token t) => (int)t.Type == 81,
(Token t) => (int)t.Type == 89
}, false, true);
<waiterZoomUpdate>5__6 = new MultiTokenWaiter(new Func<Token, bool>[5]
{
(Token t) => (int)t.Type == 48,
delegate(Token t)
{
IdentifierToken val = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val != null && val.Name == "_zoom_update";
},
(Token t) => (int)t.Type == 80,
(Token t) => (int)t.Type == 81,
(Token t) => (int)t.Type == 86
}, false, true);
<>7__wrap6 = tokens.GetEnumerator();
<>1__state = -3;
goto IL_3589;
case 1:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant("head_rotate"));
<>1__state = 2;
return true;
case 2:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 3;
return true;
case 3:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new RealVariant(0.0, false));
<>1__state = 4;
return true;
case 4:
<>1__state = -3;
<>2__current = new Token((TokenType)82, (uint?)null);
<>1__state = 5;
return true;
case 5:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 6;
return true;
case 6:
<>1__state = -3;
<>2__current = <token>5__8;
<>1__state = 7;
return true;
case 7:
<>1__state = -3;
goto IL_0b0f;
case 8:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)2u);
<>1__state = 9;
return true;
case 9:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("body");
<>1__state = 10;
return true;
case 10:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 11;
return true;
case 11:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("visible");
<>1__state = 12;
return true;
case 12:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 13;
return true;
case 13:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(true));
<>1__state = 14;
return true;
case 14:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)null);
<>1__state = 15;
return true;
case 15:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)null);
<>1__state = 16;
return true;
case 16:
<>1__state = -3;
goto IL_3582;
case 17:
<>1__state = -3;
<>2__current = new Token((TokenType)38, (uint?)null);
<>1__state = 18;
return true;
case 18:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("camera_zoom");
<>1__state = 19;
return true;
case 19:
<>1__state = -3;
<>2__current = new Token((TokenType)11, (uint?)null);
<>1__state = 20;
return true;
case 20:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new RealVariant(0.5, false));
<>1__state = 21;
return true;
case 21:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 22;
return true;
case 22:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)3u);
<>1__state = 23;
return true;
case 23:
<>1__state = -3;
<>2__current = <token>5__8;
<>1__state = 24;
return true;
case 24:
<>1__state = -3;
goto IL_3582;
case 25:
<>1__state = -3;
goto IL_3582;
case 26:
<>1__state = -3;
if (!playerPatch.<mod>P.Config.UseBendingInstead)
{
<>2__current = new Token((TokenType)38, (uint?)null);
<>1__state = 27;
return true;
}
goto IL_1823;
case 27:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("animation_data");
<>1__state = 28;
return true;
case 28:
<>1__state = -3;
<>2__current = new Token((TokenType)76, (uint?)null);
<>1__state = 29;
return true;
case 29:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant("head_rotate"));
<>1__state = 30;
return true;
case 30:
<>1__state = -3;
<>2__current = new Token((TokenType)77, (uint?)null);
<>1__state = 31;
return true;
case 31:
<>1__state = -3;
<>2__current = new Token((TokenType)8, (uint?)null);
<>1__state = 32;
return true;
case 32:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new RealVariant(0.0, false));
<>1__state = 33;
return true;
case 33:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 34;
return true;
case 34:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)2u);
<>1__state = 35;
return true;
case 35:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("skeleton");
<>1__state = 36;
return true;
case 36:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 37;
return true;
case 37:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("set_bone_custom_pose");
<>1__state = 38;
return true;
case 38:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 39;
return true;
case 39:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(11L, false));
<>1__state = 40;
return true;
case 40:
<>1__state = -3;
<>2__current = new Token((TokenType)82, (uint?)null);
<>1__state = 41;
return true;
case 41:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("skeleton");
<>1__state = 42;
return true;
case 42:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 43;
return true;
case 43:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("get_bone_pose");
<>1__state = 44;
return true;
case 44:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 45;
return true;
case 45:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(11L, false));
<>1__state = 46;
return true;
case 46:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 47;
return true;
case 47:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 48;
return true;
case 48:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("rotated");
<>1__state = 49;
return true;
case 49:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 50;
return true;
case 50:
<>1__state = -3;
<>2__current = new Token((TokenType)4, (uint?)7u);
<>1__state = 51;
return true;
case 51:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 52;
return true;
case 52:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(1L, false));
<>1__state = 53;
return true;
case 53:
<>1__state = -3;
<>2__current = new Token((TokenType)82, (uint?)null);
<>1__state = 54;
return true;
case 54:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(0L, false));
<>1__state = 55;
return true;
case 55:
<>1__state = -3;
<>2__current = new Token((TokenType)82, (uint?)null);
<>1__state = 56;
return true;
case 56:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(0L, false));
<>1__state = 57;
return true;
case 57:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 58;
return true;
case 58:
<>1__state = -3;
<>2__current = new Token((TokenType)82, (uint?)null);
<>1__state = 59;
return true;
case 59:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("animation_data");
<>1__state = 60;
return true;
case 60:
<>1__state = -3;
<>2__current = new Token((TokenType)76, (uint?)null);
<>1__state = 61;
return true;
case 61:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant("head_rotate"));
<>1__state = 62;
return true;
case 62:
<>1__state = -3;
<>2__current = new Token((TokenType)77, (uint?)null);
<>1__state = 63;
return true;
case 63:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 64;
return true;
case 64:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 65;
return true;
case 65:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)2u);
<>1__state = 66;
return true;
case 66:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 67;
return true;
case 67:
<>1__state = -3;
<>2__current = new Token((TokenType)40, (uint?)null);
<>1__state = 68;
return true;
case 68:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 69;
return true;
case 69:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)2u);
<>1__state = 70;
return true;
case 70:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("skeleton");
<>1__state = 71;
return true;
case 71:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 72;
return true;
case 72:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("set_bone_custom_pose");
<>1__state = 73;
return true;
case 73:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 74;
return true;
case 74:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(11L, false));
<>1__state = 75;
return true;
case 75:
<>1__state = -3;
<>2__current = new Token((TokenType)82, (uint?)null);
<>1__state = 76;
return true;
case 76:
<>1__state = -3;
<>2__current = new Token((TokenType)4, (uint?)13u);
<>1__state = 77;
return true;
case 77:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 78;
return true;
case 78:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 79;
return true;
case 79:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 80;
return true;
case 80:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)2u);
<>1__state = 81;
return true;
case 81:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 82;
return true;
case 82:
<>1__state = -3;
goto IL_1823;
case 83:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("camera_zoom");
<>1__state = 84;
return true;
case 84:
<>1__state = -3;
<>2__current = new Token((TokenType)9, (uint?)null);
<>1__state = 85;
return true;
case 85:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new RealVariant(0.5, false));
<>1__state = 86;
return true;
case 86:
<>1__state = -3;
<>2__current = new Token((TokenType)13, (uint?)null);
<>1__state = 87;
return true;
case 87:
<>1__state = -3;
<>2__current = new Token((TokenType)15, (uint?)null);
<>1__state = 88;
return true;
case 88:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("freecamming");
<>1__state = 89;
return true;
case 89:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 90;
return true;
case 90:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)2u);
<>1__state = 91;
return true;
case 91:
<>1__state = -3;
<>2__current = new Token((TokenType)87, (uint?)null);
<>1__state = 92;
return true;
case 92:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("body");
<>1__state = 93;
return true;
case 93:
<>1__state = -3;
<>2__current = new Token((TokenType)19, (uint?)null);
<>1__state = 94;
return true;
case 94:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("player_body");
<>1__state = 95;
return true;
case 95:
<>1__state = -3;
<>2__current = new Token((TokenType)19, (uint?)null);
<>1__state = 96;
return true;
case 96:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("Armature");
<>1__state = 97;
return true;
case 97:
<>1__state = -3;
<>2__current = new Token((TokenType)19, (uint?)null);
<>1__state = 98;
return true;
case 98:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("Skeleton");
<>1__state = 99;
return true;
case 99:
<>1__state = -3;
<>2__current = new Token((TokenType)19, (uint?)null);
<>1__state = 100;
return true;
case 100:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("face");
<>1__state = 101;
return true;
case 101:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 102;
return true;
case 102:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("visible");
<>1__state = 103;
return true;
case 103:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 104;
return true;
case 104:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(false));
<>1__state = 105;
return true;
case 105:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)2u);
<>1__state = 106;
return true;
case 106:
<>1__state = -3;
<>2__current = new Token((TokenType)38, (uint?)null);
<>1__state = 107;
return true;
case 107:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("state");
<>1__state = 108;
return true;
case 108:
<>1__state = -3;
<>2__current = new Token((TokenType)8, (uint?)null);
<>1__state = 109;
return true;
case 109:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(1L, false));
<>1__state = 110;
return true;
case 110:
<>1__state = -3;
<>2__current = new Token((TokenType)13, (uint?)null);
<>1__state = 111;
return true;
case 111:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("state");
<>1__state = 112;
return true;
case 112:
<>1__state = -3;
<>2__current = new Token((TokenType)8, (uint?)null);
<>1__state = 113;
return true;
case 113:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(6L, false));
<>1__state = 114;
return true;
case 114:
<>1__state = -3;
<>2__current = new Token((TokenType)13, (uint?)null);
<>1__state = 115;
return true;
case 115:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("state");
<>1__state = 116;
return true;
case 116:
<>1__state = -3;
<>2__current = new Token((TokenType)8, (uint?)null);
<>1__state = 117;
return true;
case 117:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(7L, false));
<>1__state = 118;
return true;
case 118:
<>1__state = -3;
<>2__current = new Token((TokenType)13, (uint?)null);
<>1__state = 119;
return true;
case 119:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("state");
<>1__state = 120;
return true;
case 120:
<>1__state = -3;
<>2__current = new Token((TokenType)8, (uint?)null);
<>1__state = 121;
return true;
case 121:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(9L, false));
<>1__state = 122;
return true;
case 122:
<>1__state = -3;
<>2__current = new Token((TokenType)13, (uint?)null);
<>1__state = 123;
return true;
case 123:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("state");
<>1__state = 124;
return true;
case 124:
<>1__state = -3;
<>2__current = new Token((TokenType)8, (uint?)null);
<>1__state = 125;
return true;
case 125:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(10L, false));
<>1__state = 126;
return true;
case 126:
<>1__state = -3;
<>2__current = new Token((TokenType)13, (uint?)null);
<>1__state = 127;
return true;
case 127:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("state");
<>1__state = 128;
return true;
case 128:
<>1__state = -3;
<>2__current = new Token((TokenType)8, (uint?)null);
<>1__state = 129;
return true;
case 129:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(11L, false));
<>1__state = 130;
return true;
case 130:
<>1__state = -3;
<>2__current = new Token((TokenType)13, (uint?)null);
<>1__state = 131;
return true;
case 131:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("state");
<>1__state = 132;
return true;
case 132:
<>1__state = -3;
<>2__current = new Token((TokenType)8, (uint?)null);
<>1__state = 133;
return true;
case 133:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(16L, false));
<>1__state = 134;
return true;
case 134:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 135;
return true;
case 135:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)3u);
<>1__state = 136;
return true;
case 136:
<>1__state = -3;
<>2__current = new Token((TokenType)3, (uint?)null);
<>1__state = 137;
return true;
case 137:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 138;
return true;
case 138:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("rotation");
<>1__state = 139;
return true;
case 139:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 140;
return true;
case 140:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("y");
<>1__state = 141;
return true;
case 141:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 142;
return true;
case 142:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("camera");
<>1__state = 143;
return true;
case 143:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 144;
return true;
case 144:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("rotation");
<>1__state = 145;
return true;
case 145:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 146;
return true;
case 146:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("y");
<>1__state = 147;
return true;
case 147:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)3u);
<>1__state = 148;
return true;
case 148:
<>1__state = -3;
if (!playerPatch.<mod>P.Config.UseBendingInstead)
{
<>2__current = new Token((TokenType)59, (uint?)null);
<>1__state = 149;
return true;
}
<>2__current = new Token((TokenType)59, (uint?)null);
<>1__state = 178;
return true;
case 149:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("head_rotate");
<>1__state = 150;
return true;
case 150:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 151;
return true;
case 151:
<>1__state = -3;
<>2__current = new Token((TokenType)5, (uint?)53u);
<>1__state = 152;
return true;
case 152:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 153;
return true;
case 153:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("camera");
<>1__state = 154;
return true;
case 154:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 155;
return true;
case 155:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("rotation");
<>1__state = 156;
return true;
case 156:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 157;
return true;
case 157:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("x");
<>1__state = 158;
return true;
case 158:
<>1__state = -3;
<>2__current = new Token((TokenType)18, (uint?)null);
<>1__state = 159;
return true;
case 159:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(54L, false));
<>1__state = 160;
return true;
case 160:
<>1__state = -3;
<>2__current = new Token((TokenType)82, (uint?)null);
<>1__state = 161;
return true;
case 161:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new RealVariant(-65.0, false));
<>1__state = 162;
return true;
case 162:
<>1__state = -3;
<>2__current = new Token((TokenType)82, (uint?)null);
<>1__state = 163;
return true;
case 163:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new RealVariant(45.0, false));
<>1__state = 164;
return true;
case 164:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 165;
return true;
case 165:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)3u);
<>1__state = 166;
return true;
case 166:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("animation_data");
<>1__state = 167;
return true;
case 167:
<>1__state = -3;
<>2__current = new Token((TokenType)76, (uint?)null);
<>1__state = 168;
return true;
case 168:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant("head_rotate"));
<>1__state = 169;
return true;
case 169:
<>1__state = -3;
<>2__current = new Token((TokenType)77, (uint?)null);
<>1__state = 170;
return true;
case 170:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 171;
return true;
case 171:
<>1__state = -3;
<>2__current = new Token((TokenType)5, (uint?)43u);
<>1__state = 172;
return true;
case 172:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 173;
return true;
case 173:
<>1__state = -3;
<>2__current = new Token((TokenType)17, (uint?)null);
<>1__state = 174;
return true;
case 174:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("head_rotate");
<>1__state = 175;
return true;
case 175:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 176;
return true;
case 176:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 177;
return true;
case 177:
<>1__state = -3;
goto IL_2e02;
case 178:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("back_bend");
<>1__state = 179;
return true;
case 179:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 180;
return true;
case 180:
<>1__state = -3;
<>2__current = new Token((TokenType)5, (uint?)53u);
<>1__state = 181;
return true;
case 181:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 182;
return true;
case 182:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("camera");
<>1__state = 183;
return true;
case 183:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 184;
return true;
case 184:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("rotation");
<>1__state = 185;
return true;
case 185:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 186;
return true;
case 186:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("x");
<>1__state = 187;
return true;
case 187:
<>1__state = -3;
<>2__current = new Token((TokenType)18, (uint?)null);
<>1__state = 188;
return true;
case 188:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(54L, false));
<>1__state = 189;
return true;
case 189:
<>1__state = -3;
<>2__current = new Token((TokenType)82, (uint?)null);
<>1__state = 190;
return true;
case 190:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new RealVariant(-50.0, false));
<>1__state = 191;
return true;
case 191:
<>1__state = -3;
<>2__current = new Token((TokenType)82, (uint?)null);
<>1__state = 192;
return true;
case 192:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new RealVariant(50.0, false));
<>1__state = 193;
return true;
case 193:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 194;
return true;
case 194:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)3u);
<>1__state = 195;
return true;
case 195:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("animation_data");
<>1__state = 196;
return true;
case 196:
<>1__state = -3;
<>2__current = new Token((TokenType)76, (uint?)null);
<>1__state = 197;
return true;
case 197:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant("back_bend"));
<>1__state = 198;
return true;
case 198:
<>1__state = -3;
<>2__current = new Token((TokenType)77, (uint?)null);
<>1__state = 199;
return true;
case 199:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 200;
return true;
case 200:
<>1__state = -3;
<>2__current = new Token((TokenType)5, (uint?)43u);
<>1__state = 201;
return true;
case 201:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 202;
return true;
case 202:
<>1__state = -3;
<>2__current = new Token((TokenType)17, (uint?)null);
<>1__state = 203;
return true;
case 203:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("back_bend");
<>1__state = 204;
return true;
case 204:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 205;
return true;
case 205:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 206;
return true;
case 206:
<>1__state = -3;
goto IL_2e02;
case 207:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 208;
return true;
case 208:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)2u);
<>1__state = 209;
return true;
case 209:
<>1__state = -3;
<>2__current = new Token((TokenType)87, (uint?)null);
<>1__state = 210;
return true;
case 210:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("body");
<>1__state = 211;
return true;
case 211:
<>1__state = -3;
<>2__current = new Token((TokenType)19, (uint?)null);
<>1__state = 212;
return true;
case 212:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("player_body");
<>1__state = 213;
return true;
case 213:
<>1__state = -3;
<>2__current = new Token((TokenType)19, (uint?)null);
<>1__state = 214;
return true;
case 214:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("Armature");
<>1__state = 215;
return true;
case 215:
<>1__state = -3;
<>2__current = new Token((TokenType)19, (uint?)null);
<>1__state = 216;
return true;
case 216:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("Skeleton");
<>1__state = 217;
return true;
case 217:
<>1__state = -3;
<>2__current = new Token((TokenType)19, (uint?)null);
<>1__state = 218;
return true;
case 218:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("face");
<>1__state = 219;
return true;
case 219:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 220;
return true;
case 220:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("visible");
<>1__state = 221;
return true;
case 221:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 222;
return true;
case 222:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(true));
<>1__state = 223;
return true;
case 223:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)2u);
<>1__state = 224;
return true;
case 224:
<>1__state = -3;
<>2__current = new Token((TokenType)38, (uint?)null);
<>1__state = 225;
return true;
case 225:
<>1__state = -3;
<>2__current = new Token((TokenType)15, (uint?)null);
<>1__state = 226;
return true;
case 226:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("freecamming");
<>1__state = 227;
return true;
case 227:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 228;
return true;
case 228:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)3u);
<>1__state = 229;
return true;
case 229:
<>1__state = -3;
<animationType>5__9 = (playerPatch.<mod>P.Config.UseBendingInstead ? "back_bend" : "head_rotate");
<>2__current = new Token((TokenType)38, (uint?)null);
<>1__state = 230;
return true;
case 230:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("animation_data");
<>1__state = 231;
return true;
case 231:
<>1__state = -3;
<>2__current = new Token((TokenType)76, (uint?)null);
<>1__state = 232;
return true;
case 232:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant(<animationType>5__9));
<>1__state = 233;
return true;
case 233:
<>1__state = -3;
<>2__current = new Token((TokenType)77, (uint?)null);
<>1__state = 234;
return true;
case 234:
<>1__state = -3;
<>2__current = new Token((TokenType)8, (uint?)null);
<>1__state = 235;
return true;
case 235:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new RealVariant(0.0, false));
<>1__state = 236;
return true;
case 236:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 237;
return true;
case 237:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)4u);
<>1__state = 238;
return true;
case 238:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("animation_data");
<>1__state = 239;
return true;
case 239:
<>1__state = -3;
<>2__current = new Token((TokenType)76, (uint?)null);
<>1__state = 240;
return true;
case 240:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant(<animationType>5__9));
<>1__state = 241;
return true;
case 241:
<>1__state = -3;
<>2__current = new Token((TokenType)77, (uint?)null);
<>1__state = 242;
return true;
case 242:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 243;
return true;
case 243:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new RealVariant(0.0, false));
<>1__state = 244;
return true;
case 244:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 245;
return true;
case 245:
<>1__state = -3;
<>2__current = <token>5__8;
<>1__state = 246;
return true;
case 246:
<>1__state = -3;
<animationType>5__9 = null;
goto IL_3582;
case 247:
{
<>1__state = -3;
goto IL_3582;
}
IL_2e02:
<>2__current = new Token((TokenType)40, (uint?)null);
<>1__state = 207;
return true;
IL_0b0f:
if (<waiterZoomUpdate>5__6.Check(<token>5__8))
{
<>2__current = <token>5__8;
<>1__state = 8;
return true;
}
if (<waiterDisableLeftRightAutoRotate>5__4.Check(<token>5__8))
{
<>2__current = new Token((TokenType)89, (uint?)2u);
<>1__state = 17;
return true;
}
if (<waiterDisableLeftRightAutoRotate2>5__5.Check(<token>5__8))
{
<>2__current = new Token((TokenType)89, (uint?)3u);
<>1__state = 25;
return true;
}
if (<waiterFollow>5__2.Check(<token>5__8))
{
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 26;
return true;
}
<>2__current = <token>5__8;
<>1__state = 247;
return true;
IL_3589:
if (((global::System.Collections.IEnumerator)<>7__wrap6).MoveNext())
{
<token>5__8 = <>7__wrap6.Current;
if (!playerPatch.<mod>P.Config.UseBendingInstead && <waiterAnimationData>5__3.Check(<token>5__8))
{
<>2__current = <token>5__8;
<>1__state = 1;
return true;
}
goto IL_0b0f;
}
<>m__Finally1();
<>7__wrap6 = null;
return false;
IL_1823:
<>2__current = new Token((TokenType)38, (uint?)null);
<>1__state = 83;
return true;
IL_3582:
<token>5__8 = null;
goto IL_3589;
}
}
catch
{
//try-fault
((global::System.IDisposable)this).Dispose();
throw;
}
}
bool global::System.Collections.IEnumerator.MoveNext()
{
//ILSpy generated this explicit interface implementation from .override directive in MoveNext
return this.MoveNext();
}
private void <>m__Finally1()
{
<>1__state = -1;
if (<>7__wrap6 != null)
{
((global::System.IDisposable)<>7__wrap6).Dispose();
}
}
[DebuggerHidden]
void global::System.Collections.IEnumerator.Reset()
{
//IL_0000: Unknown result type (might be due to invalid IL or missing references)
throw new NotSupportedException();
}
[DebuggerHidden]
global::System.Collections.Generic.IEnumerator<Token> global::System.Collections.Generic.IEnumerable<Token>.GetEnumerator()
{
<Modify>d__3 <Modify>d__;
if (<>1__state == -2 && <>l__initialThreadId == Environment.CurrentManagedThreadId)
{
<>1__state = 0;
<Modify>d__ = this;
}
else
{
<Modify>d__ = new <Modify>d__3(0)
{
<>4__this = <>4__this
};
}
<Modify>d__.tokens = <>3__tokens;
return <Modify>d__;
}
[DebuggerHidden]
global::System.Collections.IEnumerator global::System.Collections.IEnumerable.GetEnumerator()
{
return (global::System.Collections.IEnumerator)((global::System.Collections.Generic.IEnumerable<Token>)this).GetEnumerator();
}
}
[CompilerGenerated]
private BetterFirstPersonMod <mod>P;
public PlayerPatch(BetterFirstPersonMod mod)
{
<mod>P = mod;
base..ctor();
}
public bool ShouldRun(string path)
{
return path == "res://Scenes/Entities/Player/player.gdc";
}
[IteratorStateMachine(typeof(<Modify>d__3))]
public global::System.Collections.Generic.IEnumerable<Token> Modify(string path, global::System.Collections.Generic.IEnumerable<Token> tokens)
{
MultiTokenWaiter waiterFollow = new MultiTokenWaiter(new Func<Token, bool>[12]
{
delegate(Token t)
{
IdentifierToken val15 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val15 != null && val15.Name == "skeleton";
},
(Token t) => (int)t.Type == 84,
delegate(Token t)
{
IdentifierToken val14 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val14 != null && val14.Name == "set_bone_custom_pose";
},
(Token t) => (int)t.Type == 80,
delegate(Token t)
{
ConstantToken val12 = (ConstantToken)(object)((t is ConstantToken) ? t : null);
if (val12 != null)
{
Variant value3 = val12.Value;
IntVariant val13 = (IntVariant)(object)((value3 is IntVariant) ? value3 : null);
if (val13 != null)
{
return val13.Value == 1;
}
}
return false;
},
(Token t) => (int)t.Type == 82,
(Token t) => (int)t.Type == 4,
(Token t) => (int)t.Type == 80,
(Token t) => (int)t.Type == 81,
(Token t) => (int)t.Type == 81,
(Token t) => (int)t.Type == 89,
(Token t) => (int)t.Type == 89
}, false, true);
MultiTokenWaiter waiterAnimationData = new MultiTokenWaiter(new Func<Token, bool>[5]
{
delegate(Token t)
{
ConstantToken val10 = (ConstantToken)(object)((t is ConstantToken) ? t : null);
if (val10 != null)
{
Variant value2 = val10.Value;
StringVariant val11 = (StringVariant)(object)((value2 is StringVariant) ? value2 : null);
if (val11 != null)
{
return val11.Value == "back_bend";
}
}
return false;
},
(Token t) => (int)t.Type == 86,
delegate(Token t)
{
ConstantToken val8 = (ConstantToken)(object)((t is ConstantToken) ? t : null);
if (val8 != null)
{
Variant value = val8.Value;
RealVariant val9 = (RealVariant)(object)((value is RealVariant) ? value : null);
if (val9 != null)
{
return val9.Value == 0.0;
}
}
return false;
},
(Token t) => (int)t.Type == 82,
(Token t) => (int)t.Type == 89
}, false, false);
MultiTokenWaiter waiterDisableLeftRightAutoRotate = new MultiTokenWaiter(new Func<Token, bool>[10]
{
delegate(Token t)
{
IdentifierToken val7 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val7 != null && val7.Name == "dir";
},
(Token t) => (int)t.Type == 23,
delegate(Token t)
{
IdentifierToken val6 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val6 != null && val6.Name == "dive_vec";
},
(Token t) => (int)t.Type == 84,
delegate(Token t)
{
IdentifierToken val5 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val5 != null && val5.Name == "normalized";
},
(Token t) => (int)t.Type == 80,
(Token t) => (int)t.Type == 81,
(Token t) => (int)t.Type == 89,
(Token t) => (int)t.Type == 89,
delegate(Token t)
{
IdentifierToken val4 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val4 != null && val4.Name == "rot_help";
}
}, false, true);
MultiTokenWaiter waiterDisableLeftRightAutoRotate2 = new MultiTokenWaiter(new Func<Token, bool>[7]
{
delegate(Token t)
{
IdentifierToken val3 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val3 != null && val3.Name == "dir";
},
(Token t) => (int)t.Type == 82,
(Token t) => (int)t.Type == 4,
(Token t) => (int)t.Type == 84,
delegate(Token t)
{
IdentifierToken val2 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val2 != null && val2.Name == "UP";
},
(Token t) => (int)t.Type == 81,
(Token t) => (int)t.Type == 89
}, false, true);
MultiTokenWaiter waiterZoomUpdate = new MultiTokenWaiter(new Func<Token, bool>[5]
{
(Token t) => (int)t.Type == 48,
delegate(Token t)
{
IdentifierToken val = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val != null && val.Name == "_zoom_update";
},
(Token t) => (int)t.Type == 80,
(Token t) => (int)t.Type == 81,
(Token t) => (int)t.Type == 86
}, false, true);
global::System.Collections.Generic.IEnumerator<Token> enumerator = tokens.GetEnumerator();
try
{
while (((global::System.Collections.IEnumerator)enumerator).MoveNext())
{
Token token = enumerator.Current;
if (!<mod>P.Config.UseBendingInstead && waiterAnimationData.Check(token))
{
yield return token;
yield return (Token)new ConstantToken((Variant)new StringVariant("head_rotate"));
yield return new Token((TokenType)86, (uint?)null);
yield return (Token)new ConstantToken((Variant)new RealVariant(0.0, false));
yield return new Token((TokenType)82, (uint?)null);
yield return new Token((TokenType)89, (uint?)1u);
yield return token;
}
if (waiterZoomUpdate.Check(token))
{
yield return token;
yield return new Token((TokenType)89, (uint?)2u);
yield return (Token)new IdentifierToken("body");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("visible");
yield return new Token((TokenType)23, (uint?)null);
yield return (Token)new ConstantToken((Variant)new BoolVariant(true));
yield return new Token((TokenType)89, (uint?)null);
yield return new Token((TokenType)89, (uint?)null);
}
else if (waiterDisableLeftRightAutoRotate.Check(token))
{
yield return new Token((TokenType)89, (uint?)2u);
yield return new Token((TokenType)38, (uint?)null);
yield return (Token)new IdentifierToken("camera_zoom");
yield return new Token((TokenType)11, (uint?)null);
yield return (Token)new ConstantToken((Variant)new RealVariant(0.5, false));
yield return new Token((TokenType)86, (uint?)null);
yield return new Token((TokenType)89, (uint?)3u);
yield return token;
}
else if (waiterDisableLeftRightAutoRotate2.Check(token))
{
yield return new Token((TokenType)89, (uint?)3u);
}
else if (waiterFollow.Check(token))
{
yield return new Token((TokenType)89, (uint?)1u);
if (!<mod>P.Config.UseBendingInstead)
{
yield return new Token((TokenType)38, (uint?)null);
yield return (Token)new IdentifierToken("animation_data");
yield return new Token((TokenType)76, (uint?)null);
yield return (Token)new ConstantToken((Variant)new StringVariant("head_rotate"));
yield return new Token((TokenType)77, (uint?)null);
yield return new Token((TokenType)8, (uint?)null);
yield return (Token)new ConstantToken((Variant)new RealVariant(0.0, false));
yield return new Token((TokenType)86, (uint?)null);
yield return new Token((TokenType)89, (uint?)2u);
yield return (Token)new IdentifierToken("skeleton");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("set_bone_custom_pose");
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(11L, false));
yield return new Token((TokenType)82, (uint?)null);
yield return (Token)new IdentifierToken("skeleton");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("get_bone_pose");
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(11L, false));
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("rotated");
yield return new Token((TokenType)80, (uint?)null);
yield return new Token((TokenType)4, (uint?)7u);
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(1L, false));
yield return new Token((TokenType)82, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(0L, false));
yield return new Token((TokenType)82, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(0L, false));
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)82, (uint?)null);
yield return (Token)new IdentifierToken("animation_data");
yield return new Token((TokenType)76, (uint?)null);
yield return (Token)new ConstantToken((Variant)new StringVariant("head_rotate"));
yield return new Token((TokenType)77, (uint?)null);
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)89, (uint?)2u);
yield return new Token((TokenType)89, (uint?)1u);
yield return new Token((TokenType)40, (uint?)null);
yield return new Token((TokenType)86, (uint?)null);
yield return new Token((TokenType)89, (uint?)2u);
yield return (Token)new IdentifierToken("skeleton");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("set_bone_custom_pose");
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(11L, false));
yield return new Token((TokenType)82, (uint?)null);
yield return new Token((TokenType)4, (uint?)13u);
yield return new Token((TokenType)80, (uint?)null);
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)89, (uint?)2u);
yield return new Token((TokenType)89, (uint?)1u);
}
yield return new Token((TokenType)38, (uint?)null);
yield return (Token)new IdentifierToken("camera_zoom");
yield return new Token((TokenType)9, (uint?)null);
yield return (Token)new ConstantToken((Variant)new RealVariant(0.5, false));
yield return new Token((TokenType)13, (uint?)null);
yield return new Token((TokenType)15, (uint?)null);
yield return (Token)new IdentifierToken("freecamming");
yield return new Token((TokenType)86, (uint?)null);
yield return new Token((TokenType)89, (uint?)2u);
yield return new Token((TokenType)87, (uint?)null);
yield return (Token)new IdentifierToken("body");
yield return new Token((TokenType)19, (uint?)null);
yield return (Token)new IdentifierToken("player_body");
yield return new Token((TokenType)19, (uint?)null);
yield return (Token)new IdentifierToken("Armature");
yield return new Token((TokenType)19, (uint?)null);
yield return (Token)new IdentifierToken("Skeleton");
yield return new Token((TokenType)19, (uint?)null);
yield return (Token)new IdentifierToken("face");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("visible");
yield return new Token((TokenType)23, (uint?)null);
yield return (Token)new ConstantToken((Variant)new BoolVariant(false));
yield return new Token((TokenType)89, (uint?)2u);
yield return new Token((TokenType)38, (uint?)null);
yield return (Token)new IdentifierToken("state");
yield return new Token((TokenType)8, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(1L, false));
yield return new Token((TokenType)13, (uint?)null);
yield return (Token)new IdentifierToken("state");
yield return new Token((TokenType)8, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(6L, false));
yield return new Token((TokenType)13, (uint?)null);
yield return (Token)new IdentifierToken("state");
yield return new Token((TokenType)8, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(7L, false));
yield return new Token((TokenType)13, (uint?)null);
yield return (Token)new IdentifierToken("state");
yield return new Token((TokenType)8, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(9L, false));
yield return new Token((TokenType)13, (uint?)null);
yield return (Token)new IdentifierToken("state");
yield return new Token((TokenType)8, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(10L, false));
yield return new Token((TokenType)13, (uint?)null);
yield return (Token)new IdentifierToken("state");
yield return new Token((TokenType)8, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(11L, false));
yield return new Token((TokenType)13, (uint?)null);
yield return (Token)new IdentifierToken("state");
yield return new Token((TokenType)8, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(16L, false));
yield return new Token((TokenType)86, (uint?)null);
yield return new Token((TokenType)89, (uint?)3u);
yield return new Token((TokenType)3, (uint?)null);
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("rotation");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("y");
yield return new Token((TokenType)23, (uint?)null);
yield return (Token)new IdentifierToken("camera");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("rotation");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("y");
yield return new Token((TokenType)89, (uint?)3u);
if (!<mod>P.Config.UseBendingInstead)
{
yield return new Token((TokenType)59, (uint?)null);
yield return (Token)new IdentifierToken("head_rotate");
yield return new Token((TokenType)23, (uint?)null);
yield return new Token((TokenType)5, (uint?)53u);
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new IdentifierToken("camera");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("rotation");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("x");
yield return new Token((TokenType)18, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(54L, false));
yield return new Token((TokenType)82, (uint?)null);
yield return (Token)new ConstantToken((Variant)new RealVariant(-65.0, false));
yield return new Token((TokenType)82, (uint?)null);
yield return (Token)new ConstantToken((Variant)new RealVariant(45.0, false));
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)89, (uint?)3u);
yield return (Token)new IdentifierToken("animation_data");
yield return new Token((TokenType)76, (uint?)null);
yield return (Token)new ConstantToken((Variant)new StringVariant("head_rotate"));
yield return new Token((TokenType)77, (uint?)null);
yield return new Token((TokenType)23, (uint?)null);
yield return new Token((TokenType)5, (uint?)43u);
yield return new Token((TokenType)80, (uint?)null);
yield return new Token((TokenType)17, (uint?)null);
yield return (Token)new IdentifierToken("head_rotate");
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)89, (uint?)1u);
}
else
{
yield return new Token((TokenType)59, (uint?)null);
yield return (Token)new IdentifierToken("back_bend");
yield return new Token((TokenType)23, (uint?)null);
yield return new Token((TokenType)5, (uint?)53u);
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new IdentifierToken("camera");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("rotation");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("x");
yield return new Token((TokenType)18, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(54L, false));
yield return new Token((TokenType)82, (uint?)null);
yield return (Token)new ConstantToken((Variant)new RealVariant(-50.0, false));
yield return new Token((TokenType)82, (uint?)null);
yield return (Token)new ConstantToken((Variant)new RealVariant(50.0, false));
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)89, (uint?)3u);
yield return (Token)new IdentifierToken("animation_data");
yield return new Token((TokenType)76, (uint?)null);
yield return (Token)new ConstantToken((Variant)new StringVariant("back_bend"));
yield return new Token((TokenType)77, (uint?)null);
yield return new Token((TokenType)23, (uint?)null);
yield return new Token((TokenType)5, (uint?)43u);
yield return new Token((TokenType)80, (uint?)null);
yield return new Token((TokenType)17, (uint?)null);
yield return (Token)new IdentifierToken("back_bend");
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)89, (uint?)1u);
}
yield return new Token((TokenType)40, (uint?)null);
yield return new Token((TokenType)86, (uint?)null);
yield return new Token((TokenType)89, (uint?)2u);
yield return new Token((TokenType)87, (uint?)null);
yield return (Token)new IdentifierToken("body");
yield return new Token((TokenType)19, (uint?)null);
yield return (Token)new IdentifierToken("player_body");
yield return new Token((TokenType)19, (uint?)null);
yield return (Token)new IdentifierToken("Armature");
yield return new Token((TokenType)19, (uint?)null);
yield return (Token)new IdentifierToken("Skeleton");
yield return new Token((TokenType)19, (uint?)null);
yield return (Token)new IdentifierToken("face");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("visible");
yield return new Token((TokenType)23, (uint?)null);
yield return (Token)new ConstantToken((Variant)new BoolVariant(true));
yield return new Token((TokenType)89, (uint?)2u);
yield return new Token((TokenType)38, (uint?)null);
yield return new Token((TokenType)15, (uint?)null);
yield return (Token)new IdentifierToken("freecamming");
yield return new Token((TokenType)86, (uint?)null);
yield return new Token((TokenType)89, (uint?)3u);
string animationType = (<mod>P.Config.UseBendingInstead ? "back_bend" : "head_rotate");
yield return new Token((TokenType)38, (uint?)null);
yield return (Token)new IdentifierToken("animation_data");
yield return new Token((TokenType)76, (uint?)null);
yield return (Token)new ConstantToken((Variant)new StringVariant(animationType));
yield return new Token((TokenType)77, (uint?)null);
yield return new Token((TokenType)8, (uint?)null);
yield return (Token)new ConstantToken((Variant)new RealVariant(0.0, false));
yield return new Token((TokenType)86, (uint?)null);
yield return new Token((TokenType)89, (uint?)4u);
yield return (Token)new IdentifierToken("animation_data");
yield return new Token((TokenType)76, (uint?)null);
yield return (Token)new ConstantToken((Variant)new StringVariant(animationType));
yield return new Token((TokenType)77, (uint?)null);
yield return new Token((TokenType)23, (uint?)null);
yield return (Token)new ConstantToken((Variant)new RealVariant(0.0, false));
yield return new Token((TokenType)89, (uint?)1u);
yield return token;
}
else
{
yield return token;
}
}
}
finally
{
((global::System.IDisposable)enumerator)?.Dispose();
}
}
}