491 lines
20 KiB
C#
491 lines
20 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
using UnityEngine.Experimental.Rendering;
|
|
|
|
// Token: 0x0200060D RID: 1549
|
|
[Token(Token = "0x200060D")]
|
|
[Serializable]
|
|
public class ManagedTexture : IDisposable
|
|
{
|
|
// Token: 0x170007E1 RID: 2017
|
|
// (get) Token: 0x06002D8A RID: 11658 RVA: 0x000BB6A0 File Offset: 0x000B98A0
|
|
[Token(Token = "0x170007E1")]
|
|
public bool UsePalette
|
|
{
|
|
[Token(Token = "0x6002D8A")]
|
|
[Address(RVA = "0x42D5E0", Offset = "0x42C3E0", VA = "0x18042D5E0")]
|
|
get
|
|
{
|
|
return this.usePalette;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170007E2 RID: 2018
|
|
// (get) Token: 0x06002D8B RID: 11659 RVA: 0x000BB6B4 File Offset: 0x000B98B4
|
|
// (set) Token: 0x06002D8C RID: 11660 RVA: 0x000BB6C8 File Offset: 0x000B98C8
|
|
[Token(Token = "0x170007E2")]
|
|
public RenderTexture LastRenderTexture
|
|
{
|
|
[Token(Token = "0x6002D8B")]
|
|
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
|
get;
|
|
[Token(Token = "0x6002D8C")]
|
|
[Address(RVA = "0x460F90", Offset = "0x45FD90", VA = "0x180460F90")]
|
|
private set;
|
|
}
|
|
|
|
// Token: 0x06002D8D RID: 11661 RVA: 0x000BB6DC File Offset: 0x000B98DC
|
|
[Token(Token = "0x6002D8D")]
|
|
[Address(RVA = "0xC3FB50", Offset = "0xC3E950", VA = "0x180C3FB50")]
|
|
public ManagedTexture(string MMBOKOLAJFH)
|
|
{
|
|
this.usePalette = false;
|
|
}
|
|
|
|
// Token: 0x06002D8E RID: 11662 RVA: 0x000BB704 File Offset: 0x000B9904
|
|
[Token(Token = "0x6002D8E")]
|
|
[Address(RVA = "0xC3FB00", Offset = "0xC3E900", VA = "0x180C3FB00")]
|
|
public ManagedTexture(string MMBOKOLAJFH, bool KDLALCBIHJG)
|
|
{
|
|
this.usePalette = KDLALCBIHJG;
|
|
}
|
|
|
|
// Token: 0x06002D8F RID: 11663 RVA: 0x000BB72C File Offset: 0x000B992C
|
|
[Token(Token = "0x6002D8F")]
|
|
[Address(RVA = "0xC3F100", Offset = "0xC3DF00", VA = "0x180C3F100")]
|
|
public void DPCIGLIJMPF(RenderTexture LDEKHANDCBO)
|
|
{
|
|
int num = 0;
|
|
this.<LastRenderTexture>k__BackingField = num;
|
|
ManagedTexture.FFIKEACOKDC memoryTexture = this.memoryTexture;
|
|
OMCHJHPFBDN.KBFLHNONOHF(memoryTexture.NOFJALNFIBM);
|
|
memoryTexture.NOFJALNFIBM = num;
|
|
memoryTexture.LFHFPLJPDKB = (ManagedTexture.HGJAGEHBPNE)num;
|
|
this._cpuSidePromise = num;
|
|
this._pngEncodePromise = num;
|
|
this._pngBytes = num;
|
|
this._jpgEncodePromise = num;
|
|
this._jpgBytes = num;
|
|
this.<LastRenderTexture>k__BackingField = LDEKHANDCBO;
|
|
}
|
|
|
|
// Token: 0x06002D90 RID: 11664 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6002D90")]
|
|
[Address(RVA = "0xC3ECF0", Offset = "0xC3DAF0", VA = "0x180C3ECF0")]
|
|
public PMGCJEPKFOF<byte[]> APKECLFDHBA(bool OLAAANAADBJ)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x170007E3 RID: 2019
|
|
// (get) Token: 0x06002D91 RID: 11665 RVA: 0x000BB794 File Offset: 0x000B9994
|
|
[Token(Token = "0x170007E3")]
|
|
private ManagedTexture.FFIKEACOKDC memoryTexture
|
|
{
|
|
[Token(Token = "0x6002D91")]
|
|
[Address(RVA = "0xC3FBA0", Offset = "0xC3E9A0", VA = "0x180C3FBA0")]
|
|
get
|
|
{
|
|
ManagedTexture.FFIKEACOKDC memTexture = this._memTexture;
|
|
if (memTexture == 0)
|
|
{
|
|
string text = this.name;
|
|
ManagedTexture.FFIKEACOKDC ffikeacokdc;
|
|
ffikeacokdc.MMBOKOLAJFH = text;
|
|
ffikeacokdc.NOFJALNFIBM = (ulong)0L;
|
|
ffikeacokdc.LFHFPLJPDKB = (ManagedTexture.HGJAGEHBPNE)((ulong)0L);
|
|
this._memTexture = ffikeacokdc;
|
|
}
|
|
return memTexture;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002D92 RID: 11666 RVA: 0x000BB7D4 File Offset: 0x000B99D4
|
|
[Token(Token = "0x6002D92")]
|
|
[Address(RVA = "0xC3F8B0", Offset = "0xC3E6B0", VA = "0x180C3F8B0")]
|
|
public Texture2D JLKAJPNIHJK(ManagedTexture.HGJAGEHBPNE HAFIIEAHAPD)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06002D92)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Texture2D ManagedTexture::JLKAJPNIHJK(ManagedTexture/HGJAGEHBPNE)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_27:
|
|
stloc:InvalidOperationException(var_1_31, newobj:InvalidOperationException(InvalidOperationException::.ctor, ldstr:string("Texture is not in the desired memory location!")))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1660
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06002D93 RID: 11667 RVA: 0x000BB814 File Offset: 0x000B9A14
|
|
[Token(Token = "0x6002D93")]
|
|
[Address(RVA = "0xC3EE80", Offset = "0xC3DC80", VA = "0x180C3EE80")]
|
|
public PMGCJEPKFOF<Texture2D> BBLLIEGLEEE(ManagedTexture.HGJAGEHBPNE HAFIIEAHAPD, bool APBGHNEJHJJ = false)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06002D93)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling PMGCJEPKFOF<UnityEngine.Texture2D> ManagedTexture::BBLLIEGLEEE(ManagedTexture/HGJAGEHBPNE,System.Boolean)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_D8:
|
|
stloc:InvalidOperationException(var_13_E2, newobj:InvalidOperationException(InvalidOperationException::.ctor, ldstr:string("Texture is not in the desired memory location!")))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1660
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06002D94 RID: 11668 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6002D94")]
|
|
[Address(RVA = "0xC3F960", Offset = "0xC3E760", VA = "0x180C3F960")]
|
|
public PMGCJEPKFOF<byte[]> JPCPFEHKOCD(bool APBGHNEJHJJ = false, int LEKBGLJAKEJ = 80)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002D95 RID: 11669 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6002D95")]
|
|
[Address(RVA = "0xC3F270", Offset = "0xC3E070", VA = "0x180C3F270")]
|
|
public PMGCJEPKFOF<byte[]> GAOHCHLDMFI(bool APBGHNEJHJJ = false)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002D96 RID: 11670 RVA: 0x000BB904 File Offset: 0x000B9B04
|
|
[Token(Token = "0x6002D96")]
|
|
[Address(RVA = "0xC3F3E0", Offset = "0xC3E1E0", VA = "0x180C3F3E0")]
|
|
private static PMGCJEPKFOF<Texture2D> HJHEHGIHNAC(string MMBOKOLAJFH, RenderTexture LDEKHANDCBO, ref Texture2D EIAHMMFIMPP, bool APBGHNEJHJJ, ManagedTexture.HGJAGEHBPNE BIIIPOIBPLB = ManagedTexture.HGJAGEHBPNE.GPU)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
int num2 = 0;
|
|
if (LDEKHANDCBO == num2)
|
|
{
|
|
break;
|
|
}
|
|
CBLLFJEDOII<Texture2D> cbllfjedoii = new CBLLFJEDOII();
|
|
GraphicsFormat graphicsFormat = LDEKHANDCBO.graphicsFormat;
|
|
int num3 = (int)graphicsFormat;
|
|
int num4 = (int)graphicsFormat;
|
|
if (!APBGHNEJHJJ)
|
|
{
|
|
}
|
|
int num5 = Mathf.Min(num3, num4);
|
|
int num6 = 0;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
string text = string.Format("{0}_{1}_T2D", LDEKHANDCBO, num6);
|
|
Texture2D texture2D;
|
|
texture2D.name = text;
|
|
}
|
|
if (LDEKHANDCBO.format != RenderTextureFormat.ARGB32 || LDEKHANDCBO.antiAliasing > 1)
|
|
{
|
|
RenderTexture renderTexture;
|
|
RenderTexture tempRenderTexture = renderTexture;
|
|
Graphics.Blit(LDEKHANDCBO, renderTexture);
|
|
RenderTexture tempRenderTexture3 = tempRenderTexture;
|
|
Action action = delegate
|
|
{
|
|
RenderTexture tempRenderTexture2 = tempRenderTexture;
|
|
int num7 = 0;
|
|
if (tempRenderTexture2 != num7)
|
|
{
|
|
RenderTexture.ReleaseTemporary(tempRenderTexture);
|
|
tempRenderTexture = (ulong)0L;
|
|
}
|
|
};
|
|
cbllfjedoii.System.Collections.IEnumerator.Reset();
|
|
}
|
|
foepcndjjkl -= num5;
|
|
foepcndjjkl -= foepcndjjkl;
|
|
foepcndjjkl -= foepcndjjkl;
|
|
foepcndjjkl -= foepcndjjkl;
|
|
RenderTextureFormat renderTextureFormat;
|
|
if (renderTextureFormat == RenderTextureFormat.ARGB32)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return JJEKJGALHKO.MKLIDFOGIGO<Texture2D>(0);
|
|
}
|
|
|
|
// Token: 0x06002D97 RID: 11671 RVA: 0x000BB9E4 File Offset: 0x000B9BE4
|
|
[Token(Token = "0x6002D97")]
|
|
[Address(RVA = "0xC3F180", Offset = "0xC3DF80", VA = "0x180C3F180")]
|
|
public void GNGOOMMLPHE()
|
|
{
|
|
int num = 0;
|
|
this.<LastRenderTexture>k__BackingField = num;
|
|
ManagedTexture.FFIKEACOKDC memoryTexture = this.memoryTexture;
|
|
OMCHJHPFBDN.KBFLHNONOHF(memoryTexture.NOFJALNFIBM);
|
|
memoryTexture.NOFJALNFIBM = num;
|
|
memoryTexture.LFHFPLJPDKB = (ManagedTexture.HGJAGEHBPNE)num;
|
|
this._cpuSidePromise = num;
|
|
this._pngEncodePromise = num;
|
|
this._pngBytes = num;
|
|
this._jpgEncodePromise = num;
|
|
this._jpgBytes = num;
|
|
}
|
|
|
|
// Token: 0x06002D98 RID: 11672 RVA: 0x000BBA44 File Offset: 0x000B9C44
|
|
[Token(Token = "0x6002D98")]
|
|
[Address(RVA = "0xC3F180", Offset = "0xC3DF80", VA = "0x180C3F180", Slot = "4")]
|
|
public void Dispose()
|
|
{
|
|
int num = 0;
|
|
this.<LastRenderTexture>k__BackingField = num;
|
|
ManagedTexture.FFIKEACOKDC memoryTexture = this.memoryTexture;
|
|
OMCHJHPFBDN.KBFLHNONOHF(memoryTexture.NOFJALNFIBM);
|
|
memoryTexture.NOFJALNFIBM = num;
|
|
memoryTexture.LFHFPLJPDKB = (ManagedTexture.HGJAGEHBPNE)num;
|
|
this._cpuSidePromise = num;
|
|
this._pngEncodePromise = num;
|
|
this._pngBytes = num;
|
|
this._jpgEncodePromise = num;
|
|
this._jpgBytes = num;
|
|
}
|
|
|
|
// Token: 0x06002D99 RID: 11673 RVA: 0x000BBAA4 File Offset: 0x000B9CA4
|
|
[Token(Token = "0x6002D99")]
|
|
[Address(RVA = "0xC3F1F0", Offset = "0xC3DFF0", VA = "0x180C3F1F0")]
|
|
[CompilerGenerated]
|
|
private PMGCJEPKFOF<byte[]> ECNNGAJIKPJ(Texture2D JIBGCCOJHJI)
|
|
{
|
|
bool flag = this.usePalette;
|
|
return LJLGDKLOFMO.DNMKIEAJOJH<byte[]>(KGMPNCLMCHO.KGDPKFFLMAL(JIBGCCOJHJI, flag));
|
|
}
|
|
|
|
// Token: 0x040024DB RID: 9435
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40024DB")]
|
|
[SerializeField]
|
|
private bool usePalette;
|
|
|
|
// Token: 0x040024DC RID: 9436
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40024DC")]
|
|
[SerializeField]
|
|
private string name = "ManagedTexture";
|
|
|
|
// Token: 0x040024DE RID: 9438
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40024DE")]
|
|
private PMGCJEPKFOF<Texture2D> _cpuSidePromise;
|
|
|
|
// Token: 0x040024DF RID: 9439
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40024DF")]
|
|
private ManagedTexture.FFIKEACOKDC _memTexture;
|
|
|
|
// Token: 0x040024E0 RID: 9440
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x40024E0")]
|
|
private PMGCJEPKFOF<byte[]> _jpgEncodePromise;
|
|
|
|
// Token: 0x040024E1 RID: 9441
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x40024E1")]
|
|
private byte[] _jpgBytes;
|
|
|
|
// Token: 0x040024E2 RID: 9442
|
|
[Token(Token = "0x40024E2")]
|
|
public const int DEFAULT_JPG_QUALITY = 80;
|
|
|
|
// Token: 0x040024E3 RID: 9443
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x40024E3")]
|
|
private PMGCJEPKFOF<byte[]> _pngEncodePromise;
|
|
|
|
// Token: 0x040024E4 RID: 9444
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x40024E4")]
|
|
private byte[] _pngBytes;
|
|
|
|
// Token: 0x0200060E RID: 1550
|
|
[Token(Token = "0x200060E")]
|
|
[Flags]
|
|
public enum HGJAGEHBPNE : byte
|
|
{
|
|
// Token: 0x040024E6 RID: 9446
|
|
[Token(Token = "0x40024E6")]
|
|
None = 0,
|
|
// Token: 0x040024E7 RID: 9447
|
|
[Token(Token = "0x40024E7")]
|
|
GPU = 1,
|
|
// Token: 0x040024E8 RID: 9448
|
|
[Token(Token = "0x40024E8")]
|
|
System = 2,
|
|
// Token: 0x040024E9 RID: 9449
|
|
[Token(Token = "0x40024E9")]
|
|
Both = 3
|
|
}
|
|
|
|
// Token: 0x0200060F RID: 1551
|
|
[Token(Token = "0x200060F")]
|
|
private class FFIKEACOKDC : IDisposable
|
|
{
|
|
// Token: 0x06002D9A RID: 11674 RVA: 0x000BBAC4 File Offset: 0x000B9CC4
|
|
[Token(Token = "0x6002D9A")]
|
|
[Address(RVA = "0xC3A9A0", Offset = "0xC397A0", VA = "0x180C3A9A0")]
|
|
public FFIKEACOKDC(string MMBOKOLAJFH)
|
|
{
|
|
this.MMBOKOLAJFH = MMBOKOLAJFH;
|
|
this.NOFJALNFIBM = (ulong)0L;
|
|
this.LFHFPLJPDKB = (ManagedTexture.HGJAGEHBPNE)((ulong)0L);
|
|
}
|
|
|
|
// Token: 0x06002D9B RID: 11675 RVA: 0x000BBAF0 File Offset: 0x000B9CF0
|
|
[Token(Token = "0x6002D9B")]
|
|
[Address(RVA = "0xC3A9E0", Offset = "0xC397E0", VA = "0x180C3A9E0")]
|
|
public FFIKEACOKDC(string MMBOKOLAJFH, Texture2D CAKFKAGPMBF, ManagedTexture.HGJAGEHBPNE HAFIIEAHAPD)
|
|
{
|
|
this.MMBOKOLAJFH = MMBOKOLAJFH;
|
|
this.NOFJALNFIBM = CAKFKAGPMBF;
|
|
this.LFHFPLJPDKB = HAFIIEAHAPD;
|
|
}
|
|
|
|
// Token: 0x06002D9C RID: 11676 RVA: 0x000BBB18 File Offset: 0x000B9D18
|
|
[Token(Token = "0x6002D9C")]
|
|
[Address(RVA = "0xC3A970", Offset = "0xC39770", VA = "0x180C3A970", Slot = "4")]
|
|
public void Dispose()
|
|
{
|
|
OMCHJHPFBDN.KBFLHNONOHF(this.NOFJALNFIBM);
|
|
this.NOFJALNFIBM = (ulong)0L;
|
|
this.LFHFPLJPDKB = (ManagedTexture.HGJAGEHBPNE)((ulong)0L);
|
|
}
|
|
|
|
// Token: 0x040024EA RID: 9450
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40024EA")]
|
|
private string MMBOKOLAJFH;
|
|
|
|
// Token: 0x040024EB RID: 9451
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40024EB")]
|
|
public Texture2D NOFJALNFIBM;
|
|
|
|
// Token: 0x040024EC RID: 9452
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40024EC")]
|
|
public ManagedTexture.HGJAGEHBPNE LFHFPLJPDKB;
|
|
}
|
|
|
|
// Token: 0x02000610 RID: 1552
|
|
[Token(Token = "0x2000610")]
|
|
[CompilerGenerated]
|
|
private sealed class PAEPFLDMDJC
|
|
{
|
|
// Token: 0x06002D9D RID: 11677 RVA: 0x000BBB44 File Offset: 0x000B9D44
|
|
[Token(Token = "0x6002D9D")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
public PAEPFLDMDJC()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002D9E RID: 11678 RVA: 0x000BBB58 File Offset: 0x000B9D58
|
|
[Token(Token = "0x6002D9E")]
|
|
[Address(RVA = "0xC4F340", Offset = "0xC4E140", VA = "0x180C4F340")]
|
|
internal void <GetManagedTexture>b__0()
|
|
{
|
|
ManagedTexture.FFIKEACOKDC memoryTexture = this.<>4__this.memoryTexture;
|
|
}
|
|
|
|
// Token: 0x040024ED RID: 9453
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40024ED")]
|
|
public ManagedTexture <>4__this;
|
|
|
|
// Token: 0x040024EE RID: 9454
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40024EE")]
|
|
public ManagedTexture.HGJAGEHBPNE textureMemory;
|
|
}
|
|
|
|
// Token: 0x02000611 RID: 1553
|
|
[Token(Token = "0x2000611")]
|
|
[CompilerGenerated]
|
|
private sealed class BKICCOANPJJ
|
|
{
|
|
// Token: 0x06002D9F RID: 11679 RVA: 0x000BBB78 File Offset: 0x000B9D78
|
|
[Token(Token = "0x6002D9F")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
public BKICCOANPJJ()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002DA0 RID: 11680 RVA: 0x000BBB8C File Offset: 0x000B9D8C
|
|
[Token(Token = "0x6002DA0")]
|
|
[Address(RVA = "0xC36220", Offset = "0xC35020", VA = "0x180C36220")]
|
|
internal byte[] <EncodeToJPG>b__0(Texture2D t2d)
|
|
{
|
|
int num = this.quality;
|
|
return t2d.EncodeToJPG(num);
|
|
}
|
|
|
|
// Token: 0x040024EF RID: 9455
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40024EF")]
|
|
public int quality;
|
|
}
|
|
|
|
// Token: 0x02000612 RID: 1554
|
|
[Token(Token = "0x2000612")]
|
|
[CompilerGenerated]
|
|
private sealed class FOEPCNDJJKL
|
|
{
|
|
// Token: 0x06002DA1 RID: 11681 RVA: 0x000BBBA8 File Offset: 0x000B9DA8
|
|
[Token(Token = "0x6002DA1")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
public FOEPCNDJJKL()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002DA2 RID: 11682 RVA: 0x000BBBBC File Offset: 0x000B9DBC
|
|
[Token(Token = "0x6002DA2")]
|
|
[Address(RVA = "0xC3AC00", Offset = "0xC39A00", VA = "0x180C3AC00")]
|
|
internal void <RenderTextureToTexture2D>b__0()
|
|
{
|
|
RenderTexture renderTexture = this.tempRenderTexture;
|
|
int num = 0;
|
|
if (renderTexture != num)
|
|
{
|
|
RenderTexture.ReleaseTemporary(this.tempRenderTexture);
|
|
this.tempRenderTexture = (ulong)0L;
|
|
}
|
|
}
|
|
|
|
// Token: 0x040024F0 RID: 9456
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40024F0")]
|
|
public RenderTexture tempRenderTexture;
|
|
}
|
|
}
|