using System; using System.Collections.Generic; using Cpp2IlInjected; using UnityEngine; using UnityEngine.Experimental.Rendering; // Token: 0x020021B9 RID: 8633 [Token(Token = "0x20021B9")] public static class FLPHOMJCLFL { // Token: 0x0600DD4B RID: 56651 RVA: 0x00335B0C File Offset: 0x00333D0C [Token(Token = "0x600DD4B")] [Address(RVA = "0x11869E0", Offset = "0x11857E0", VA = "0x1811869E0")] public static Texture2DArray NDCJJFFPLFP(string MMBOKOLAJFH, IReadOnlyList BLOGMIIDEJP, Vector2? OJJOHDIFMEG, TextureFormat NBKKPPCAOLL, bool CKLCAEHJGBA) { Vector2 value = OJJOHDIFMEG.Value; Vector2 value2 = OJJOHDIFMEG.Value; int masterTextureLimit = QualitySettings.masterTextureLimit; Vector2 value3 = OJJOHDIFMEG.Value; Vector2 value4 = OJJOHDIFMEG.Value; int num = 0; int num2 = 0; Texture2DArray texture2DArray; ulong num3; texture2DArray.Apply(num2 != 0, num3 != 0UL); if ((ulong)num < num3) { num += num; if ((ulong)num == num3) { goto IL_89; } num++; } int num4 = 0; if (num >= texture2DArray) { goto IL_FD; } if (num < num4) { num += num; if (num == num4) { goto IL_97; } num++; } FLPHOMJCLFL.OHKIPBOMDCG(num, texture2DArray, num); num++; IL_89: texture2DArray += texture2DArray; num += 19; IL_97: texture2DArray += texture2DArray; num += 19; bool flag; bool flag2; if (!flag || !flag2) { goto IL_10A; } int masterTextureLimit2 = QualitySettings.masterTextureLimit; int masterTextureLimit3 = QualitySettings.masterTextureLimit; Texture2DArray texture2DArray2; if (texture2DArray > 0 && num > 0) { int num5 = 0; ulong num6; texture2DArray2.Apply(num5 != 0, num6 != 0UL); int num7 = 0; Texture2DArray texture2DArray3; ulong num8; texture2DArray3.Apply(num7 != 0, num8 != 0UL); FLPHOMJCLFL.NOHOCNAHJEB(BLOGMIIDEJP, texture2DArray3, texture2DArray2); OMCHJHPFBDN.KBFLHNONOHF(texture2DArray3); } IL_FD: Debug.LogError("Cannot create a Texture2DArray when using masterTextureLimit to reduce quality that will result in a zero-sized texture"); IL_10A: Texture2DArray texture2DArray4; texture2DArray2 = texture2DArray4; throw new NullReferenceException(); } // Token: 0x0600DD4C RID: 56652 RVA: 0x00335C30 File Offset: 0x00333E30 [Token(Token = "0x600DD4C")] [Address(RVA = "0x1186710", Offset = "0x1185510", VA = "0x181186710")] private static void BPFDNECIFMI(IReadOnlyList BLOGMIIDEJP, Texture2DArray OAKEMFMMCKA) { int num = 0; num += num; num++; int num2 = 0; if (num < num2) { num += num; if (num == num2) { goto IL_2D; } num++; } FLPHOMJCLFL.OHKIPBOMDCG(num, OAKEMFMMCKA, num); num++; num += 19; IL_2D: num += 19; } // Token: 0x0600DD4D RID: 56653 RVA: 0x00335C78 File Offset: 0x00333E78 [Token(Token = "0x600DD4D")] [Address(RVA = "0x1187170", Offset = "0x1185F70", VA = "0x181187170")] public static void OHKIPBOMDCG(Texture2D OOEEPIKBHHO, Texture2DArray OAKEMFMMCKA, int EODMCMBIENL) { int num = 0; if (!(OOEEPIKBHHO == num)) { int graphicsFormat = (int)OOEEPIKBHHO.graphicsFormat; GraphicsFormat graphicsFormat2 = OAKEMFMMCKA.graphicsFormat; if (graphicsFormat == (int)graphicsFormat2) { int num2 = 0; int mipmapCount = OOEEPIKBHHO.mipmapCount; if (num2 >= mipmapCount) { return; } int num3 = 0; Graphics.CopyTexture(OOEEPIKBHHO, num3, num2, OAKEMFMMCKA, EODMCMBIENL, num2); num2++; } object[] array = new object[4]; GraphicsFormat graphicsFormat3 = OAKEMFMMCKA.graphicsFormat; if (graphicsFormat3 != GraphicsFormat.None) { } array[0] = graphicsFormat3; GraphicsFormat graphicsFormat4 = OOEEPIKBHHO.graphicsFormat; if (graphicsFormat4 != GraphicsFormat.None) { } array[2] = graphicsFormat4; Debug.LogError(string.Format("Expected texture size ({0}, {1}) but got ({2}, {3})", array)); } } // Token: 0x0600DD4E RID: 56654 RVA: 0x00335D18 File Offset: 0x00333F18 [Token(Token = "0x600DD4E")] [Address(RVA = "0x1186ED0", Offset = "0x1185CD0", VA = "0x181186ED0")] private static void NOHOCNAHJEB(IReadOnlyList BLOGMIIDEJP, Texture2DArray JKFEOFPDFPM, Texture2DArray OAKEMFMMCKA) { int num = 0; if (num < OAKEMFMMCKA) { num += num; if (num == OAKEMFMMCKA) { goto IL_72; } num++; } int num2 = 0; if (num < num2) { num += num; if (num == num2) { goto IL_79; } num++; } int num3 = 0; FLPHOMJCLFL.OHKIPBOMDCG(num, JKFEOFPDFPM, num3); int num4 = JKFEOFPDFPM.mipmapCount; int masterTextureLimit = QualitySettings.masterTextureLimit; num4 -= masterTextureLimit; if (num >= num4) { goto IL_80; } GraphicsFormat graphicsFormat = JKFEOFPDFPM.graphicsFormat; int masterTextureLimit2 = QualitySettings.masterTextureLimit; int masterTextureLimit3 = QualitySettings.masterTextureLimit; int num5 = 0; num++; IL_72: num5 += num5; IL_79: num5 += num5; IL_80: num++; } // Token: 0x0600DD4F RID: 56655 RVA: 0x00335DB0 File Offset: 0x00333FB0 [Token(Token = "0x600DD4F")] [Address(RVA = "0x1186880", Offset = "0x1185680", VA = "0x181186880")] private static void HAOHNBFKCJB(Texture2DArray JKFEOFPDFPM, Texture2DArray NLJCCCDPOJC, int EHJBGFBCCBK) { int num = 0; int num2 = 0; int num3 = JKFEOFPDFPM.mipmapCount; int masterTextureLimit = QualitySettings.masterTextureLimit; num3 -= masterTextureLimit; if (num2 < num3) { GraphicsFormat graphicsFormat = JKFEOFPDFPM.graphicsFormat; int num4 = (int)graphicsFormat; int masterTextureLimit2 = QualitySettings.masterTextureLimit; int masterTextureLimit3 = QualitySettings.masterTextureLimit; int num5 = 0; int num6 = 0; int num7 = 0; Graphics.CopyTexture(JKFEOFPDFPM, num7, num, num5, num6, num4, masterTextureLimit2, NLJCCCDPOJC, EHJBGFBCCBK, num, num6, num6); num++; } } }