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: 0x02000617 RID: 1559
|
|
[Token(Token = "0x2000617")]
|
|
[Serializable]
|
|
public class ManagedTexture : IDisposable
|
|
{
|
|
// Token: 0x170007F1 RID: 2033
|
|
// (get) Token: 0x06002E07 RID: 11783 RVA: 0x000BC190 File Offset: 0x000BA390
|
|
[Token(Token = "0x170007F1")]
|
|
public bool UsePalette
|
|
{
|
|
[Token(Token = "0x6002E07")]
|
|
[Address(RVA = "0x4944B0", Offset = "0x4934B0", VA = "0x1804944B0")]
|
|
get
|
|
{
|
|
return this.usePalette;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170007F2 RID: 2034
|
|
// (get) Token: 0x06002E08 RID: 11784 RVA: 0x000BC1A4 File Offset: 0x000BA3A4
|
|
// (set) Token: 0x06002E09 RID: 11785 RVA: 0x000BC1B8 File Offset: 0x000BA3B8
|
|
[Token(Token = "0x170007F2")]
|
|
public RenderTexture LastRenderTexture
|
|
{
|
|
[Token(Token = "0x6002E08")]
|
|
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
|
get;
|
|
[Token(Token = "0x6002E09")]
|
|
[Address(RVA = "0x415810", Offset = "0x414810", VA = "0x180415810")]
|
|
private set;
|
|
}
|
|
|
|
// Token: 0x06002E0A RID: 11786 RVA: 0x000BC1CC File Offset: 0x000BA3CC
|
|
[Token(Token = "0x6002E0A")]
|
|
[Address(RVA = "0x175A5C0", Offset = "0x17595C0", VA = "0x18175A5C0")]
|
|
public ManagedTexture(string MMBOKOLAJFH)
|
|
{
|
|
this.usePalette = false;
|
|
}
|
|
|
|
// Token: 0x06002E0B RID: 11787 RVA: 0x000BC1F4 File Offset: 0x000BA3F4
|
|
[Token(Token = "0x6002E0B")]
|
|
[Address(RVA = "0x175A570", Offset = "0x1759570", VA = "0x18175A570")]
|
|
public ManagedTexture(string MMBOKOLAJFH, bool KDLALCBIHJG)
|
|
{
|
|
this.usePalette = KDLALCBIHJG;
|
|
}
|
|
|
|
// Token: 0x06002E0C RID: 11788 RVA: 0x000BC21C File Offset: 0x000BA41C
|
|
[Token(Token = "0x6002E0C")]
|
|
[Address(RVA = "0x1759B70", Offset = "0x1758B70", VA = "0x181759B70")]
|
|
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: 0x06002E0D RID: 11789 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6002E0D")]
|
|
[Address(RVA = "0x1759760", Offset = "0x1758760", VA = "0x181759760")]
|
|
public PMGCJEPKFOF<byte[]> APKECLFDHBA(bool OLAAANAADBJ)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x170007F3 RID: 2035
|
|
// (get) Token: 0x06002E0E RID: 11790 RVA: 0x000BC284 File Offset: 0x000BA484
|
|
[Token(Token = "0x170007F3")]
|
|
private ManagedTexture.FFIKEACOKDC memoryTexture
|
|
{
|
|
[Token(Token = "0x6002E0E")]
|
|
[Address(RVA = "0x175A610", Offset = "0x1759610", VA = "0x18175A610")]
|
|
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: 0x06002E0F RID: 11791 RVA: 0x000BC2C4 File Offset: 0x000BA4C4
|
|
[Token(Token = "0x6002E0F")]
|
|
[Address(RVA = "0x175A320", Offset = "0x1759320", VA = "0x18175A320")]
|
|
public Texture2D JLKAJPNIHJK(ManagedTexture.HGJAGEHBPNE HAFIIEAHAPD)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06002E0F)
|
|
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06002E10 RID: 11792 RVA: 0x000BC304 File Offset: 0x000BA504
|
|
[Token(Token = "0x6002E10")]
|
|
[Address(RVA = "0x17598F0", Offset = "0x17588F0", VA = "0x1817598F0")]
|
|
public PMGCJEPKFOF<Texture2D> BBLLIEGLEEE(ManagedTexture.HGJAGEHBPNE HAFIIEAHAPD, bool APBGHNEJHJJ = false)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06002E10)
|
|
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06002E11 RID: 11793 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6002E11")]
|
|
[Address(RVA = "0x175A3D0", Offset = "0x17593D0", VA = "0x18175A3D0")]
|
|
public PMGCJEPKFOF<byte[]> JPCPFEHKOCD(bool APBGHNEJHJJ = false, int LEKBGLJAKEJ = 80)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002E12 RID: 11794 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6002E12")]
|
|
[Address(RVA = "0x1759CE0", Offset = "0x1758CE0", VA = "0x181759CE0")]
|
|
public PMGCJEPKFOF<byte[]> GAOHCHLDMFI(bool APBGHNEJHJJ = false)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002E13 RID: 11795 RVA: 0x000BC3F4 File Offset: 0x000BA5F4
|
|
[Token(Token = "0x6002E13")]
|
|
[Address(RVA = "0x1759E50", Offset = "0x1758E50", VA = "0x181759E50")]
|
|
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: 0x06002E14 RID: 11796 RVA: 0x000BC4D4 File Offset: 0x000BA6D4
|
|
[Token(Token = "0x6002E14")]
|
|
[Address(RVA = "0x1759BF0", Offset = "0x1758BF0", VA = "0x181759BF0")]
|
|
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: 0x06002E15 RID: 11797 RVA: 0x000BC534 File Offset: 0x000BA734
|
|
[Token(Token = "0x6002E15")]
|
|
[Address(RVA = "0x1759BF0", Offset = "0x1758BF0", VA = "0x181759BF0", 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: 0x06002E16 RID: 11798 RVA: 0x000BC594 File Offset: 0x000BA794
|
|
[Token(Token = "0x6002E16")]
|
|
[Address(RVA = "0x1759C60", Offset = "0x1758C60", VA = "0x181759C60")]
|
|
[CompilerGenerated]
|
|
private PMGCJEPKFOF<byte[]> ECNNGAJIKPJ(Texture2D JIBGCCOJHJI)
|
|
{
|
|
bool flag = this.usePalette;
|
|
return LJLGDKLOFMO.DNMKIEAJOJH<byte[]>(KGMPNCLMCHO.KGDPKFFLMAL(JIBGCCOJHJI, flag));
|
|
}
|
|
|
|
// Token: 0x0400253E RID: 9534
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400253E")]
|
|
[SerializeField]
|
|
private bool usePalette;
|
|
|
|
// Token: 0x0400253F RID: 9535
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400253F")]
|
|
[SerializeField]
|
|
private string name = "ManagedTexture";
|
|
|
|
// Token: 0x04002541 RID: 9537
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4002541")]
|
|
private PMGCJEPKFOF<Texture2D> _cpuSidePromise;
|
|
|
|
// Token: 0x04002542 RID: 9538
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4002542")]
|
|
private ManagedTexture.FFIKEACOKDC _memTexture;
|
|
|
|
// Token: 0x04002543 RID: 9539
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4002543")]
|
|
private PMGCJEPKFOF<byte[]> _jpgEncodePromise;
|
|
|
|
// Token: 0x04002544 RID: 9540
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4002544")]
|
|
private byte[] _jpgBytes;
|
|
|
|
// Token: 0x04002545 RID: 9541
|
|
[Token(Token = "0x4002545")]
|
|
public const int DEFAULT_JPG_QUALITY = 80;
|
|
|
|
// Token: 0x04002546 RID: 9542
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4002546")]
|
|
private PMGCJEPKFOF<byte[]> _pngEncodePromise;
|
|
|
|
// Token: 0x04002547 RID: 9543
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x4002547")]
|
|
private byte[] _pngBytes;
|
|
|
|
// Token: 0x02000618 RID: 1560
|
|
[Token(Token = "0x2000618")]
|
|
[Flags]
|
|
public enum HGJAGEHBPNE : byte
|
|
{
|
|
// Token: 0x04002549 RID: 9545
|
|
[Token(Token = "0x4002549")]
|
|
None = 0,
|
|
// Token: 0x0400254A RID: 9546
|
|
[Token(Token = "0x400254A")]
|
|
GPU = 1,
|
|
// Token: 0x0400254B RID: 9547
|
|
[Token(Token = "0x400254B")]
|
|
System = 2,
|
|
// Token: 0x0400254C RID: 9548
|
|
[Token(Token = "0x400254C")]
|
|
Both = 3
|
|
}
|
|
|
|
// Token: 0x02000619 RID: 1561
|
|
[Token(Token = "0x2000619")]
|
|
private class FFIKEACOKDC : IDisposable
|
|
{
|
|
// Token: 0x06002E17 RID: 11799 RVA: 0x000BC5B4 File Offset: 0x000BA7B4
|
|
[Token(Token = "0x6002E17")]
|
|
[Address(RVA = "0x17557E0", Offset = "0x17547E0", VA = "0x1817557E0")]
|
|
public FFIKEACOKDC(string MMBOKOLAJFH)
|
|
{
|
|
this.MMBOKOLAJFH = MMBOKOLAJFH;
|
|
this.NOFJALNFIBM = (ulong)0L;
|
|
this.LFHFPLJPDKB = (ManagedTexture.HGJAGEHBPNE)((ulong)0L);
|
|
}
|
|
|
|
// Token: 0x06002E18 RID: 11800 RVA: 0x000BC5E0 File Offset: 0x000BA7E0
|
|
[Token(Token = "0x6002E18")]
|
|
[Address(RVA = "0x8ADF90", Offset = "0x8ACF90", VA = "0x1808ADF90")]
|
|
public FFIKEACOKDC(string MMBOKOLAJFH, Texture2D CAKFKAGPMBF, ManagedTexture.HGJAGEHBPNE HAFIIEAHAPD)
|
|
{
|
|
this.MMBOKOLAJFH = MMBOKOLAJFH;
|
|
this.NOFJALNFIBM = CAKFKAGPMBF;
|
|
this.LFHFPLJPDKB = HAFIIEAHAPD;
|
|
}
|
|
|
|
// Token: 0x06002E19 RID: 11801 RVA: 0x000BC608 File Offset: 0x000BA808
|
|
[Token(Token = "0x6002E19")]
|
|
[Address(RVA = "0x17557B0", Offset = "0x17547B0", VA = "0x1817557B0", Slot = "4")]
|
|
public void Dispose()
|
|
{
|
|
OMCHJHPFBDN.KBFLHNONOHF(this.NOFJALNFIBM);
|
|
this.NOFJALNFIBM = (ulong)0L;
|
|
this.LFHFPLJPDKB = (ManagedTexture.HGJAGEHBPNE)((ulong)0L);
|
|
}
|
|
|
|
// Token: 0x0400254D RID: 9549
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400254D")]
|
|
private string MMBOKOLAJFH;
|
|
|
|
// Token: 0x0400254E RID: 9550
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400254E")]
|
|
public Texture2D NOFJALNFIBM;
|
|
|
|
// Token: 0x0400254F RID: 9551
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400254F")]
|
|
public ManagedTexture.HGJAGEHBPNE LFHFPLJPDKB;
|
|
}
|
|
|
|
// Token: 0x0200061A RID: 1562
|
|
[Token(Token = "0x200061A")]
|
|
[CompilerGenerated]
|
|
private sealed class PAEPFLDMDJC
|
|
{
|
|
// Token: 0x06002E1A RID: 11802 RVA: 0x000BC634 File Offset: 0x000BA834
|
|
[Token(Token = "0x6002E1A")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
public PAEPFLDMDJC()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002E1B RID: 11803 RVA: 0x000BC648 File Offset: 0x000BA848
|
|
[Token(Token = "0x6002E1B")]
|
|
[Address(RVA = "0x17699E0", Offset = "0x17689E0", VA = "0x1817699E0")]
|
|
internal void <GetManagedTexture>b__0()
|
|
{
|
|
ManagedTexture.FFIKEACOKDC memoryTexture = this.<>4__this.memoryTexture;
|
|
}
|
|
|
|
// Token: 0x04002550 RID: 9552
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4002550")]
|
|
public ManagedTexture <>4__this;
|
|
|
|
// Token: 0x04002551 RID: 9553
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4002551")]
|
|
public ManagedTexture.HGJAGEHBPNE textureMemory;
|
|
}
|
|
|
|
// Token: 0x0200061B RID: 1563
|
|
[Token(Token = "0x200061B")]
|
|
[CompilerGenerated]
|
|
private sealed class BKICCOANPJJ
|
|
{
|
|
// Token: 0x06002E1C RID: 11804 RVA: 0x000BC668 File Offset: 0x000BA868
|
|
[Token(Token = "0x6002E1C")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
public BKICCOANPJJ()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002E1D RID: 11805 RVA: 0x000BC67C File Offset: 0x000BA87C
|
|
[Token(Token = "0x6002E1D")]
|
|
[Address(RVA = "0x1750CA0", Offset = "0x174FCA0", VA = "0x181750CA0")]
|
|
internal byte[] <EncodeToJPG>b__0(Texture2D t2d)
|
|
{
|
|
int num = this.quality;
|
|
return t2d.EncodeToJPG(num);
|
|
}
|
|
|
|
// Token: 0x04002552 RID: 9554
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4002552")]
|
|
public int quality;
|
|
}
|
|
|
|
// Token: 0x0200061C RID: 1564
|
|
[Token(Token = "0x200061C")]
|
|
[CompilerGenerated]
|
|
private sealed class FOEPCNDJJKL
|
|
{
|
|
// Token: 0x06002E1E RID: 11806 RVA: 0x000BC698 File Offset: 0x000BA898
|
|
[Token(Token = "0x6002E1E")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
public FOEPCNDJJKL()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002E1F RID: 11807 RVA: 0x000BC6AC File Offset: 0x000BA8AC
|
|
[Token(Token = "0x6002E1F")]
|
|
[Address(RVA = "0x17559F0", Offset = "0x17549F0", VA = "0x1817559F0")]
|
|
internal void <RenderTextureToTexture2D>b__0()
|
|
{
|
|
RenderTexture renderTexture = this.tempRenderTexture;
|
|
int num = 0;
|
|
if (renderTexture != num)
|
|
{
|
|
RenderTexture.ReleaseTemporary(this.tempRenderTexture);
|
|
this.tempRenderTexture = (ulong)0L;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04002553 RID: 9555
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4002553")]
|
|
public RenderTexture tempRenderTexture;
|
|
}
|
|
}
|