118 lines
5.6 KiB
C#
118 lines
5.6 KiB
C#
using System;
|
|
using System.Collections;
|
|
using Cpp2IlInjected;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace RecRoom
|
|
{
|
|
// Token: 0x020020C3 RID: 8387
|
|
[Token(Token = "0x20020C3")]
|
|
public class ImageCompositor : MonoBehaviour
|
|
{
|
|
// Token: 0x0600D63A RID: 54842 RVA: 0x00319E8C File Offset: 0x0031808C
|
|
[Token(Token = "0x600D63A")]
|
|
[Address(RVA = "0x817890", Offset = "0x816690", VA = "0x180817890")]
|
|
public IEnumerator CompositeAsync(Texture DIEPOPNJNCO, string PAANJCAOOAG, Action<Texture2D> DGFOAAGEKJO)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600D63A)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator RecRoom.ImageCompositor::CompositeAsync(UnityEngine.Texture,System.String,System.Action`1<UnityEngine.Texture2D>)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(EOHIBFAGHBK::System.IDisposable.Dispose, ldloc:EOHIBFAGHBK(var_0))
|
|
stfld:Texture(EOHIBFAGHBK::source, ldloc:EOHIBFAGHBK(var_0), ldloc:Texture(DIEPOPNJNCO))
|
|
stfld:string(EOHIBFAGHBK::text, ldloc:EOHIBFAGHBK(var_0), ldloc:string(PAANJCAOOAG))
|
|
stfld:class [mscorlib]System.Action`1<class [UnityEngine.CoreModule]UnityEngine.Texture2D>(EOHIBFAGHBK::output, ldloc:EOHIBFAGHBK(var_0), ldloc:class [mscorlib]System.Action`1<class [UnityEngine.CoreModule]UnityEngine.Texture2D>(DGFOAAGEKJO))
|
|
stfld:int32(EOHIBFAGHBK::<>1__state, ldloc:EOHIBFAGHBK(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
|
stfld:ImageCompositor(EOHIBFAGHBK::<>4__this, ldloc:EOHIBFAGHBK(var_0), ldloc:ImageCompositor(this))
|
|
}
|
|
|
|
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.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: 0x0600D63B RID: 54843 RVA: 0x00319EC4 File Offset: 0x003180C4
|
|
[Token(Token = "0x600D63B")]
|
|
[Address(RVA = "0x817700", Offset = "0x816500", VA = "0x180817700")]
|
|
private void Awake()
|
|
{
|
|
Transform transform = base.transform;
|
|
Bounds joakfpjogne = FKHCBJLMECH.JOAKFPJOGNE;
|
|
Bounds joakfpjogne2 = FKHCBJLMECH.JOAKFPJOGNE;
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
Vector3 vector2;
|
|
float z2 = vector2.z;
|
|
}
|
|
|
|
// Token: 0x0600D63C RID: 54844 RVA: 0x00319F00 File Offset: 0x00318100
|
|
[Token(Token = "0x600D63C")]
|
|
[Address(RVA = "0x817920", Offset = "0x816720", VA = "0x180817920")]
|
|
public ImageCompositor()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400897C RID: 35196
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400897C")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.SelfAndChildren, false, false, false)]
|
|
[Header("References:")]
|
|
private Camera cam;
|
|
|
|
// Token: 0x0400897D RID: 35197
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400897D")]
|
|
[SerializeField]
|
|
private Texture2D logo;
|
|
|
|
// Token: 0x0400897E RID: 35198
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400897E")]
|
|
[SerializeField]
|
|
private AspectRatioFitter logoAspect;
|
|
|
|
// Token: 0x0400897F RID: 35199
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400897F")]
|
|
[SerializeField]
|
|
private int maxTextLength = (int)((ulong)30L);
|
|
|
|
// Token: 0x04008980 RID: 35200
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4008980")]
|
|
[SerializeField]
|
|
private AspectRatioFitter uiAspect;
|
|
|
|
// Token: 0x04008981 RID: 35201
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4008981")]
|
|
[SerializeField]
|
|
private RawImage uiBackground;
|
|
|
|
// Token: 0x04008982 RID: 35202
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4008982")]
|
|
[SerializeField]
|
|
private RawImage uiLogo;
|
|
|
|
// Token: 0x04008983 RID: 35203
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x4008983")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.SelfAndChildren, false, false, false)]
|
|
private TMP_Text uiText;
|
|
}
|
|
}
|