71 lines
3.9 KiB
C#
71 lines
3.9 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom
|
|
{
|
|
// Token: 0x02001C7B RID: 7291
|
|
[Token(Token = "0x2001C7B")]
|
|
[StructLayout(3)]
|
|
public class LogoutSequence : MonoBehaviour
|
|
{
|
|
// Token: 0x0600C378 RID: 50040 RVA: 0x002E1E00 File Offset: 0x002E0000
|
|
[Token(Token = "0x600C378")]
|
|
[Address(RVA = "0xF96F90", Offset = "0xF95990", VA = "0x180F96F90")]
|
|
private void Awake()
|
|
{
|
|
if (!SingletonMonoBehaviour.IsInitialized || !SingletonMonoBehaviour.Instance.NCCECCFGPMO)
|
|
{
|
|
int num = 0;
|
|
base.enabled = num != 0;
|
|
return;
|
|
}
|
|
global::UnityEngine.Object.DontDestroyOnLoad(base.gameObject);
|
|
GameRoot instance = SingletonMonoBehaviour.Instance;
|
|
int num2 = 0;
|
|
if (instance != num2)
|
|
{
|
|
global::UnityEngine.Object.Destroy(SingletonMonoBehaviour.Instance.gameObject);
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C379 RID: 50041 RVA: 0x002E1E64 File Offset: 0x002E0064
|
|
[Token(Token = "0x600C379")]
|
|
[Address(RVA = "0xF97160", Offset = "0xF95B60", VA = "0x180F97160")]
|
|
private IEnumerator Start()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600C379)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator RecRoom.LogoutSequence::Start()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(OKKJEOGDJFH::System.IDisposable.Dispose, ldloc:OKKJEOGDJFH(var_0))
|
|
stfld:int32(OKKJEOGDJFH::<>1__state, ldloc:OKKJEOGDJFH(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
|
stfld:LogoutSequence(OKKJEOGDJFH::<>4__this, ldloc:OKKJEOGDJFH(var_0), ldloc:LogoutSequence(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: 0x0600C37A RID: 50042 RVA: 0x002E1E88 File Offset: 0x002E0088
|
|
[Token(Token = "0x600C37A")]
|
|
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
|
|
public LogoutSequence()
|
|
{
|
|
}
|
|
}
|
|
}
|