using System; using System.Collections; using Cpp2IlInjected; using Pathfinding.RVO; using Photon.Pun; using RecRoom.Core.Vehicles; using UnityEngine; namespace RecRoom.Activities.BattleRoyale { // Token: 0x02002CBA RID: 11450 [Token(Token = "0x2002CBA")] public class BattleRoyaleGlider : BaseVehicle { // Token: 0x17003560 RID: 13664 // (get) Token: 0x06013286 RID: 78470 RVA: 0x00463688 File Offset: 0x00461888 [Token(Token = "0x17003560")] public float CCMOFNFDFCN { [Token(Token = "0x6013286")] [Address(RVA = "0xCB1CA0", Offset = "0xCB0CA0", VA = "0x180CB1CA0")] get { return this.maxYawSpeed; } } // Token: 0x17003561 RID: 13665 // (get) Token: 0x06013287 RID: 78471 RVA: 0x0046369C File Offset: 0x0046189C [Token(Token = "0x17003561")] public BattleRoyaleGliderHandlebar DDOLEGFJODO { [Token(Token = "0x6013287")] [Address(RVA = "0x4C31C0", Offset = "0x4C21C0", VA = "0x1804C31C0")] get { return this.handlebar; } } // Token: 0x17003562 RID: 13666 // (get) Token: 0x06013288 RID: 78472 RVA: 0x004636B0 File Offset: 0x004618B0 // (set) Token: 0x06013289 RID: 78473 RVA: 0x004636C4 File Offset: 0x004618C4 [Token(Token = "0x17003562")] public bool ODJEFAAIEEM { [Token(Token = "0x6013288")] [Address(RVA = "0x137F5A0", Offset = "0x137E5A0", VA = "0x18137F5A0")] get { return this.JIAPMNJEKPG; } [Token(Token = "0x6013289")] [Address(RVA = "0x137F5B0", Offset = "0x137E5B0", VA = "0x18137F5B0")] set { TeleportationPortal teleportationPortal = this.portal; this.JIAPMNJEKPG = value; RVOLayer layer = ((IAgent)teleportationPortal).Layer; } } // Token: 0x0601328A RID: 78474 RVA: 0x004636EC File Offset: 0x004618EC [Token(Token = "0x601328A")] [Address(RVA = "0x137CD50", Offset = "0x137BD50", VA = "0x18137CD50", Slot = "13")] protected override void Awake() { base.Awake(); TeleportationPortal teleportationPortal = this.portal; Action action = new Action(this.DPNDBHNEOGF); teleportationPortal.LocalPlayerUseEvent += action; this.portal.mode = (TeleportationPortal.IDIOIAGNCBL)((ulong)4L); } // Token: 0x0601328B RID: 78475 RVA: 0x00463730 File Offset: 0x00461930 [Token(Token = "0x601328B")] [Address(RVA = "0x137EBB0", Offset = "0x137DBB0", VA = "0x18137EBB0", Slot = "14")] protected override void OnDestroy() { base.OnDestroy(); TeleportationPortal teleportationPortal = this.portal; Action action = new Action(this.DPNDBHNEOGF); teleportationPortal.LocalPlayerUseEvent -= action; this.HJLNKHFEKEJ(); } // Token: 0x0601328C RID: 78476 RVA: 0x0046376C File Offset: 0x0046196C [Token(Token = "0x601328C")] [Address(RVA = "0x137F140", Offset = "0x137E140", VA = "0x18137F140")] private void Update() { if (!this.InDirectSteerMode) { BattleRoyaleGliderHandlebar battleRoyaleGliderHandlebar = this.handlebar; Transform transform = battleRoyaleGliderHandlebar.transform; BattleRoyaleGlider glider = battleRoyaleGliderHandlebar.glider; Vector3 vector; float z = vector.z; Transform targetTransform = glider.rigidbodyEx.MDKDCJFEBJH; Vector3 vector2; float z2 = vector2.z; int num = 0; float num2 = Mathf.InverseLerp((float)0, 1f, (float)num); float num3; num2 = num3; float num4 = Mathf.Sign(num2); BattleRoyaleGliderHandlebar battleRoyaleGliderHandlebar2 = this.handlebar; Transform transform2 = battleRoyaleGliderHandlebar2.transform; BattleRoyaleGlider glider2 = battleRoyaleGliderHandlebar2.glider; Vector3 vector3; float z3 = vector3.z; Transform targetTransform2 = glider2.rigidbodyEx.MDKDCJFEBJH; Vector3 vector4; float z4 = vector4.z; float num5; num3 = num5; int num6 = 0; float num7 = Mathf.InverseLerp((float)0, 1f, (float)num6); num2 = num7; num7 = num3; float num8 = Mathf.Sign(num7); float num9 = num2 * -1f; this.OKHAOPCDDAH(num4, num9); } } // Token: 0x0601328D RID: 78477 RVA: 0x00463854 File Offset: 0x00461A54 [Token(Token = "0x601328D")] [Address(RVA = "0x137EC50", Offset = "0x137DC50", VA = "0x18137EC50")] private void OnDrawGizmos() { Color green = Color.green; Transform transform = base.transform; float z = this.collisionSphereOriginLocalposition.z; Vector3 vector; float z2 = vector.z; } // Token: 0x0601328E RID: 78478 RVA: 0x00463888 File Offset: 0x00461A88 [Token(Token = "0x601328E")] [Address(RVA = "0x137F120", Offset = "0x137E120", VA = "0x18137F120")] public void SteerDirectly(float BFLMJKIKKAI, float CDGGDBLHBNF) { if (this.InDirectSteerMode) { this.OKHAOPCDDAH(BFLMJKIKKAI, CDGGDBLHBNF); return; } } // Token: 0x0601328F RID: 78479 RVA: 0x004638A8 File Offset: 0x00461AA8 [Token(Token = "0x601328F")] [Address(RVA = "0x137E840", Offset = "0x137D840", VA = "0x18137E840")] private void OKHAOPCDDAH(float BFLMJKIKKAI, float CDGGDBLHBNF) { float num = Mathf.Sign(CDGGDBLHBNF); AnimationCurve animationCurve = this.steeringCurve; int num2 = 0; float num3 = animationCurve.Evaluate((float)num2); float num4 = this.throttleCurve.Evaluate(BFLMJKIKKAI); Transform transform = this.canopyVisual; int num5 = 0; if (!(transform == num5)) { if (0 <= (int)CDGGDBLHBNF) { } int num6 = 0; float num7 = Mathf.InverseLerp(-1f, (float)num6, CDGGDBLHBNF); float num8 = this.minThrottleCanopyPitch; float num9 = Mathf.Lerp(num7, num8, CDGGDBLHBNF); Transform transform2 = this.canopyVisual; num8 = num9; Transform transform3 = transform2.transform; int num10 = 0; Quaternion quaternion = Quaternion.Euler(num9, num8, (float)num10); } this.OHDLJCJOCAF(BFLMJKIKKAI, CDGGDBLHBNF); if (base.OGIBLNIIHDK) { AGAJMBPABDL ggafbjilnjb = this.GGAFBJILNJB; if (ggafbjilnjb != 0 && ggafbjilnjb.DMKCIEPGGAB) { float num11 = this.steeringVignetteCurve.Evaluate(BFLMJKIKKAI); SingletonMonoBehaviour.ONCPNMDGGKG.k__BackingField.SetVehicleVignetteIntensityInterpolation(BFLMJKIKKAI); } } this.IFFGIDGODCE(BFLMJKIKKAI, CDGGDBLHBNF); } // Token: 0x06013290 RID: 78480 RVA: 0x00463998 File Offset: 0x00461B98 [Token(Token = "0x6013290")] [Address(RVA = "0x137E660", Offset = "0x137D660", VA = "0x18137E660")] private void OIPCHFCFFKB(float JLPPJBIKPAG, float EJPHOFNOGLO) { Transform transform = this.canopyVisual; int num = 0; if (!(transform == num)) { if (0 <= (int)JLPPJBIKPAG) { } int num2 = 0; float num3 = Mathf.InverseLerp(-1f, (float)num2, EJPHOFNOGLO); float num4 = this.minThrottleCanopyPitch; float num5 = Mathf.Lerp(num3, num4, EJPHOFNOGLO); Transform transform2 = this.canopyVisual.transform; int num6 = 0; Quaternion quaternion = Quaternion.Euler(num5, num4, (float)num6); } } // Token: 0x06013291 RID: 78481 RVA: 0x00463A04 File Offset: 0x00461C04 [Token(Token = "0x6013291")] [Address(RVA = "0x137DFC0", Offset = "0x137CFC0", VA = "0x18137DFC0")] private void MGIPLCELNOH(float EJPHOFNOGLO) { if (base.OGIBLNIIHDK) { AGAJMBPABDL ggafbjilnjb = this.GGAFBJILNJB; if (ggafbjilnjb != 0 && ggafbjilnjb.DMKCIEPGGAB) { float num = this.steeringVignetteCurve.Evaluate(EJPHOFNOGLO); SingletonMonoBehaviour.ONCPNMDGGKG.k__BackingField.SetVehicleVignetteIntensityInterpolation(EJPHOFNOGLO); } } } // Token: 0x06013292 RID: 78482 RVA: 0x00463A54 File Offset: 0x00461C54 [Token(Token = "0x6013292")] [Address(RVA = "0x137E0C0", Offset = "0x137D0C0", VA = "0x18137E0C0")] private void OHDLJCJOCAF(float JLPPJBIKPAG, float EJPHOFNOGLO) { /* An exception occurred when decompiling this method (06013292) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void RecRoom.Activities.BattleRoyale.BattleRoyaleGlider::OHDLJCJOCAF(System.Single,System.Single) ---> 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 1663 */; } // Token: 0x06013293 RID: 78483 RVA: 0x00463C70 File Offset: 0x00461E70 [Token(Token = "0x6013293")] [Address(RVA = "0x137D230", Offset = "0x137C230", VA = "0x18137D230")] private void HJLNKHFEKEJ() { SFXAudioSource eljpfkchdlj = this.ELJPFKCHDLJ; int num = 0; if (eljpfkchdlj != num) { AudioManager.StopLoopingSFX(this.ELJPFKCHDLJ); this.ELJPFKCHDLJ = (ulong)0L; } SFXAudioSource mdadelncinl = this.MDADELNCINL; int num2 = 0; if (mdadelncinl != num2) { AudioManager.StopLoopingSFX(this.MDADELNCINL); this.MDADELNCINL = (ulong)0L; } SFXAudioSource nkaileealao = this.NKAILEEALAO; int num3 = 0; if (nkaileealao != num3) { AudioManager.StopLoopingSFX(this.NKAILEEALAO); this.NKAILEEALAO = (ulong)0L; } } // Token: 0x06013294 RID: 78484 RVA: 0x00463CF8 File Offset: 0x00461EF8 [Token(Token = "0x6013294")] [Address(RVA = "0x137D3C0", Offset = "0x137C3C0", VA = "0x18137D3C0")] private void IFFGIDGODCE(float JLPPJBIKPAG, float EJPHOFNOGLO) { int num = 0; if (base.OGIBLNIIHDK && Time.time < this.postDisembarkSlowdownDuration) { RigidbodyEx rigidbodyEx = this.rigidbodyEx; float deltaTime = Time.deltaTime; int num2 = 0; float z = Vector3.up.z; Quaternion quaternion = Quaternion.AngleAxis(deltaTime, num2); rigidbodyEx.MEJCMIKAJCD = num2; if (0 <= (int)JLPPJBIKPAG) { float num3 = this.minThrottleForwardSpeed; num3 = Mathf.Lerp(num3, JLPPJBIKPAG, EJPHOFNOGLO); } int num4 = 0; float num5 = Mathf.InverseLerp(-1f, (float)num4, EJPHOFNOGLO); float num6 = this.minThrottleForwardSpeed; float num7 = Mathf.Lerp(this.negativeThrottleForwardSpeed, num6, EJPHOFNOGLO); float num8 = this.minThrottleFallingSpeed; float num9 = Mathf.Lerp(this.negativeThrottleFallingSpeed, num8, EJPHOFNOGLO); int num10 = 0; float z2 = Vector3.up.z; float z3 = (num9 * num10).z; Vector3 vector; float z4 = vector.z; Transform transform = base.transform; Vector3 vector2; float z5 = vector2.z; float deltaTime2 = Time.deltaTime; Transform targetTransform = this.rigidbodyEx.MDKDCJFEBJH; float z6 = this.collisionSphereOriginLocalposition.z; Vector3 vector3; float z7 = vector3.z; int num11 = this.collisionMaxIterations; Vector3 vector4; float z8 = vector4.z; RigidbodyEx rigidbodyEx2 = this.rigidbodyEx; Vector3 vector5; float z9 = vector5.z; AGAJMBPABDL ggafbjilnjb = this.GGAFBJILNJB; if (ggafbjilnjb == 0 || !ggafbjilnjb.DMKCIEPGGAB || this.PLMHHNENING(num)) { } } } // Token: 0x06013295 RID: 78485 RVA: 0x00463E6C File Offset: 0x0046206C [Token(Token = "0x6013295")] [Address(RVA = "0x137DC60", Offset = "0x137CC60", VA = "0x18137DC60")] private bool JGKNALOEEKA(Vector3 NHAOMEMANJA) { float deltaTime = Time.deltaTime; Transform targetTransform = this.rigidbodyEx.MDKDCJFEBJH; float z = this.collisionSphereOriginLocalposition.z; int num = this.collisionMaxIterations; RigidbodyEx rigidbodyEx = this.rigidbodyEx; Vector3 vector; float z2 = vector.z; throw new NullReferenceException(); } // Token: 0x06013296 RID: 78486 RVA: 0x00463EB8 File Offset: 0x004620B8 [Token(Token = "0x6013296")] [Address(RVA = "0x137EDC0", Offset = "0x137DDC0", VA = "0x18137EDC0")] private bool PLMHHNENING(out Vector3 KGAIAKOFINI) { float z = Vector3.zero.z; KGAIAKOFINI.z = z; TeleportationPortal teleportationPortal = this.portal; Transform transform = base.transform; Transform targetTransform = this.rigidbodyEx.MDKDCJFEBJH; Vector3 up = Vector3.up; Vector3 up2 = Vector3.up; bool flag; if (flag) { int num = 0; Collider collider; if (LEGLBECFPMF.ENCOLHKPPPD(collider, num)) { KGAIAKOFINI.z = collider; return true; } } throw new NullReferenceException(); } // Token: 0x06013297 RID: 78487 RVA: 0x00463F28 File Offset: 0x00462128 [Token(Token = "0x6013297")] [Address(RVA = "0x137CCA0", Offset = "0x137BCA0", VA = "0x18137CCA0")] private void AHEPAPEDODL() { ParticleSystem particleSystem = this.firstPersonParticles; int num = 0; if (particleSystem != num) { GameObject gameObject = this.firstPersonParticles.gameObject; AGAJMBPABDL ggafbjilnjb = this.GGAFBJILNJB; if (ggafbjilnjb == 0) { } bool flag = ggafbjilnjb.DMKCIEPGGAB; gameObject.SetActive(flag); } } // Token: 0x06013298 RID: 78488 RVA: 0x00463F7C File Offset: 0x0046217C [Token(Token = "0x6013298")] [Address(RVA = "0x137CEF0", Offset = "0x137BEF0", VA = "0x18137CEF0", Slot = "17")] protected override void EPADDAIKCFF() { GameObject gameObject; AGAJMBPABDL ggafbjilnjb; do { base.EPADDAIKCFF(); TeleportationPortal teleportationPortal = this.portal; bool isLocked = teleportationPortal.NLLONFJBKKP; ParticleSystem particleSystem = this.firstPersonParticles; int num = 0; if (!(particleSystem != num)) { return; } gameObject = this.firstPersonParticles.gameObject; ggafbjilnjb = this.GGAFBJILNJB; } while (ggafbjilnjb == 0); bool flag = ggafbjilnjb.DMKCIEPGGAB; gameObject.SetActive(flag); } // Token: 0x06013299 RID: 78489 RVA: 0x00463FEC File Offset: 0x004621EC [Token(Token = "0x6013299")] [Address(RVA = "0x137D1E0", Offset = "0x137C1E0", VA = "0x18137D1E0")] private void HFMGIGMCNOG() { TeleportationPortal teleportationPortal = this.portal; RVOLayer layer = ((IAgent)teleportationPortal).Layer; } // Token: 0x0601329A RID: 78490 RVA: 0x00464010 File Offset: 0x00462210 [Token(Token = "0x601329A")] [Address(RVA = "0x137CFF0", Offset = "0x137BFF0", VA = "0x18137CFF0", Slot = "16")] protected override void HENCDABNPCK(Player IEKDDPPNFPF, out Vector3 MONHNHFIJBH, out Quaternion ELEPBLHFEMM) { TeleportationPortal teleportationPortal = this.portal; TeleportationPortal teleportationPortal2 = this.portal; Transform transform = base.transform; Vector3 vector; float z = vector.z; MONHNHFIJBH.z = z; Transform transform2 = base.transform; } // Token: 0x0601329B RID: 78491 RVA: 0x00464054 File Offset: 0x00462254 [Token(Token = "0x601329B")] [Address(RVA = "0x137ECF0", Offset = "0x137DCF0", VA = "0x18137ECF0", Slot = "19")] protected override void PGGHGJGDHGN(AGAJMBPABDL OOGAOMKKPPL) { base.PGGHGJGDHGN(OOGAOMKKPPL); if (OOGAOMKKPPL.DMKCIEPGGAB && this.NDOKLKMJCDD && this.LOJNGJCECIH == (ulong)0L) { BattleRoyaleGlider.CMFNHGDFJHD cmfnhgdfjhd; cmfnhgdfjhd.System.IDisposable.Dispose(); cmfnhgdfjhd.<>1__state = (int)((ulong)0L); cmfnhgdfjhd.<>4__this = this; Coroutine coroutine = base.StartCoroutine(cmfnhgdfjhd); this.LOJNGJCECIH = coroutine; } OOGAOMKKPPL.GPOMCJICJIH().playerEvents.ExitedGlider(); } // Token: 0x0601329C RID: 78492 RVA: 0x004640C0 File Offset: 0x004622C0 [Token(Token = "0x601329C")] [Address(RVA = "0x137CE80", Offset = "0x137BE80", VA = "0x18137CE80")] private void DPNDBHNEOGF(TeleportationPortal PHJCCNGFJLF) { BattleRoyaleGlider.MBBAMGDNAMC mbbamgdnamc; mbbamgdnamc.System.IDisposable.Dispose(); mbbamgdnamc.<>1__state = (int)((ulong)0L); mbbamgdnamc.<>4__this = this; Coroutine coroutine = base.StartCoroutine(mbbamgdnamc); } // Token: 0x0601329D RID: 78493 RVA: 0x004640EC File Offset: 0x004622EC [Token(Token = "0x601329D")] [Address(RVA = "0x137CE00", Offset = "0x137BE00", VA = "0x18137CE00")] private void DFPMINKJGJB() { if (this.LOJNGJCECIH == (ulong)0L) { BattleRoyaleGlider.CMFNHGDFJHD cmfnhgdfjhd; cmfnhgdfjhd.System.IDisposable.Dispose(); cmfnhgdfjhd.<>1__state = (int)((ulong)0L); cmfnhgdfjhd.<>4__this = this; Coroutine coroutine = base.StartCoroutine(cmfnhgdfjhd); this.LOJNGJCECIH = coroutine; } } // Token: 0x0601329E RID: 78494 RVA: 0x0046412C File Offset: 0x0046232C [Token(Token = "0x601329E")] [Address(RVA = "0x137DF00", Offset = "0x137CF00", VA = "0x18137DF00")] private IEnumerator KFJPKLPKCLA() { /* An exception occurred when decompiling this method (0601329E) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator RecRoom.Activities.BattleRoyale.BattleRoyaleGlider::KFJPKLPKCLA() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: call:void(CMFNHGDFJHD::System.IDisposable.Dispose, ldloc:CMFNHGDFJHD(var_0)) stfld:int32(CMFNHGDFJHD::<>1__state, ldloc:CMFNHGDFJHD(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0))) stfld:BattleRoyaleGlider(CMFNHGDFJHD::<>4__this, ldloc:CMFNHGDFJHD(var_0), ldloc:BattleRoyaleGlider(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: 0x0601329F RID: 78495 RVA: 0x00464150 File Offset: 0x00462350 [Token(Token = "0x601329F")] [Address(RVA = "0x137DF60", Offset = "0x137CF60", VA = "0x18137DF60")] private IEnumerator LEKENOBANLA() { /* An exception occurred when decompiling this method (0601329F) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator RecRoom.Activities.BattleRoyale.BattleRoyaleGlider::LEKENOBANLA() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: call:void(MBBAMGDNAMC::System.IDisposable.Dispose, ldloc:MBBAMGDNAMC(var_0)) stfld:int32(MBBAMGDNAMC::<>1__state, ldloc:MBBAMGDNAMC(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0))) stfld:BattleRoyaleGlider(MBBAMGDNAMC::<>4__this, ldloc:MBBAMGDNAMC(var_0), ldloc:BattleRoyaleGlider(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: 0x060132A0 RID: 78496 RVA: 0x00464174 File Offset: 0x00462374 [Token(Token = "0x60132A0")] [Address(RVA = "0x137F090", Offset = "0x137E090", VA = "0x18137F090")] [NFOMENMAOIA] private void RpcOnGliderDeploy(Vector3 HLGGOHMNGED) { RecRoomAudioClip recRoomAudioClip = this.deploySFX; float z = HLGGOHMNGED.z; } // Token: 0x060132A1 RID: 78497 RVA: 0x00464190 File Offset: 0x00462390 [Token(Token = "0x60132A1")] [Address(RVA = "0x137DA20", Offset = "0x137CA20", VA = "0x18137DA20")] public static BattleRoyaleGlider InstantiateForLocalPlayer(Vector3 DDHPAFKBMON, Quaternion IGPENJBJADK, bool GDJAMGIFMFI, bool NDOKLKMJCDD) { float z = DDHPAFKBMON.z; int num = 0; GameObject gameObject; if (!(gameObject == num)) { BattleRoyaleGlider component = gameObject.GetComponent(); int num2 = 0; bool flag = component == num2; if (!flag) { component.NDOKLKMJCDD = NDOKLKMJCDD; if (GDJAMGIFMFI != flag) { AnimateInOut animateInOut = component.animateInOut; int num3 = 0; if (animateInOut != num3) { component.animateInOut.SupportsAnimateIn = false; } component.LocalPlayerBoard(); PhotonView photonView = component.JDHMIOJKLCK; DGLOJCGDOGG.LFLFMIMNCON lflfmimncon = new DGLOJCGDOGG.LFLFMIMNCON(component.RpcOnGliderDeploy); float z2 = DDHPAFKBMON.z; } } } throw new NullReferenceException(); } // Token: 0x060132A2 RID: 78498 RVA: 0x00464230 File Offset: 0x00462430 [Token(Token = "0x60132A2")] [Address(RVA = "0x137F420", Offset = "0x137E420", VA = "0x18137F420")] public BattleRoyaleGlider() { int num = 0; this.postDisembarkSlowdownDuration = 1f; this.collisionSphereOriginLocalposition.z = (float)num; this.collisionSphereRadius = 0.5f; this.collisionSkinThickness = 0.04f; this.collisionMaxIterations = (int)((ulong)8L); this.negativeThrottleForwardSpeed = 2f; this.minThrottleForwardSpeed = 4f; this.maxThrottleForwardSpeed = 10f; this.negativeThrottleFallingSpeed = 1.5f; this.minThrottleFallingSpeed = 2f; this.maxThrottleFallingSpeed = 8f; this.negativeThrottleCanopyPitch = -10f; this.maxThrottleCanopyPitch = 20f; this.maxYawSpeed = 30f; this.maxTurnCanopyRoll = 20f; this.throttleAudioDecelerateTime = 0.5f; this.minCreakPeriod = 0.5f; this.steerCreakThreshold = 0.5f; this.throttleCreakThreshold = 0.4f; Vector2 zero = Vector2.zero; this.HPGMGEGCIMP = zero; this.HPGMGEGCIMP.y = (float)0; this.JIAPMNJEKPG = true; base..ctor(); } // Token: 0x0400C5F5 RID: 50677 [FieldOffset(Offset = "0x78")] [Token(Token = "0x400C5F5")] [SerializeField] [NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)] private AnimateInOut animateInOut; // Token: 0x0400C5F6 RID: 50678 [FieldOffset(Offset = "0x80")] [Token(Token = "0x400C5F6")] [SerializeField] [NKNLDEIPALE(FHBJCBPFODN.Children, false, false, false)] private TeleportationPortal portal; // Token: 0x0400C5F7 RID: 50679 [FieldOffset(Offset = "0x88")] [Token(Token = "0x400C5F7")] [SerializeField] [NKNLDEIPALE(FHBJCBPFODN.Children, false, false, false)] private BattleRoyaleGliderHandlebar handlebar; // Token: 0x0400C5F8 RID: 50680 [FieldOffset(Offset = "0x90")] [Token(Token = "0x400C5F8")] [SerializeField] [Header("Disembark")] private float postDisembarkSlowdownDuration; // Token: 0x0400C5F9 RID: 50681 [FieldOffset(Offset = "0x98")] [Token(Token = "0x400C5F9")] [SerializeField] [Header("Visuals")] private Transform canopyVisual; // Token: 0x0400C5FA RID: 50682 [FieldOffset(Offset = "0xA0")] [Token(Token = "0x400C5FA")] [SerializeField] private ParticleSystem firstPersonParticles; // Token: 0x0400C5FB RID: 50683 [FieldOffset(Offset = "0xA8")] [Token(Token = "0x400C5FB")] [SerializeField] [Header("Collision")] private Vector3 collisionSphereOriginLocalposition; // Token: 0x0400C5FC RID: 50684 [FieldOffset(Offset = "0xB4")] [Token(Token = "0x400C5FC")] [SerializeField] private float collisionSphereRadius; // Token: 0x0400C5FD RID: 50685 [FieldOffset(Offset = "0xB8")] [Token(Token = "0x400C5FD")] [SerializeField] private float collisionSkinThickness; // Token: 0x0400C5FE RID: 50686 [FieldOffset(Offset = "0xBC")] [Token(Token = "0x400C5FE")] [SerializeField] private int collisionMaxIterations; // Token: 0x0400C5FF RID: 50687 [FieldOffset(Offset = "0xC0")] [Token(Token = "0x400C5FF")] [SerializeField] [Header("Throttle")] private AnimationCurve throttleCurve; // Token: 0x0400C600 RID: 50688 [FieldOffset(Offset = "0xC8")] [Token(Token = "0x400C600")] [SerializeField] [Header("Throttle Forward Speed")] private float negativeThrottleForwardSpeed; // Token: 0x0400C601 RID: 50689 [FieldOffset(Offset = "0xCC")] [Token(Token = "0x400C601")] [SerializeField] private float minThrottleForwardSpeed; // Token: 0x0400C602 RID: 50690 [FieldOffset(Offset = "0xD0")] [Token(Token = "0x400C602")] [SerializeField] private float maxThrottleForwardSpeed; // Token: 0x0400C603 RID: 50691 [FieldOffset(Offset = "0xD4")] [Token(Token = "0x400C603")] [SerializeField] [Header("Throttle Falling Speed")] private float negativeThrottleFallingSpeed; // Token: 0x0400C604 RID: 50692 [FieldOffset(Offset = "0xD8")] [Token(Token = "0x400C604")] [SerializeField] private float minThrottleFallingSpeed; // Token: 0x0400C605 RID: 50693 [FieldOffset(Offset = "0xDC")] [Token(Token = "0x400C605")] [SerializeField] private float maxThrottleFallingSpeed; // Token: 0x0400C606 RID: 50694 [FieldOffset(Offset = "0xE0")] [Token(Token = "0x400C606")] [SerializeField] [Header("Throttle Canopy Pitch")] private float negativeThrottleCanopyPitch; // Token: 0x0400C607 RID: 50695 [FieldOffset(Offset = "0xE4")] [Token(Token = "0x400C607")] [SerializeField] private float minThrottleCanopyPitch; // Token: 0x0400C608 RID: 50696 [FieldOffset(Offset = "0xE8")] [Token(Token = "0x400C608")] [SerializeField] private float maxThrottleCanopyPitch; // Token: 0x0400C609 RID: 50697 [FieldOffset(Offset = "0xF0")] [Token(Token = "0x400C609")] [SerializeField] [Header("Steering")] private AnimationCurve steeringCurve; // Token: 0x0400C60A RID: 50698 [FieldOffset(Offset = "0xF8")] [Token(Token = "0x400C60A")] [SerializeField] private float maxYawSpeed; // Token: 0x0400C60B RID: 50699 [FieldOffset(Offset = "0xFC")] [Token(Token = "0x400C60B")] [SerializeField] private float maxTurnCanopyRoll; // Token: 0x0400C60C RID: 50700 [FieldOffset(Offset = "0x100")] [Token(Token = "0x400C60C")] [SerializeField] [Header("Vignetting")] private AnimationCurve steeringVignetteCurve; // Token: 0x0400C60D RID: 50701 [FieldOffset(Offset = "0x108")] [Token(Token = "0x400C60D")] [SerializeField] [Header("Audio")] private RecRoomAudioClip deploySFX; // Token: 0x0400C60E RID: 50702 [FieldOffset(Offset = "0x110")] [Token(Token = "0x400C60E")] [SerializeField] private RecRoomAudioClip canopyFlapSFX; // Token: 0x0400C60F RID: 50703 [FieldOffset(Offset = "0x118")] [Token(Token = "0x400C60F")] [SerializeField] [Header("Steer Audio")] private RecRoomAudioClip steerSFX; // Token: 0x0400C610 RID: 50704 [FieldOffset(Offset = "0x120")] [Token(Token = "0x400C610")] [SerializeField] private Transform steerLeftAudioOrigin; // Token: 0x0400C611 RID: 50705 [FieldOffset(Offset = "0x128")] [Token(Token = "0x400C611")] [SerializeField] private Transform steerRightAudioOrigin; // Token: 0x0400C612 RID: 50706 [FieldOffset(Offset = "0x130")] [Token(Token = "0x400C612")] [SerializeField] private AnimationCurve steerSFXCurve; // Token: 0x0400C613 RID: 50707 [FieldOffset(Offset = "0x138")] [Token(Token = "0x400C613")] [SerializeField] [Header("Throttle Audio")] private RecRoomAudioClip windSFX; // Token: 0x0400C614 RID: 50708 [FieldOffset(Offset = "0x140")] [Token(Token = "0x400C614")] [SerializeField] private AnimationCurve windSFXThrottleCurve; // Token: 0x0400C615 RID: 50709 [FieldOffset(Offset = "0x148")] [Token(Token = "0x400C615")] [SerializeField] private float throttleAudioDecelerateTime; // Token: 0x0400C616 RID: 50710 [FieldOffset(Offset = "0x150")] [Token(Token = "0x400C616")] [SerializeField] [Header("Creak Audio")] private RecRoomAudioClip[] handlebarCreakSFXChoices; // Token: 0x0400C617 RID: 50711 [FieldOffset(Offset = "0x158")] [Token(Token = "0x400C617")] [SerializeField] private float minCreakPeriod; // Token: 0x0400C618 RID: 50712 [FieldOffset(Offset = "0x15C")] [Token(Token = "0x400C618")] [SerializeField] private float steerCreakThreshold; // Token: 0x0400C619 RID: 50713 [FieldOffset(Offset = "0x160")] [Token(Token = "0x400C619")] [SerializeField] private float throttleCreakThreshold; // Token: 0x0400C61A RID: 50714 [FieldOffset(Offset = "0x164")] [Token(Token = "0x400C61A")] private bool NDOKLKMJCDD; // Token: 0x0400C61B RID: 50715 [FieldOffset(Offset = "0x168")] [Token(Token = "0x400C61B")] private Coroutine LOJNGJCECIH; // Token: 0x0400C61C RID: 50716 [FieldOffset(Offset = "0x170")] [Token(Token = "0x400C61C")] private SFXAudioSource NKAILEEALAO; // Token: 0x0400C61D RID: 50717 [FieldOffset(Offset = "0x178")] [Token(Token = "0x400C61D")] private SFXAudioSource MDADELNCINL; // Token: 0x0400C61E RID: 50718 [FieldOffset(Offset = "0x180")] [Token(Token = "0x400C61E")] private SFXAudioSource ELJPFKCHDLJ; // Token: 0x0400C61F RID: 50719 [FieldOffset(Offset = "0x188")] [Token(Token = "0x400C61F")] private float FHHCAPIEOFP; // Token: 0x0400C620 RID: 50720 [FieldOffset(Offset = "0x18C")] [Token(Token = "0x400C620")] private float PAICMLCFILK; // Token: 0x0400C621 RID: 50721 [FieldOffset(Offset = "0x190")] [Token(Token = "0x400C621")] private Vector2 HPGMGEGCIMP; // Token: 0x0400C622 RID: 50722 [FieldOffset(Offset = "0x198")] [Token(Token = "0x400C622")] private float ABLCICCLKFJ; // Token: 0x0400C623 RID: 50723 [Token(Token = "0x400C623")] private const float ADLCOBMIHJD = 1f; // Token: 0x0400C624 RID: 50724 [Token(Token = "0x400C624")] private const float KBCLCKBNPDM = 1f; // Token: 0x0400C625 RID: 50725 [FieldOffset(Offset = "0x19C")] [Token(Token = "0x400C625")] [NonSerialized] public bool InDirectSteerMode; // Token: 0x0400C626 RID: 50726 [FieldOffset(Offset = "0x19D")] [Token(Token = "0x400C626")] private bool JIAPMNJEKPG; } }