terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ LoadTutorialPlayer()

static PlayerFileData Terraria.Player.LoadTutorialPlayer ( )
inlinestatic

Definition at line 18934 of file Player.cs.

18935 {
18936 if (!true)
18937 {
18938 }
18939 long ticks = DateTime.Now.Ticks;
18940 byte[] bytes = Resources.Load<TextAsset>("Tutorial/Player").bytes;
18941 long num = 0L;
18942 BitsByte bitsByte2;
18943 BitsByte bitsByte = (bitsByte2[(int)num] ? 1 : 0);
18944 long num2 = 0L;
18945 BitsByte bitsByte3 = (bitsByte[(int)num2] ? 1 : 0);
18946 long num3 = 0L;
18947 bool flag = bitsByte3[(int)num3];
18948 int myPlayer = Main.myPlayer;
18949 int myPlayer2 = Main.myPlayer;
18950 int myPlayer3 = Main.myPlayer;
18951 int num4 = 1;
18952 Item item;
18953 if (item == null || item != null)
18954 {
18955 long num5 = 0L;
18956 BitsByte bitsByte4;
18957 if (bitsByte4 != null && bitsByte4 == null)
18958 {
18959 throw new ArrayTypeMismatchException();
18960 }
18962 int num6;
18963 if (num4 == 0 && num4 == 0 && num4 == 0 && num4 == 0)
18964 {
18965 if (num4 == 0)
18966 {
18967 num6 = 135;
18968 if (num4 == 0)
18969 {
18970 return 42167192;
18971 }
18972 }
18973 if (num4 != 0)
18974 {
18975 long num7 = DateTime.UtcNow.ToBinary();
18976 }
18977 else
18978 {
18979 if (num4 != 0)
18980 {
18981 return 42167192;
18982 }
18983 if (num4 != 0)
18984 {
18985 return 42167192;
18986 }
18987 if (num4 != 0)
18988 {
18989 return 42167192;
18990 }
18992 if (num4 != 0)
18993 {
18994 }
18996 goto IL_01BC;
18997 }
18998 }
18999 long num8 = 0L;
19000 if (42167192 != 0)
19001 {
19002 if (num6 != 0)
19003 {
19004 }
19005 return 42167192;
19006 }
19007 if (num8 != 0L)
19008 {
19009 throw new OutOfMemoryException();
19010 }
19011 if (num4 != 0)
19012 {
19013 return 42167192;
19014 }
19015 long num9 = 0L;
19016 if (num6 != 0)
19017 {
19018 }
19019 long num10 = 0L;
19020 long num11;
19021 if (num9 == 0L)
19022 {
19023 num11 = 0L;
19024 }
19025 if (num6 != 0)
19026 {
19027 }
19028 if (num10 != 0L)
19029 {
19030 throw new OutOfMemoryException();
19031 }
19032 if (num11 == 0L)
19033 {
19034 }
19035 long num12 = 0L;
19036 if (num10 != 0L)
19037 {
19038 if (num6 != 0)
19039 {
19040 }
19041 long value = num10.m_value;
19042 }
19043 if (num12 == 0L)
19044 {
19045 long num13 = 0L;
19046 if (num6 != 0)
19047 {
19048 }
19049 if (num13 == 0L)
19050 {
19051 }
19052 throw new OutOfMemoryException();
19053 }
19054 throw new OutOfMemoryException();
19055 }
19056 IL_01BC:
19057 throw new ArrayTypeMismatchException();
19058 }
class f__AnonymousType0<< Count > j__TPar
static Object Load(string path)
Definition Resources.cs:20
long ToBinary()
Definition DateTime.cs:398
static DateTime Now
Definition DateTime.cs:530
static DateTime UtcNow
Definition DateTime.cs:1318

References Terraria.GameContent.Creative.CreativePowerManager.Instance, System.item, j__TPar, System.L, UnityEngine.Resources.Load(), Terraria.Main.myPlayer, System.DateTime.Now, System.DateTime.Ticks, System.DateTime.ToBinary(), System.DateTime.UtcNow, and System.value.