using System; using System.Runtime.InteropServices; using Cpp2IlInjected; using Photon.Realtime; using UnityEngine; using UnityEngine.Events; // Token: 0x020004B9 RID: 1209 [Token(Token = "0x20004B9")] [StructLayout(3)] public class PhysicsButtonVisual : MonoBehaviour { // Token: 0x06002395 RID: 9109 RVA: 0x000933DC File Offset: 0x000915DC [Token(Token = "0x6002395")] [Address(RVA = "0x11B9E70", Offset = "0x11B8870", VA = "0x1811B9E70")] 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; this.BAKFCIADPIP.z = z3; Vector3 vector4; float z4 = vector4.z; Rigidbody eelomepllid2 = this.EELOMEPLLID; float z5 = 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: 0x06002396 RID: 9110 RVA: 0x000934BC File Offset: 0x000916BC [Token(Token = "0x6002396")] [Address(RVA = "0x11BA990", Offset = "0x11B9390", VA = "0x1811BA990")] 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: 0x06002397 RID: 9111 RVA: 0x00093528 File Offset: 0x00091728 [Token(Token = "0x6002397")] [Address(RVA = "0x11BA0F0", Offset = "0x11B8AF0", VA = "0x1811BA0F0")] private void DFJBKCHBHME(PhysicalButtonBase AKBHFOFHHNK, global::Player EEMNAFPPPIK) { PhysicalButtonBase physicalButtonBase = this.parentButton; Photon.Realtime.Player player; this.FIBHBBIOCFP = player; } // Token: 0x06002398 RID: 9112 RVA: 0x0009354C File Offset: 0x0009174C [Token(Token = "0x6002398")] [Address(RVA = "0x11BAAB0", Offset = "0x11B94B0", VA = "0x1811BAAB0")] private void PLCJLOCIDJA(PhysicalButtonBase.MJMLDNKNIIM GKNIHNHGBKC, global::Player EEMNAFPPPIK) { this.HHAIHKMMGHK = true; } // Token: 0x06002399 RID: 9113 RVA: 0x00093560 File Offset: 0x00091760 [Token(Token = "0x6002399")] [Address(RVA = "0x11BA120", Offset = "0x11B8B20", VA = "0x1811BA120")] private void FixedUpdate() { /* An exception occurred when decompiling this method (06002399) 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 327 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 1663 */; } // Token: 0x0600239A RID: 9114 RVA: 0x00093754 File Offset: 0x00091954 [Token(Token = "0x600239A")] [Address(RVA = "0x11BAAC0", Offset = "0x11B94C0", VA = "0x1811BAAC0")] public PhysicsButtonVisual() { } // Token: 0x04001CE0 RID: 7392 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4001CE0")] [SerializeField] private float releaseSpeed = 0.5f; // Token: 0x04001CE1 RID: 7393 [global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")] [Token(Token = "0x4001CE1")] [SerializeField] private float pressSpeed = 10f; // Token: 0x04001CE2 RID: 7394 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4001CE2")] [SerializeField] private Transform unpressedTransform; // Token: 0x04001CE3 RID: 7395 [global::Cpp2IlInjected.FieldOffset(Offset = "0x28")] [Token(Token = "0x4001CE3")] [SerializeField] private Transform pressedTransform; // Token: 0x04001CE4 RID: 7396 [global::Cpp2IlInjected.FieldOffset(Offset = "0x30")] [Token(Token = "0x4001CE4")] [SerializeField] private bool onlyShowLocalPlayerPresses; // Token: 0x04001CE5 RID: 7397 [global::Cpp2IlInjected.FieldOffset(Offset = "0x38")] [Token(Token = "0x4001CE5")] private Rigidbody EELOMEPLLID; // Token: 0x04001CE6 RID: 7398 [global::Cpp2IlInjected.FieldOffset(Offset = "0x40")] [Token(Token = "0x4001CE6")] private Vector3 BAKFCIADPIP; // Token: 0x04001CE7 RID: 7399 [global::Cpp2IlInjected.FieldOffset(Offset = "0x4C")] [Token(Token = "0x4001CE7")] private float AKJOEKMJODG; // Token: 0x04001CE8 RID: 7400 [global::Cpp2IlInjected.FieldOffset(Offset = "0x50")] [Token(Token = "0x4001CE8")] private float LAPADAFCKGG; // Token: 0x04001CE9 RID: 7401 [global::Cpp2IlInjected.FieldOffset(Offset = "0x58")] [Token(Token = "0x4001CE9")] private Collider GMJANNPJBOF; // Token: 0x04001CEA RID: 7402 [global::Cpp2IlInjected.FieldOffset(Offset = "0x60")] [Token(Token = "0x4001CEA")] [SerializeField] private PhysicalButtonBase parentButton; // Token: 0x04001CEB RID: 7403 [global::Cpp2IlInjected.FieldOffset(Offset = "0x68")] [Token(Token = "0x4001CEB")] private Photon.Realtime.Player FIBHBBIOCFP; // Token: 0x04001CEC RID: 7404 [global::Cpp2IlInjected.FieldOffset(Offset = "0x70")] [Token(Token = "0x4001CEC")] private Collider KAAFHBAACNO; // Token: 0x04001CED RID: 7405 [global::Cpp2IlInjected.FieldOffset(Offset = "0x78")] [Token(Token = "0x4001CED")] private bool HHAIHKMMGHK; // Token: 0x04001CEE RID: 7406 [global::Cpp2IlInjected.FieldOffset(Offset = "0x79")] [Token(Token = "0x4001CEE")] private bool BIPGLIDNHPC; }