118 lines
5.8 KiB
C#
118 lines
5.8 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace RecRoom
|
|
{
|
|
// Token: 0x02001D1C RID: 7452
|
|
[Token(Token = "0x2001D1C")]
|
|
[StructLayout(3)]
|
|
public class ImageCompositor : MonoBehaviour
|
|
{
|
|
// Token: 0x0600C830 RID: 51248 RVA: 0x002F817C File Offset: 0x002F637C
|
|
[Token(Token = "0x600C830")]
|
|
[Address(RVA = "0x10C77E0", Offset = "0x10C61E0", VA = "0x1810C77E0")]
|
|
public IEnumerator CompositeAsync(Texture DIEPOPNJNCO, string PAANJCAOOAG, Action<Texture2D> DGFOAAGEKJO)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600C830)
|
|
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x0600C831 RID: 51249 RVA: 0x002F81B4 File Offset: 0x002F63B4
|
|
[Token(Token = "0x600C831")]
|
|
[Address(RVA = "0x10C7650", Offset = "0x10C6050", VA = "0x1810C7650")]
|
|
private void Awake()
|
|
{
|
|
Transform transform = base.transform;
|
|
Bounds joakfpjogne = FKHCBJLMECH.JOAKFPJOGNE;
|
|
Bounds joakfpjogne2 = FKHCBJLMECH.JOAKFPJOGNE;
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
}
|
|
|
|
// Token: 0x0600C832 RID: 51250 RVA: 0x002F81E8 File Offset: 0x002F63E8
|
|
[Token(Token = "0x600C832")]
|
|
[Address(RVA = "0x10C7870", Offset = "0x10C6270", VA = "0x1810C7870")]
|
|
public ImageCompositor()
|
|
{
|
|
}
|
|
|
|
// Token: 0x040084E7 RID: 34023
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40084E7")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.SelfAndChildren, false, false)]
|
|
[Header("References:")]
|
|
private Camera cam;
|
|
|
|
// Token: 0x040084E8 RID: 34024
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40084E8")]
|
|
[SerializeField]
|
|
private Texture2D logo;
|
|
|
|
// Token: 0x040084E9 RID: 34025
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40084E9")]
|
|
[SerializeField]
|
|
private AspectRatioFitter logoAspect;
|
|
|
|
// Token: 0x040084EA RID: 34026
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40084EA")]
|
|
[SerializeField]
|
|
private int maxTextLength = (int)((ulong)30L);
|
|
|
|
// Token: 0x040084EB RID: 34027
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x40084EB")]
|
|
[SerializeField]
|
|
private AspectRatioFitter uiAspect;
|
|
|
|
// Token: 0x040084EC RID: 34028
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x40084EC")]
|
|
[SerializeField]
|
|
private RawImage uiBackground;
|
|
|
|
// Token: 0x040084ED RID: 34029
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x40084ED")]
|
|
[SerializeField]
|
|
private RawImage uiLogo;
|
|
|
|
// Token: 0x040084EE RID: 34030
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x40084EE")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.SelfAndChildren, false, false)]
|
|
private TMP_Text uiText;
|
|
}
|
|
}
|