m
This commit is contained in:
@@ -0,0 +1,236 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
// Token: 0x02000326 RID: 806
|
||||
[Token(Token = "0x2000326")]
|
||||
public class ClockFace : MonoBehaviour
|
||||
{
|
||||
// Token: 0x1700042F RID: 1071
|
||||
// (set) Token: 0x0600191E RID: 6430 RVA: 0x00064C1C File Offset: 0x00062E1C
|
||||
[Token(Token = "0x1700042F")]
|
||||
private bool JEKJCLPEIMG
|
||||
{
|
||||
[Token(Token = "0x600191E")]
|
||||
[Address(RVA = "0x1F39EE0", Offset = "0x1F38EE0", VA = "0x181F39EE0")]
|
||||
set
|
||||
{
|
||||
Transform transform = this.secondHand;
|
||||
int num = 0;
|
||||
if (transform != num)
|
||||
{
|
||||
this.secondHand.gameObject.SetActive(value);
|
||||
}
|
||||
this.minuteHand.gameObject.SetActive(value);
|
||||
this.hourHand.gameObject.SetActive(value);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600191F RID: 6431 RVA: 0x00064C78 File Offset: 0x00062E78
|
||||
[Token(Token = "0x600191F")]
|
||||
[Address(RVA = "0x1F3A200", Offset = "0x1F39200", VA = "0x181F3A200")]
|
||||
private void OnEnable()
|
||||
{
|
||||
this.JEKJCLPEIMG = true;
|
||||
}
|
||||
|
||||
// Token: 0x06001920 RID: 6432 RVA: 0x00064C8C File Offset: 0x00062E8C
|
||||
[Token(Token = "0x6001920")]
|
||||
[Address(RVA = "0x1F3A1F0", Offset = "0x1F391F0", VA = "0x181F3A1F0")]
|
||||
private void OnDisable()
|
||||
{
|
||||
int num = 0;
|
||||
this.JEKJCLPEIMG = num != 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001921 RID: 6433 RVA: 0x00064CA4 File Offset: 0x00062EA4
|
||||
[Token(Token = "0x6001921")]
|
||||
[Address(RVA = "0x1F3A210", Offset = "0x1F39210", VA = "0x181F3A210")]
|
||||
private void Start()
|
||||
{
|
||||
DateTime now = DateTime.Now;
|
||||
this.AFKMLFMLPGP = now;
|
||||
float realtimeSinceStartup = Time.realtimeSinceStartup;
|
||||
this.FPHNFJAAHKB = realtimeSinceStartup;
|
||||
}
|
||||
|
||||
// Token: 0x06001922 RID: 6434 RVA: 0x00064CD0 File Offset: 0x00062ED0
|
||||
[Token(Token = "0x6001922")]
|
||||
[Address(RVA = "0x1F3A270", Offset = "0x1F39270", VA = "0x181F3A270")]
|
||||
private void Update()
|
||||
{
|
||||
float realtimeSinceStartup = Time.realtimeSinceStartup;
|
||||
this.KAKKMEIHKEL = realtimeSinceStartup;
|
||||
Transform transform = this.secondHand;
|
||||
ulong num;
|
||||
num += num;
|
||||
long num2 = (long)(num * (ulong)((uint)60));
|
||||
int num3 = (int)((long)num3 - num2);
|
||||
int num4 = 0;
|
||||
if (transform != num4)
|
||||
{
|
||||
Transform transform2 = this.secondHand;
|
||||
}
|
||||
Transform transform3 = this.minuteHand;
|
||||
ulong num5;
|
||||
num5 += num5;
|
||||
long num6 = (long)(num5 * (ulong)((uint)60));
|
||||
int num7 = (int)((long)num7 - num6);
|
||||
Transform transform4 = this.hourHand;
|
||||
ulong num8;
|
||||
num8 += num8;
|
||||
int num9 = (int)((ulong)num9 - num8);
|
||||
}
|
||||
|
||||
// Token: 0x06001923 RID: 6435 RVA: 0x00064D60 File Offset: 0x00062F60
|
||||
[Token(Token = "0x6001923")]
|
||||
[Address(RVA = "0x1F39FF0", Offset = "0x1F38FF0", VA = "0x181F39FF0")]
|
||||
private Quaternion HAKFFHOMCCA(float EMDPNLFBLAL, float FAMFFCNCNJH)
|
||||
{
|
||||
float num = Mathf.InverseLerp((float)0, EMDPNLFBLAL, FAMFFCNCNJH);
|
||||
Vector3[] oilgfbcfbmh = ClockFace.OILGFBCFBMH;
|
||||
Vector3 vector;
|
||||
float z = vector.z;
|
||||
Vector3 vector2;
|
||||
float z2 = vector2.z;
|
||||
Vector3 vector3;
|
||||
float z3 = vector3.z;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x17000430 RID: 1072
|
||||
// (get) Token: 0x06001924 RID: 6436 RVA: 0x00064D9C File Offset: 0x00062F9C
|
||||
[Token(Token = "0x17000430")]
|
||||
private Vector3 FGKPNDLHAIL
|
||||
{
|
||||
[Token(Token = "0x6001924")]
|
||||
[Address(RVA = "0x1F39E30", Offset = "0x1F38E30", VA = "0x181F39E30")]
|
||||
get
|
||||
{
|
||||
Vector3[] oilgfbcfbmh = ClockFace.OILGFBCFBMH;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000431 RID: 1073
|
||||
// (get) Token: 0x06001925 RID: 6437 RVA: 0x00064DB4 File Offset: 0x00062FB4
|
||||
[Token(Token = "0x17000431")]
|
||||
private float KDCHGOAINJI
|
||||
{
|
||||
[Token(Token = "0x6001925")]
|
||||
[Address(RVA = "0x1F39FD0", Offset = "0x1F38FD0", VA = "0x181F39FD0")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06001925)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single ClockFace::FLBJMLEPPPA()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_00:
|
||||
brtrue(IL_00, logicnot:bool(ldfld:bool(ClockFace::rotateClockwise, ldloc:ClockFace(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.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: 0x06001926 RID: 6438 RVA: 0x00064DCC File Offset: 0x00062FCC
|
||||
[Token(Token = "0x6001926")]
|
||||
[Address(RVA = "0x1F3A5F0", Offset = "0x1F395F0", VA = "0x181F3A5F0")]
|
||||
public ClockFace()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001927 RID: 6439 RVA: 0x00064DF0 File Offset: 0x00062FF0
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x6001927")]
|
||||
[Address(RVA = "0x1F3A4E0", Offset = "0x1F394E0", VA = "0x181F3A4E0")]
|
||||
static ClockFace()
|
||||
{
|
||||
Vector3[] array = new Vector3[3];
|
||||
float z = Vector3.right.z;
|
||||
array[1] = z;
|
||||
float z2 = Vector3.up.z;
|
||||
array[2] = z2;
|
||||
float z3 = Vector3.forward.z;
|
||||
array[4] = z3;
|
||||
ClockFace.OILGFBCFBMH = array;
|
||||
}
|
||||
|
||||
// Token: 0x04001309 RID: 4873
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001309")]
|
||||
[SerializeField]
|
||||
private Transform secondHand;
|
||||
|
||||
// Token: 0x0400130A RID: 4874
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400130A")]
|
||||
[SerializeField]
|
||||
private Transform minuteHand;
|
||||
|
||||
// Token: 0x0400130B RID: 4875
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400130B")]
|
||||
[SerializeField]
|
||||
private Transform hourHand;
|
||||
|
||||
// Token: 0x0400130C RID: 4876
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400130C")]
|
||||
[SerializeField]
|
||||
[Header("Configuration")]
|
||||
private ClockFace.FPEAICOLGCP localRotationAxis = (ClockFace.FPEAICOLGCP)((ulong)2L);
|
||||
|
||||
// Token: 0x0400130D RID: 4877
|
||||
[FieldOffset(Offset = "0x34")]
|
||||
[Token(Token = "0x400130D")]
|
||||
[SerializeField]
|
||||
private bool rotateClockwise = true;
|
||||
|
||||
// Token: 0x0400130E RID: 4878
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400130E")]
|
||||
private DateTime AFKMLFMLPGP;
|
||||
|
||||
// Token: 0x0400130F RID: 4879
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400130F")]
|
||||
private float FPHNFJAAHKB;
|
||||
|
||||
// Token: 0x04001310 RID: 4880
|
||||
[FieldOffset(Offset = "0x44")]
|
||||
[Token(Token = "0x4001310")]
|
||||
private float KAKKMEIHKEL;
|
||||
|
||||
// Token: 0x04001311 RID: 4881
|
||||
[Token(Token = "0x4001311")]
|
||||
private static readonly Vector3[] OILGFBCFBMH;
|
||||
|
||||
// Token: 0x02000327 RID: 807
|
||||
[Token(Token = "0x2000327")]
|
||||
private enum FPEAICOLGCP
|
||||
{
|
||||
// Token: 0x04001313 RID: 4883
|
||||
[Token(Token = "0x4001313")]
|
||||
X,
|
||||
// Token: 0x04001314 RID: 4884
|
||||
[Token(Token = "0x4001314")]
|
||||
Y,
|
||||
// Token: 0x04001315 RID: 4885
|
||||
[Token(Token = "0x4001315")]
|
||||
Z
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user