oh dear
This commit is contained in:
@@ -0,0 +1,191 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Players.Watch
|
||||
{
|
||||
// Token: 0x02002872 RID: 10354
|
||||
[Token(Token = "0x2002872")]
|
||||
public class NotificationLineControl : MonoBehaviour
|
||||
{
|
||||
// Token: 0x0601163D RID: 71229 RVA: 0x003F4D98 File Offset: 0x003F2F98
|
||||
[Token(Token = "0x601163D")]
|
||||
[Address(RVA = "0x7C4150", Offset = "0x7C2F50", VA = "0x1807C4150")]
|
||||
private void Awake()
|
||||
{
|
||||
Transform transform = base.transform;
|
||||
Vector3 vector;
|
||||
float z = vector.z;
|
||||
this.KNHHAPILJGN.z = z;
|
||||
Transform transform2 = base.transform;
|
||||
Vector3 vector2;
|
||||
float z2 = vector2.z;
|
||||
this.MCOFHCCLCHI.z = z2;
|
||||
int num = 0;
|
||||
this.KDKABAGBENB.z = (float)num;
|
||||
int num2 = 0;
|
||||
this.CGLHPPBIMPB.z = (float)num2;
|
||||
this.KHHFDKFPGEJ();
|
||||
}
|
||||
|
||||
// Token: 0x0601163E RID: 71230 RVA: 0x003F4E08 File Offset: 0x003F3008
|
||||
[Token(Token = "0x601163E")]
|
||||
[Address(RVA = "0x7C43A0", Offset = "0x7C31A0", VA = "0x1807C43A0")]
|
||||
private void OnEnable()
|
||||
{
|
||||
this.AMKKHDFLPGK = 0f;
|
||||
Transform transform = base.transform;
|
||||
float z = this.KNHHAPILJGN.z;
|
||||
Transform transform2 = base.transform;
|
||||
float z2 = this.MCOFHCCLCHI.z;
|
||||
Coroutine hfkfdmdnmna = this.HFKFDMDNMNA;
|
||||
if (hfkfdmdnmna != 0)
|
||||
{
|
||||
base.StopCoroutine(hfkfdmdnmna);
|
||||
}
|
||||
NotificationLineControl.KCEJLBNKPEC kcejlbnkpec;
|
||||
kcejlbnkpec.System.IDisposable.Dispose();
|
||||
kcejlbnkpec.<>1__state = (int)((ulong)0L);
|
||||
kcejlbnkpec.<>4__this = this;
|
||||
Coroutine coroutine = base.StartCoroutine(kcejlbnkpec);
|
||||
}
|
||||
|
||||
// Token: 0x0601163F RID: 71231 RVA: 0x003F4E84 File Offset: 0x003F3084
|
||||
[Token(Token = "0x601163F")]
|
||||
[Address(RVA = "0x7C4300", Offset = "0x7C3100", VA = "0x1807C4300")]
|
||||
private void KHHFDKFPGEJ()
|
||||
{
|
||||
float y = this.CGLHPPBIMPB.y;
|
||||
float num = global::UnityEngine.Random.Range(this.KDKABAGBENB.y, y);
|
||||
float z = this.CGLHPPBIMPB.z;
|
||||
float num2 = global::UnityEngine.Random.Range(this.KDKABAGBENB.z, z);
|
||||
int num3 = 0;
|
||||
this.FJPOGADDBGI.z = (float)num3;
|
||||
}
|
||||
|
||||
// Token: 0x06011640 RID: 71232 RVA: 0x003F4EE0 File Offset: 0x003F30E0
|
||||
[Token(Token = "0x6011640")]
|
||||
[Address(RVA = "0x7C42A0", Offset = "0x7C30A0", VA = "0x1807C42A0")]
|
||||
private IEnumerator DJDMBFBHHAN()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06011640)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator RecRoom.Players.Watch.NotificationLineControl::DJDMBFBHHAN()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
call:void(KCEJLBNKPEC::System.IDisposable.Dispose, ldloc:KCEJLBNKPEC(var_0))
|
||||
stfld:int32(KCEJLBNKPEC::<>1__state, ldloc:KCEJLBNKPEC(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
||||
stfld:NotificationLineControl(KCEJLBNKPEC::<>4__this, ldloc:KCEJLBNKPEC(var_0), ldloc:NotificationLineControl(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: 0x06011641 RID: 71233 RVA: 0x003F4F04 File Offset: 0x003F3104
|
||||
[Token(Token = "0x6011641")]
|
||||
[Address(RVA = "0x7C4490", Offset = "0x7C3290", VA = "0x1807C4490")]
|
||||
private void Update()
|
||||
{
|
||||
NotificationLineControl.NotificationLineControlConfig config = this.Config;
|
||||
float deltaTime = Time.deltaTime;
|
||||
NotificationLineControl.NotificationLineControlConfig config2 = this.Config;
|
||||
this.AMKKHDFLPGK = deltaTime;
|
||||
float z = this.KNHHAPILJGN.z;
|
||||
this.AMKKHDFLPGK = deltaTime;
|
||||
Transform transform = base.transform;
|
||||
Transform transform2 = base.transform;
|
||||
float z2 = this.FJPOGADDBGI.z;
|
||||
Transform transform3 = base.transform;
|
||||
Transform transform4 = SingletonMonoBehaviour.ONCPNMDGGKG.CHLMFLCFGFL.transform;
|
||||
Vector3 vector;
|
||||
float z3 = vector.z;
|
||||
}
|
||||
|
||||
// Token: 0x06011642 RID: 71234 RVA: 0x003F4F88 File Offset: 0x003F3188
|
||||
[Token(Token = "0x6011642")]
|
||||
[Address(RVA = "0x74EA40", Offset = "0x74D840", VA = "0x18074EA40")]
|
||||
public NotificationLineControl()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400B2D9 RID: 45785
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400B2D9")]
|
||||
private Vector3 KNHHAPILJGN;
|
||||
|
||||
// Token: 0x0400B2DA RID: 45786
|
||||
[FieldOffset(Offset = "0x24")]
|
||||
[Token(Token = "0x400B2DA")]
|
||||
private Vector3 MCOFHCCLCHI;
|
||||
|
||||
// Token: 0x0400B2DB RID: 45787
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400B2DB")]
|
||||
private Vector3 KDKABAGBENB;
|
||||
|
||||
// Token: 0x0400B2DC RID: 45788
|
||||
[FieldOffset(Offset = "0x3C")]
|
||||
[Token(Token = "0x400B2DC")]
|
||||
private Vector3 CGLHPPBIMPB;
|
||||
|
||||
// Token: 0x0400B2DD RID: 45789
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x400B2DD")]
|
||||
private Vector3 FJPOGADDBGI;
|
||||
|
||||
// Token: 0x0400B2DE RID: 45790
|
||||
[FieldOffset(Offset = "0x54")]
|
||||
[Token(Token = "0x400B2DE")]
|
||||
private float AMKKHDFLPGK;
|
||||
|
||||
// Token: 0x0400B2DF RID: 45791
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x400B2DF")]
|
||||
[HideInInspector]
|
||||
public NotificationLineControl.NotificationLineControlConfig Config;
|
||||
|
||||
// Token: 0x0400B2E0 RID: 45792
|
||||
[FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x400B2E0")]
|
||||
private Coroutine HFKFDMDNMNA;
|
||||
|
||||
// Token: 0x02002873 RID: 10355
|
||||
[Token(Token = "0x2002873")]
|
||||
[Serializable]
|
||||
public class NotificationLineControlConfig
|
||||
{
|
||||
// Token: 0x06011643 RID: 71235 RVA: 0x003F4F9C File Offset: 0x003F319C
|
||||
[Token(Token = "0x6011643")]
|
||||
[Address(RVA = "0x7C4130", Offset = "0x7C2F30", VA = "0x1807C4130")]
|
||||
public NotificationLineControlConfig()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400B2E1 RID: 45793
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400B2E1")]
|
||||
public float zTranslationWrapLimit = 0.1f;
|
||||
|
||||
// Token: 0x0400B2E2 RID: 45794
|
||||
[FieldOffset(Offset = "0x14")]
|
||||
[Token(Token = "0x400B2E2")]
|
||||
public float zTranslationRate = 0.01f;
|
||||
|
||||
// Token: 0x0400B2E3 RID: 45795
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400B2E3")]
|
||||
public float jitterFPS = 20f;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user