Files
Apr2020-Cpp2Il-Dump/Assembly-CSharp/RecRoom/Activities/BattleRoyale/BattleRoyaleGlider.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

921 lines
34 KiB
C#

using System;
using System.Collections;
using Cpp2IlInjected;
using Photon.Pun;
using RecRoom.Core.Vehicles;
using UnityEngine;
namespace RecRoom.Activities.BattleRoyale
{
// Token: 0x02002BD1 RID: 11217
[Token(Token = "0x2002BD1")]
public class BattleRoyaleGlider : BaseVehicle
{
// Token: 0x170034AC RID: 13484
// (get) Token: 0x06012E45 RID: 77381 RVA: 0x004598E0 File Offset: 0x00457AE0
[Token(Token = "0x170034AC")]
public float CCMOFNFDFCN
{
[Token(Token = "0x6012E45")]
[Address(RVA = "0x86BE90", Offset = "0x86AC90", VA = "0x18086BE90")]
get
{
return this.maxYawSpeed;
}
}
// Token: 0x170034AD RID: 13485
// (get) Token: 0x06012E46 RID: 77382 RVA: 0x004598F4 File Offset: 0x00457AF4
[Token(Token = "0x170034AD")]
public BattleRoyaleGliderHandlebar DDOLEGFJODO
{
[Token(Token = "0x6012E46")]
[Address(RVA = "0x44EC80", Offset = "0x44DA80", VA = "0x18044EC80")]
get
{
return this.handlebar;
}
}
// Token: 0x170034AE RID: 13486
// (get) Token: 0x06012E47 RID: 77383 RVA: 0x00459908 File Offset: 0x00457B08
// (set) Token: 0x06012E48 RID: 77384 RVA: 0x0045991C File Offset: 0x00457B1C
[Token(Token = "0x170034AE")]
public bool ODJEFAAIEEM
{
[Token(Token = "0x6012E47")]
[Address(RVA = "0x86BE80", Offset = "0x86AC80", VA = "0x18086BE80")]
get
{
return this.JIAPMNJEKPG;
}
[Token(Token = "0x6012E48")]
[Address(RVA = "0x86BEA0", Offset = "0x86ACA0", VA = "0x18086BEA0")]
set
{
TeleportationPortal teleportationPortal = this.portal;
this.JIAPMNJEKPG = value;
bool isCompleted = ((IAsyncResult)teleportationPortal).IsCompleted;
}
}
// Token: 0x06012E49 RID: 77385 RVA: 0x00459944 File Offset: 0x00457B44
[Token(Token = "0x6012E49")]
[Address(RVA = "0x869630", Offset = "0x868430", VA = "0x180869630", Slot = "13")]
protected override void Awake()
{
base.Awake();
TeleportationPortal teleportationPortal = this.portal;
Action<TeleportationPortal> action = new Action(this.DPNDBHNEOGF);
teleportationPortal.LocalPlayerUseEvent += action;
this.portal.mode = (TeleportationPortal.IDIOIAGNCBL)((ulong)4L);
}
// Token: 0x06012E4A RID: 77386 RVA: 0x00459988 File Offset: 0x00457B88
[Token(Token = "0x6012E4A")]
[Address(RVA = "0x86B490", Offset = "0x86A290", VA = "0x18086B490", Slot = "14")]
protected override void OnDestroy()
{
base.OnDestroy();
TeleportationPortal teleportationPortal = this.portal;
Action<TeleportationPortal> action = new Action(this.DPNDBHNEOGF);
teleportationPortal.LocalPlayerUseEvent -= action;
this.HJLNKHFEKEJ();
}
// Token: 0x06012E4B RID: 77387 RVA: 0x004599C4 File Offset: 0x00457BC4
[Token(Token = "0x6012E4B")]
[Address(RVA = "0x86BA20", Offset = "0x86A820", VA = "0x18086BA20")]
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: 0x06012E4C RID: 77388 RVA: 0x00459AAC File Offset: 0x00457CAC
[Token(Token = "0x6012E4C")]
[Address(RVA = "0x86B530", Offset = "0x86A330", VA = "0x18086B530")]
private void OnDrawGizmos()
{
Color green = Color.green;
Transform transform = base.transform;
float z = this.collisionSphereOriginLocalposition.z;
Vector3 vector;
float z2 = vector.z;
}
// Token: 0x06012E4D RID: 77389 RVA: 0x00459AE0 File Offset: 0x00457CE0
[Token(Token = "0x6012E4D")]
[Address(RVA = "0x86BA00", Offset = "0x86A800", VA = "0x18086BA00")]
public void SteerDirectly(float BFLMJKIKKAI, float CDGGDBLHBNF)
{
if (this.InDirectSteerMode)
{
this.OKHAOPCDDAH(BFLMJKIKKAI, CDGGDBLHBNF);
return;
}
}
// Token: 0x06012E4E RID: 77390 RVA: 0x00459B00 File Offset: 0x00457D00
[Token(Token = "0x6012E4E")]
[Address(RVA = "0x86B120", Offset = "0x869F20", VA = "0x18086B120")]
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.<PIIODFOEOFG>k__BackingField.SetVehicleVignetteIntensityInterpolation(BFLMJKIKKAI);
}
}
this.IFFGIDGODCE(BFLMJKIKKAI, CDGGDBLHBNF);
}
// Token: 0x06012E4F RID: 77391 RVA: 0x00459BF0 File Offset: 0x00457DF0
[Token(Token = "0x6012E4F")]
[Address(RVA = "0x86AF40", Offset = "0x869D40", VA = "0x18086AF40")]
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: 0x06012E50 RID: 77392 RVA: 0x00459C5C File Offset: 0x00457E5C
[Token(Token = "0x6012E50")]
[Address(RVA = "0x86A8A0", Offset = "0x8696A0", VA = "0x18086A8A0")]
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.<PIIODFOEOFG>k__BackingField.SetVehicleVignetteIntensityInterpolation(EJPHOFNOGLO);
}
}
}
// Token: 0x06012E51 RID: 77393 RVA: 0x00459CAC File Offset: 0x00457EAC
[Token(Token = "0x6012E51")]
[Address(RVA = "0x86A9A0", Offset = "0x8697A0", VA = "0x18086A9A0")]
private void OHDLJCJOCAF(float JLPPJBIKPAG, float EJPHOFNOGLO)
{
/*
An exception occurred when decompiling this method (06012E51)
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 1660
*/;
}
// Token: 0x06012E52 RID: 77394 RVA: 0x00459EC8 File Offset: 0x004580C8
[Token(Token = "0x6012E52")]
[Address(RVA = "0x869B10", Offset = "0x868910", VA = "0x180869B10")]
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: 0x06012E53 RID: 77395 RVA: 0x00459F50 File Offset: 0x00458150
[Token(Token = "0x6012E53")]
[Address(RVA = "0x869CA0", Offset = "0x868AA0", VA = "0x180869CA0")]
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: 0x06012E54 RID: 77396 RVA: 0x0045A0C4 File Offset: 0x004582C4
[Token(Token = "0x6012E54")]
[Address(RVA = "0x86A540", Offset = "0x869340", VA = "0x18086A540")]
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: 0x06012E55 RID: 77397 RVA: 0x0045A110 File Offset: 0x00458310
[Token(Token = "0x6012E55")]
[Address(RVA = "0x86B6A0", Offset = "0x86A4A0", VA = "0x18086B6A0")]
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: 0x06012E56 RID: 77398 RVA: 0x0045A180 File Offset: 0x00458380
[Token(Token = "0x6012E56")]
[Address(RVA = "0x869580", Offset = "0x868380", VA = "0x180869580")]
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: 0x06012E57 RID: 77399 RVA: 0x0045A1D4 File Offset: 0x004583D4
[Token(Token = "0x6012E57")]
[Address(RVA = "0x8697D0", Offset = "0x8685D0", VA = "0x1808697D0", 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: 0x06012E58 RID: 77400 RVA: 0x0045A244 File Offset: 0x00458444
[Token(Token = "0x6012E58")]
[Address(RVA = "0x869AC0", Offset = "0x8688C0", VA = "0x180869AC0")]
private void HFMGIGMCNOG()
{
TeleportationPortal teleportationPortal = this.portal;
bool isCompleted = ((IAsyncResult)teleportationPortal).IsCompleted;
}
// Token: 0x06012E59 RID: 77401 RVA: 0x0045A268 File Offset: 0x00458468
[Token(Token = "0x6012E59")]
[Address(RVA = "0x8698D0", Offset = "0x8686D0", VA = "0x1808698D0", 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: 0x06012E5A RID: 77402 RVA: 0x0045A2AC File Offset: 0x004584AC
[Token(Token = "0x6012E5A")]
[Address(RVA = "0x86B5D0", Offset = "0x86A3D0", VA = "0x18086B5D0", 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: 0x06012E5B RID: 77403 RVA: 0x0045A318 File Offset: 0x00458518
[Token(Token = "0x6012E5B")]
[Address(RVA = "0x869760", Offset = "0x868560", VA = "0x180869760")]
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: 0x06012E5C RID: 77404 RVA: 0x0045A344 File Offset: 0x00458544
[Token(Token = "0x6012E5C")]
[Address(RVA = "0x8696E0", Offset = "0x8684E0", VA = "0x1808696E0")]
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: 0x06012E5D RID: 77405 RVA: 0x0045A384 File Offset: 0x00458584
[Token(Token = "0x6012E5D")]
[Address(RVA = "0x86A7E0", Offset = "0x8695E0", VA = "0x18086A7E0")]
private IEnumerator KFJPKLPKCLA()
{
/*
An exception occurred when decompiling this method (06012E5D)
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 1660
*/;
}
// Token: 0x06012E5E RID: 77406 RVA: 0x0045A3A8 File Offset: 0x004585A8
[Token(Token = "0x6012E5E")]
[Address(RVA = "0x86A840", Offset = "0x869640", VA = "0x18086A840")]
private IEnumerator LEKENOBANLA()
{
/*
An exception occurred when decompiling this method (06012E5E)
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 1660
*/;
}
// Token: 0x06012E5F RID: 77407 RVA: 0x0045A3CC File Offset: 0x004585CC
[Token(Token = "0x6012E5F")]
[Address(RVA = "0x86B970", Offset = "0x86A770", VA = "0x18086B970")]
[NFOMENMAOIA]
private void RpcOnGliderDeploy(Vector3 HLGGOHMNGED)
{
RecRoomAudioClip recRoomAudioClip = this.deploySFX;
float z = HLGGOHMNGED.z;
}
// Token: 0x06012E60 RID: 77408 RVA: 0x0045A3E8 File Offset: 0x004585E8
[Token(Token = "0x6012E60")]
[Address(RVA = "0x86A300", Offset = "0x869100", VA = "0x18086A300")]
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<BattleRoyaleGlider>();
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<Vector3> lflfmimncon = new DGLOJCGDOGG.LFLFMIMNCON(component.RpcOnGliderDeploy);
float z2 = DDHPAFKBMON.z;
}
}
}
throw new NullReferenceException();
}
// Token: 0x06012E61 RID: 77409 RVA: 0x0045A488 File Offset: 0x00458688
[Token(Token = "0x6012E61")]
[Address(RVA = "0x86BD00", Offset = "0x86AB00", VA = "0x18086BD00")]
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: 0x0400C3E1 RID: 50145
[FieldOffset(Offset = "0x78")]
[Token(Token = "0x400C3E1")]
[SerializeField]
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false, false)]
private AnimateInOut animateInOut;
// Token: 0x0400C3E2 RID: 50146
[FieldOffset(Offset = "0x80")]
[Token(Token = "0x400C3E2")]
[SerializeField]
[DDPIINEJFMD(JIBDPHMGEGO.Children, false, false, false)]
private TeleportationPortal portal;
// Token: 0x0400C3E3 RID: 50147
[FieldOffset(Offset = "0x88")]
[Token(Token = "0x400C3E3")]
[SerializeField]
[DDPIINEJFMD(JIBDPHMGEGO.Children, false, false, false)]
private BattleRoyaleGliderHandlebar handlebar;
// Token: 0x0400C3E4 RID: 50148
[FieldOffset(Offset = "0x90")]
[Token(Token = "0x400C3E4")]
[SerializeField]
[Header("Disembark")]
private float postDisembarkSlowdownDuration;
// Token: 0x0400C3E5 RID: 50149
[FieldOffset(Offset = "0x98")]
[Token(Token = "0x400C3E5")]
[SerializeField]
[Header("Visuals")]
private Transform canopyVisual;
// Token: 0x0400C3E6 RID: 50150
[FieldOffset(Offset = "0xA0")]
[Token(Token = "0x400C3E6")]
[SerializeField]
private ParticleSystem firstPersonParticles;
// Token: 0x0400C3E7 RID: 50151
[FieldOffset(Offset = "0xA8")]
[Token(Token = "0x400C3E7")]
[SerializeField]
[Header("Collision")]
private Vector3 collisionSphereOriginLocalposition;
// Token: 0x0400C3E8 RID: 50152
[FieldOffset(Offset = "0xB4")]
[Token(Token = "0x400C3E8")]
[SerializeField]
private float collisionSphereRadius;
// Token: 0x0400C3E9 RID: 50153
[FieldOffset(Offset = "0xB8")]
[Token(Token = "0x400C3E9")]
[SerializeField]
private float collisionSkinThickness;
// Token: 0x0400C3EA RID: 50154
[FieldOffset(Offset = "0xBC")]
[Token(Token = "0x400C3EA")]
[SerializeField]
private int collisionMaxIterations;
// Token: 0x0400C3EB RID: 50155
[FieldOffset(Offset = "0xC0")]
[Token(Token = "0x400C3EB")]
[SerializeField]
[Header("Throttle")]
private AnimationCurve throttleCurve;
// Token: 0x0400C3EC RID: 50156
[FieldOffset(Offset = "0xC8")]
[Token(Token = "0x400C3EC")]
[SerializeField]
[Header("Throttle Forward Speed")]
private float negativeThrottleForwardSpeed;
// Token: 0x0400C3ED RID: 50157
[FieldOffset(Offset = "0xCC")]
[Token(Token = "0x400C3ED")]
[SerializeField]
private float minThrottleForwardSpeed;
// Token: 0x0400C3EE RID: 50158
[FieldOffset(Offset = "0xD0")]
[Token(Token = "0x400C3EE")]
[SerializeField]
private float maxThrottleForwardSpeed;
// Token: 0x0400C3EF RID: 50159
[FieldOffset(Offset = "0xD4")]
[Token(Token = "0x400C3EF")]
[SerializeField]
[Header("Throttle Falling Speed")]
private float negativeThrottleFallingSpeed;
// Token: 0x0400C3F0 RID: 50160
[FieldOffset(Offset = "0xD8")]
[Token(Token = "0x400C3F0")]
[SerializeField]
private float minThrottleFallingSpeed;
// Token: 0x0400C3F1 RID: 50161
[FieldOffset(Offset = "0xDC")]
[Token(Token = "0x400C3F1")]
[SerializeField]
private float maxThrottleFallingSpeed;
// Token: 0x0400C3F2 RID: 50162
[FieldOffset(Offset = "0xE0")]
[Token(Token = "0x400C3F2")]
[SerializeField]
[Header("Throttle Canopy Pitch")]
private float negativeThrottleCanopyPitch;
// Token: 0x0400C3F3 RID: 50163
[FieldOffset(Offset = "0xE4")]
[Token(Token = "0x400C3F3")]
[SerializeField]
private float minThrottleCanopyPitch;
// Token: 0x0400C3F4 RID: 50164
[FieldOffset(Offset = "0xE8")]
[Token(Token = "0x400C3F4")]
[SerializeField]
private float maxThrottleCanopyPitch;
// Token: 0x0400C3F5 RID: 50165
[FieldOffset(Offset = "0xF0")]
[Token(Token = "0x400C3F5")]
[SerializeField]
[Header("Steering")]
private AnimationCurve steeringCurve;
// Token: 0x0400C3F6 RID: 50166
[FieldOffset(Offset = "0xF8")]
[Token(Token = "0x400C3F6")]
[SerializeField]
private float maxYawSpeed;
// Token: 0x0400C3F7 RID: 50167
[FieldOffset(Offset = "0xFC")]
[Token(Token = "0x400C3F7")]
[SerializeField]
private float maxTurnCanopyRoll;
// Token: 0x0400C3F8 RID: 50168
[FieldOffset(Offset = "0x100")]
[Token(Token = "0x400C3F8")]
[SerializeField]
[Header("Vignetting")]
private AnimationCurve steeringVignetteCurve;
// Token: 0x0400C3F9 RID: 50169
[FieldOffset(Offset = "0x108")]
[Token(Token = "0x400C3F9")]
[SerializeField]
[Header("Audio")]
private RecRoomAudioClip deploySFX;
// Token: 0x0400C3FA RID: 50170
[FieldOffset(Offset = "0x110")]
[Token(Token = "0x400C3FA")]
[SerializeField]
private RecRoomAudioClip canopyFlapSFX;
// Token: 0x0400C3FB RID: 50171
[FieldOffset(Offset = "0x118")]
[Token(Token = "0x400C3FB")]
[SerializeField]
[Header("Steer Audio")]
private RecRoomAudioClip steerSFX;
// Token: 0x0400C3FC RID: 50172
[FieldOffset(Offset = "0x120")]
[Token(Token = "0x400C3FC")]
[SerializeField]
private Transform steerLeftAudioOrigin;
// Token: 0x0400C3FD RID: 50173
[FieldOffset(Offset = "0x128")]
[Token(Token = "0x400C3FD")]
[SerializeField]
private Transform steerRightAudioOrigin;
// Token: 0x0400C3FE RID: 50174
[FieldOffset(Offset = "0x130")]
[Token(Token = "0x400C3FE")]
[SerializeField]
private AnimationCurve steerSFXCurve;
// Token: 0x0400C3FF RID: 50175
[FieldOffset(Offset = "0x138")]
[Token(Token = "0x400C3FF")]
[SerializeField]
[Header("Throttle Audio")]
private RecRoomAudioClip windSFX;
// Token: 0x0400C400 RID: 50176
[FieldOffset(Offset = "0x140")]
[Token(Token = "0x400C400")]
[SerializeField]
private AnimationCurve windSFXThrottleCurve;
// Token: 0x0400C401 RID: 50177
[FieldOffset(Offset = "0x148")]
[Token(Token = "0x400C401")]
[SerializeField]
private float throttleAudioDecelerateTime;
// Token: 0x0400C402 RID: 50178
[FieldOffset(Offset = "0x150")]
[Token(Token = "0x400C402")]
[SerializeField]
[Header("Creak Audio")]
private RecRoomAudioClip[] handlebarCreakSFXChoices;
// Token: 0x0400C403 RID: 50179
[FieldOffset(Offset = "0x158")]
[Token(Token = "0x400C403")]
[SerializeField]
private float minCreakPeriod;
// Token: 0x0400C404 RID: 50180
[FieldOffset(Offset = "0x15C")]
[Token(Token = "0x400C404")]
[SerializeField]
private float steerCreakThreshold;
// Token: 0x0400C405 RID: 50181
[FieldOffset(Offset = "0x160")]
[Token(Token = "0x400C405")]
[SerializeField]
private float throttleCreakThreshold;
// Token: 0x0400C406 RID: 50182
[FieldOffset(Offset = "0x164")]
[Token(Token = "0x400C406")]
private bool NDOKLKMJCDD;
// Token: 0x0400C407 RID: 50183
[FieldOffset(Offset = "0x168")]
[Token(Token = "0x400C407")]
private Coroutine LOJNGJCECIH;
// Token: 0x0400C408 RID: 50184
[FieldOffset(Offset = "0x170")]
[Token(Token = "0x400C408")]
private SFXAudioSource NKAILEEALAO;
// Token: 0x0400C409 RID: 50185
[FieldOffset(Offset = "0x178")]
[Token(Token = "0x400C409")]
private SFXAudioSource MDADELNCINL;
// Token: 0x0400C40A RID: 50186
[FieldOffset(Offset = "0x180")]
[Token(Token = "0x400C40A")]
private SFXAudioSource ELJPFKCHDLJ;
// Token: 0x0400C40B RID: 50187
[FieldOffset(Offset = "0x188")]
[Token(Token = "0x400C40B")]
private float FHHCAPIEOFP;
// Token: 0x0400C40C RID: 50188
[FieldOffset(Offset = "0x18C")]
[Token(Token = "0x400C40C")]
private float PAICMLCFILK;
// Token: 0x0400C40D RID: 50189
[FieldOffset(Offset = "0x190")]
[Token(Token = "0x400C40D")]
private Vector2 HPGMGEGCIMP;
// Token: 0x0400C40E RID: 50190
[FieldOffset(Offset = "0x198")]
[Token(Token = "0x400C40E")]
private float ABLCICCLKFJ;
// Token: 0x0400C40F RID: 50191
[Token(Token = "0x400C40F")]
private const float ADLCOBMIHJD = 1f;
// Token: 0x0400C410 RID: 50192
[Token(Token = "0x400C410")]
private const float KBCLCKBNPDM = 1f;
// Token: 0x0400C411 RID: 50193
[FieldOffset(Offset = "0x19C")]
[Token(Token = "0x400C411")]
[NonSerialized]
public bool InDirectSteerMode;
// Token: 0x0400C412 RID: 50194
[FieldOffset(Offset = "0x19D")]
[Token(Token = "0x400C412")]
private bool JIAPMNJEKPG;
}
}