297 lines
12 KiB
C#
297 lines
12 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Diagnostics;
|
|
using System.Runtime.CompilerServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020002B0 RID: 688
|
|
[Token(Token = "0x20002B0")]
|
|
public class StabilizedRigidbodyPickup : RigidbodyPickup
|
|
{
|
|
// Token: 0x17000333 RID: 819
|
|
// (get) Token: 0x060014E8 RID: 5352 RVA: 0x00058464 File Offset: 0x00056664
|
|
// (set) Token: 0x060014E9 RID: 5353 RVA: 0x00058478 File Offset: 0x00056678
|
|
[Token(Token = "0x17000333")]
|
|
public RigidbodyEx CMOCJKKIDOF
|
|
{
|
|
[Token(Token = "0x60014E8")]
|
|
[Address(RVA = "0x42C870", Offset = "0x42B870", VA = "0x18042C870")]
|
|
get
|
|
{
|
|
return this.MMBHKINIBHP;
|
|
}
|
|
[Token(Token = "0x60014E9")]
|
|
[Address(RVA = "0x211ACE0", Offset = "0x2119CE0", VA = "0x18211ACE0")]
|
|
set
|
|
{
|
|
int num = 0;
|
|
if (!(value == num))
|
|
{
|
|
Coroutine kldjbhkighi = this.KLDJBHKIGHI;
|
|
if (kldjbhkighi != 0)
|
|
{
|
|
base.StopCoroutine(kldjbhkighi);
|
|
this.KLDJBHKIGHI = (ulong)0L;
|
|
this.MMBHKINIBHP = value;
|
|
return;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Coroutine kldjbhkighi2 = this.KLDJBHKIGHI;
|
|
if (kldjbhkighi2 != 0)
|
|
{
|
|
base.StopCoroutine(kldjbhkighi2);
|
|
this.KLDJBHKIGHI = (ulong)0L;
|
|
}
|
|
StabilizedRigidbodyPickup.CBFJEEEBCMC cbfjeeebcmc;
|
|
cbfjeeebcmc.System.IDisposable.Dispose();
|
|
cbfjeeebcmc.<>1__state = (int)((ulong)0L);
|
|
cbfjeeebcmc.<>4__this = this;
|
|
Coroutine coroutine = base.StartCoroutine(cbfjeeebcmc);
|
|
this.KLDJBHKIGHI = coroutine;
|
|
}
|
|
this.MMBHKINIBHP = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x14000047 RID: 71
|
|
// (add) Token: 0x060014EA RID: 5354 RVA: 0x00058504 File Offset: 0x00056704
|
|
// (remove) Token: 0x060014EB RID: 5355 RVA: 0x00058520 File Offset: 0x00056720
|
|
[Token(Token = "0x14000047")]
|
|
public event Action DHHHLAHLBGH
|
|
{
|
|
[Token(Token = "0x60014EA")]
|
|
[Address(RVA = "0x211A580", Offset = "0x2119580", VA = "0x18211A580")]
|
|
[CompilerGenerated]
|
|
add
|
|
{
|
|
Delegate @delegate;
|
|
while (@delegate != 0 && @delegate == 0)
|
|
{
|
|
}
|
|
while (@delegate != this)
|
|
{
|
|
}
|
|
}
|
|
[Token(Token = "0x60014EB")]
|
|
[Address(RVA = "0x211AC40", Offset = "0x2119C40", VA = "0x18211AC40")]
|
|
[CompilerGenerated]
|
|
remove
|
|
{
|
|
Delegate @delegate;
|
|
while (@delegate != 0 && @delegate == 0)
|
|
{
|
|
}
|
|
while (@delegate != this)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000334 RID: 820
|
|
// (get) Token: 0x060014EC RID: 5356 RVA: 0x0005853C File Offset: 0x0005673C
|
|
[Token(Token = "0x17000334")]
|
|
public override Quaternion IKNMCIEGEHH
|
|
{
|
|
[Token(Token = "0x60014EC")]
|
|
[Address(RVA = "0x211A9B0", Offset = "0x21199B0", VA = "0x18211A9B0", Slot = "17")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060014EC)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Quaternion StabilizedRigidbodyPickup::get_TargetRotation()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_19:
|
|
brtrue(IL_00, cne:bool(ldstr:string("{il2cpp array field il2cppMethodInfo->}"), conv.u8:uint64[exp:string](ldc.i8:int64[exp:uint64](0))))
|
|
}
|
|
|
|
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: 0x17000335 RID: 821
|
|
// (get) Token: 0x060014ED RID: 5357 RVA: 0x0005856C File Offset: 0x0005676C
|
|
[Token(Token = "0x17000335")]
|
|
public Vector3 LFPKBNHAJNB
|
|
{
|
|
[Token(Token = "0x60014ED")]
|
|
[Address(RVA = "0x211A620", Offset = "0x2119620", VA = "0x18211A620")]
|
|
get
|
|
{
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
}
|
|
Vector3 forward = Vector3.forward;
|
|
float num;
|
|
if (0 > (int)num)
|
|
{
|
|
}
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000336 RID: 822
|
|
// (get) Token: 0x060014EE RID: 5358 RVA: 0x0005859C File Offset: 0x0005679C
|
|
[Token(Token = "0x17000336")]
|
|
public Vector3 OCHGHGKKIJK
|
|
{
|
|
[Token(Token = "0x60014EE")]
|
|
[Address(RVA = "0x211A8F0", Offset = "0x21198F0", VA = "0x18211A8F0")]
|
|
get
|
|
{
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060014EF RID: 5359 RVA: 0x000585B4 File Offset: 0x000567B4
|
|
[Token(Token = "0x60014EF")]
|
|
[Address(RVA = "0x211A360", Offset = "0x2119360", VA = "0x18211A360")]
|
|
private void FBMMPAIKJDO(Quaternion LLLHJELKLOD)
|
|
{
|
|
Coroutine kldjbhkighi = this.KLDJBHKIGHI;
|
|
if (kldjbhkighi != 0)
|
|
{
|
|
base.StopCoroutine(kldjbhkighi);
|
|
this.KLDJBHKIGHI = (ulong)0L;
|
|
}
|
|
StabilizedRigidbodyPickup.CBFJEEEBCMC cbfjeeebcmc;
|
|
cbfjeeebcmc.System.IDisposable.Dispose();
|
|
cbfjeeebcmc.<>1__state = (int)((ulong)0L);
|
|
cbfjeeebcmc.<>4__this = this;
|
|
Coroutine coroutine = base.StartCoroutine(cbfjeeebcmc);
|
|
this.KLDJBHKIGHI = coroutine;
|
|
}
|
|
|
|
// Token: 0x060014F0 RID: 5360 RVA: 0x00058604 File Offset: 0x00056804
|
|
[Token(Token = "0x60014F0")]
|
|
[Address(RVA = "0x1C8F750", Offset = "0x1C8E750", VA = "0x181C8F750")]
|
|
private void HBHIFHMJFLJ()
|
|
{
|
|
Coroutine kldjbhkighi = this.KLDJBHKIGHI;
|
|
if (kldjbhkighi != 0)
|
|
{
|
|
base.StopCoroutine(kldjbhkighi);
|
|
this.KLDJBHKIGHI = (ulong)0L;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060014F1 RID: 5361 RVA: 0x0005862C File Offset: 0x0005682C
|
|
[Token(Token = "0x60014F1")]
|
|
[Address(RVA = "0x211A400", Offset = "0x2119400", VA = "0x18211A400")]
|
|
private IEnumerator HKCMIGGAFNH(Quaternion LLLHJELKLOD)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060014F1)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator StabilizedRigidbodyPickup::HKCMIGGAFNH(UnityEngine.Quaternion)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(CBFJEEEBCMC::System.IDisposable.Dispose, ldloc:CBFJEEEBCMC(var_0))
|
|
stfld:StabilizedRigidbodyPickup(CBFJEEEBCMC::<>4__this, ldloc:CBFJEEEBCMC(var_0), ldloc:StabilizedRigidbodyPickup(this))
|
|
stfld:int32(CBFJEEEBCMC::<>1__state, ldloc:CBFJEEEBCMC(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
|
}
|
|
|
|
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: 0x060014F2 RID: 5362 RVA: 0x00058650 File Offset: 0x00056850
|
|
[Token(Token = "0x60014F2")]
|
|
[Address(RVA = "0x211A470", Offset = "0x2119470", VA = "0x18211A470")]
|
|
public StabilizedRigidbodyPickup()
|
|
{
|
|
float z = Vector3.zero.z;
|
|
this.StabilizerOffsetPosition.z = z;
|
|
Quaternion identity = Quaternion.identity;
|
|
float z2 = Vector3.zero.z;
|
|
this.StabilizedRigidbodyOffsetFromPickup.z = z2;
|
|
Quaternion identity2 = Quaternion.identity;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x060014F3 RID: 5363 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x60014F3")]
|
|
[Address(RVA = "0x211A330", Offset = "0x2119330", VA = "0x18211A330")]
|
|
[CompilerGenerated]
|
|
[DebuggerHidden]
|
|
private Quaternion AEIBJJHGPDO()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x04001092 RID: 4242
|
|
[FieldOffset(Offset = "0xD8")]
|
|
[Token(Token = "0x4001092")]
|
|
[SerializeField]
|
|
private float separationAngle = 30f;
|
|
|
|
// Token: 0x04001093 RID: 4243
|
|
[FieldOffset(Offset = "0xDC")]
|
|
[Token(Token = "0x4001093")]
|
|
[SerializeField]
|
|
private float returnToDestabilizedSpeed = 360f;
|
|
|
|
// Token: 0x04001094 RID: 4244
|
|
[FieldOffset(Offset = "0xE0")]
|
|
[Token(Token = "0x4001094")]
|
|
private RigidbodyEx MMBHKINIBHP;
|
|
|
|
// Token: 0x04001095 RID: 4245
|
|
[FieldOffset(Offset = "0xE8")]
|
|
[Token(Token = "0x4001095")]
|
|
[NonSerialized]
|
|
public Vector3 StabilizerOffsetPosition;
|
|
|
|
// Token: 0x04001096 RID: 4246
|
|
[FieldOffset(Offset = "0xF4")]
|
|
[Token(Token = "0x4001096")]
|
|
[NonSerialized]
|
|
public Quaternion StabilizerOffsetRotation;
|
|
|
|
// Token: 0x04001097 RID: 4247
|
|
[FieldOffset(Offset = "0x104")]
|
|
[Token(Token = "0x4001097")]
|
|
[NonSerialized]
|
|
public Vector3 StabilizedRigidbodyOffsetFromPickup;
|
|
|
|
// Token: 0x04001099 RID: 4249
|
|
[FieldOffset(Offset = "0x118")]
|
|
[Token(Token = "0x4001099")]
|
|
private Coroutine KLDJBHKIGHI;
|
|
|
|
// Token: 0x0400109A RID: 4250
|
|
[FieldOffset(Offset = "0x120")]
|
|
[Token(Token = "0x400109A")]
|
|
private Quaternion IMJLAMCJHAI;
|
|
}
|