using System; using Cpp2IlInjected; using UnityEngine; using UnityEngine.Events; // Token: 0x020004AB RID: 1195 [Token(Token = "0x20004AB")] public class PhysicsButtonVisual : MonoBehaviour { // Token: 0x0600234F RID: 9039 RVA: 0x0008EC10 File Offset: 0x0008CE10 [Token(Token = "0x600234F")] [Address(RVA = "0xA89840", Offset = "0xA88640", VA = "0x180A89840")] private void Awake() { Rigidbody component = base.GetComponent(); this.EELOMEPLLID = component; Collider component2 = base.GetComponent(); Transform transform = this.pressedTransform; this.GMJANNPJBOF = component2; Transform transform2 = this.unpressedTransform; Vector3 vector; float z = vector.z; Vector3 vector2; float z2 = vector2.z; Vector3 vector3; float z3 = vector3.z; Transform transform3 = this.unpressedTransform; Rigidbody eelomepllid = this.EELOMEPLLID; Vector3 vector4; float z4 = vector4.z; this.BAKFCIADPIP.z = z4; Vector3 vector5; float z5 = vector5.z; Rigidbody eelomepllid2 = this.EELOMEPLLID; float z6 = Vector3.zero.z; PhysicalButtonBase.PhysicalButtonPressEvent pressEvent = this.parentButton.pressEvent; UnityAction unityAction = new UnityAction(this.DFJBKCHBHME); pressEvent.AddListener(unityAction); PhysicalButtonBase.PhysicalButtonStateEvent onReleaseEvent = this.parentButton.onReleaseEvent; UnityAction unityAction2 = new UnityAction(this.PLCJLOCIDJA); onReleaseEvent.AddListener(unityAction2); } // Token: 0x06002350 RID: 9040 RVA: 0x0008ECF8 File Offset: 0x0008CEF8 [Token(Token = "0x6002350")] [Address(RVA = "0xA8A360", Offset = "0xA89160", VA = "0x180A8A360")] private void OnDestroy() { PhysicalButtonBase physicalButtonBase = this.parentButton; int num = 0; if (physicalButtonBase != num) { PhysicalButtonBase.PhysicalButtonPressEvent pressEvent = this.parentButton.pressEvent; UnityAction unityAction = new UnityAction(this.DFJBKCHBHME); pressEvent.RemoveListener(unityAction); PhysicalButtonBase.PhysicalButtonStateEvent onReleaseEvent = this.parentButton.onReleaseEvent; UnityAction unityAction2 = new UnityAction(this.PLCJLOCIDJA); onReleaseEvent.RemoveListener(unityAction2); } } // Token: 0x06002351 RID: 9041 RVA: 0x0008ED64 File Offset: 0x0008CF64 [Token(Token = "0x6002351")] [Address(RVA = "0xA89AC0", Offset = "0xA888C0", VA = "0x180A89AC0")] private void DFJBKCHBHME(PhysicalButtonBase AKBHFOFHHNK, Player EEMNAFPPPIK) { PhysicalButtonBase physicalButtonBase = this.parentButton; AGAJMBPABDL agajmbpabdl; this.FIBHBBIOCFP = agajmbpabdl; } // Token: 0x06002352 RID: 9042 RVA: 0x0008ED88 File Offset: 0x0008CF88 [Token(Token = "0x6002352")] [Address(RVA = "0xA8A480", Offset = "0xA89280", VA = "0x180A8A480")] private void PLCJLOCIDJA(PhysicalButtonBase.MJMLDNKNIIM GKNIHNHGBKC, Player EEMNAFPPPIK) { this.HHAIHKMMGHK = true; } // Token: 0x06002353 RID: 9043 RVA: 0x0008ED9C File Offset: 0x0008CF9C [Token(Token = "0x6002353")] [Address(RVA = "0xA89AF0", Offset = "0xA888F0", VA = "0x180A89AF0")] private void FixedUpdate() { /* An exception occurred when decompiling this method (06002353) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void PhysicsButtonVisual::FixedUpdate() ---> System.ArgumentOutOfRangeException: length ('-1') must be a non-negative value. (Parameter 'length') Actual value was -1. at System.ArgumentOutOfRangeException.ThrowNegative[T](T value, String paramName) at System.Array.CopyImpl(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) at System.Array.Copy(Array sourceArray, Array destinationArray, Int32 length) at ICSharpCode.Decompiler.ILAst.ILAstBuilder.StackAnalysis(MethodDef methodDef) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstBuilder.cs:line 403 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 117 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: 0x06002354 RID: 9044 RVA: 0x0008EF90 File Offset: 0x0008D190 [Token(Token = "0x6002354")] [Address(RVA = "0xA8A490", Offset = "0xA89290", VA = "0x180A8A490")] public PhysicsButtonVisual() { } // Token: 0x04001B19 RID: 6937 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4001B19")] [SerializeField] private float releaseSpeed = 0.5f; // Token: 0x04001B1A RID: 6938 [FieldOffset(Offset = "0x1C")] [Token(Token = "0x4001B1A")] [SerializeField] private float pressSpeed = 10f; // Token: 0x04001B1B RID: 6939 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4001B1B")] [SerializeField] private Transform unpressedTransform; // Token: 0x04001B1C RID: 6940 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4001B1C")] [SerializeField] private Transform pressedTransform; // Token: 0x04001B1D RID: 6941 [FieldOffset(Offset = "0x30")] [Token(Token = "0x4001B1D")] [SerializeField] private bool onlyShowLocalPlayerPresses; // Token: 0x04001B1E RID: 6942 [FieldOffset(Offset = "0x38")] [Token(Token = "0x4001B1E")] private Rigidbody EELOMEPLLID; // Token: 0x04001B1F RID: 6943 [FieldOffset(Offset = "0x40")] [Token(Token = "0x4001B1F")] private Vector3 BAKFCIADPIP; // Token: 0x04001B20 RID: 6944 [FieldOffset(Offset = "0x4C")] [Token(Token = "0x4001B20")] private float AKJOEKMJODG; // Token: 0x04001B21 RID: 6945 [FieldOffset(Offset = "0x50")] [Token(Token = "0x4001B21")] private float LAPADAFCKGG; // Token: 0x04001B22 RID: 6946 [FieldOffset(Offset = "0x58")] [Token(Token = "0x4001B22")] private Collider GMJANNPJBOF; // Token: 0x04001B23 RID: 6947 [FieldOffset(Offset = "0x60")] [Token(Token = "0x4001B23")] [SerializeField] private PhysicalButtonBase parentButton; // Token: 0x04001B24 RID: 6948 [FieldOffset(Offset = "0x68")] [Token(Token = "0x4001B24")] private AGAJMBPABDL FIBHBBIOCFP; // Token: 0x04001B25 RID: 6949 [FieldOffset(Offset = "0x70")] [Token(Token = "0x4001B25")] private Collider KAAFHBAACNO; // Token: 0x04001B26 RID: 6950 [FieldOffset(Offset = "0x78")] [Token(Token = "0x4001B26")] private bool HHAIHKMMGHK; // Token: 0x04001B27 RID: 6951 [FieldOffset(Offset = "0x79")] [Token(Token = "0x4001B27")] private bool BIPGLIDNHPC; }