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: 0x020002AA RID: 682
|
|
[Token(Token = "0x20002AA")]
|
|
public class StabilizedRigidbodyPickup : RigidbodyPickup
|
|
{
|
|
// Token: 0x1700032E RID: 814
|
|
// (get) Token: 0x060014AA RID: 5290 RVA: 0x0005776C File Offset: 0x0005596C
|
|
// (set) Token: 0x060014AB RID: 5291 RVA: 0x00057780 File Offset: 0x00055980
|
|
[Token(Token = "0x1700032E")]
|
|
public RigidbodyEx CMOCJKKIDOF
|
|
{
|
|
[Token(Token = "0x60014AA")]
|
|
[Address(RVA = "0x9CD8C0", Offset = "0x9CC6C0", VA = "0x1809CD8C0")]
|
|
get
|
|
{
|
|
return this.MMBHKINIBHP;
|
|
}
|
|
[Token(Token = "0x60014AB")]
|
|
[Address(RVA = "0x1658720", Offset = "0x1657520", VA = "0x181658720")]
|
|
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: 0x060014AC RID: 5292 RVA: 0x0005780C File Offset: 0x00055A0C
|
|
// (remove) Token: 0x060014AD RID: 5293 RVA: 0x00057828 File Offset: 0x00055A28
|
|
[Token(Token = "0x14000047")]
|
|
public event Action DHHHLAHLBGH
|
|
{
|
|
[Token(Token = "0x60014AC")]
|
|
[Address(RVA = "0x1657FC0", Offset = "0x1656DC0", VA = "0x181657FC0")]
|
|
[CompilerGenerated]
|
|
add
|
|
{
|
|
Delegate @delegate;
|
|
while (@delegate != 0 && @delegate == 0)
|
|
{
|
|
}
|
|
while (@delegate != this)
|
|
{
|
|
}
|
|
}
|
|
[Token(Token = "0x60014AD")]
|
|
[Address(RVA = "0x1658680", Offset = "0x1657480", VA = "0x181658680")]
|
|
[CompilerGenerated]
|
|
remove
|
|
{
|
|
Delegate @delegate;
|
|
while (@delegate != 0 && @delegate == 0)
|
|
{
|
|
}
|
|
while (@delegate != this)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700032F RID: 815
|
|
// (get) Token: 0x060014AE RID: 5294 RVA: 0x00057844 File Offset: 0x00055A44
|
|
[Token(Token = "0x1700032F")]
|
|
public override Quaternion IKNMCIEGEHH
|
|
{
|
|
[Token(Token = "0x60014AE")]
|
|
[Address(RVA = "0x16583F0", Offset = "0x16571F0", VA = "0x1816583F0", Slot = "17")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060014AE)
|
|
|
|
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 1660
|
|
*/;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000330 RID: 816
|
|
// (get) Token: 0x060014AF RID: 5295 RVA: 0x00057874 File Offset: 0x00055A74
|
|
[Token(Token = "0x17000330")]
|
|
public Vector3 LFPKBNHAJNB
|
|
{
|
|
[Token(Token = "0x60014AF")]
|
|
[Address(RVA = "0x1658060", Offset = "0x1656E60", VA = "0x181658060")]
|
|
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: 0x17000331 RID: 817
|
|
// (get) Token: 0x060014B0 RID: 5296 RVA: 0x000578A4 File Offset: 0x00055AA4
|
|
[Token(Token = "0x17000331")]
|
|
public Vector3 OCHGHGKKIJK
|
|
{
|
|
[Token(Token = "0x60014B0")]
|
|
[Address(RVA = "0x1658330", Offset = "0x1657130", VA = "0x181658330")]
|
|
get
|
|
{
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060014B1 RID: 5297 RVA: 0x000578BC File Offset: 0x00055ABC
|
|
[Token(Token = "0x60014B1")]
|
|
[Address(RVA = "0x1657DA0", Offset = "0x1656BA0", VA = "0x181657DA0")]
|
|
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: 0x060014B2 RID: 5298 RVA: 0x0005790C File Offset: 0x00055B0C
|
|
[Token(Token = "0x60014B2")]
|
|
[Address(RVA = "0x1140FC0", Offset = "0x113FDC0", VA = "0x181140FC0")]
|
|
private void HBHIFHMJFLJ()
|
|
{
|
|
Coroutine kldjbhkighi = this.KLDJBHKIGHI;
|
|
if (kldjbhkighi != 0)
|
|
{
|
|
base.StopCoroutine(kldjbhkighi);
|
|
this.KLDJBHKIGHI = (ulong)0L;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060014B3 RID: 5299 RVA: 0x00057934 File Offset: 0x00055B34
|
|
[Token(Token = "0x60014B3")]
|
|
[Address(RVA = "0x1657E40", Offset = "0x1656C40", VA = "0x181657E40")]
|
|
private IEnumerator HKCMIGGAFNH(Quaternion LLLHJELKLOD)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060014B3)
|
|
|
|
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 1660
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x060014B4 RID: 5300 RVA: 0x00057958 File Offset: 0x00055B58
|
|
[Token(Token = "0x60014B4")]
|
|
[Address(RVA = "0x1657EB0", Offset = "0x1656CB0", VA = "0x181657EB0")]
|
|
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: 0x060014B5 RID: 5301 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x60014B5")]
|
|
[Address(RVA = "0x1657D70", Offset = "0x1656B70", VA = "0x181657D70")]
|
|
[DebuggerHidden]
|
|
[CompilerGenerated]
|
|
private Quaternion AEIBJJHGPDO()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0400105E RID: 4190
|
|
[FieldOffset(Offset = "0xD8")]
|
|
[Token(Token = "0x400105E")]
|
|
[SerializeField]
|
|
private float separationAngle = 30f;
|
|
|
|
// Token: 0x0400105F RID: 4191
|
|
[FieldOffset(Offset = "0xDC")]
|
|
[Token(Token = "0x400105F")]
|
|
[SerializeField]
|
|
private float returnToDestabilizedSpeed = 360f;
|
|
|
|
// Token: 0x04001060 RID: 4192
|
|
[FieldOffset(Offset = "0xE0")]
|
|
[Token(Token = "0x4001060")]
|
|
private RigidbodyEx MMBHKINIBHP;
|
|
|
|
// Token: 0x04001061 RID: 4193
|
|
[FieldOffset(Offset = "0xE8")]
|
|
[Token(Token = "0x4001061")]
|
|
[NonSerialized]
|
|
public Vector3 StabilizerOffsetPosition;
|
|
|
|
// Token: 0x04001062 RID: 4194
|
|
[FieldOffset(Offset = "0xF4")]
|
|
[Token(Token = "0x4001062")]
|
|
[NonSerialized]
|
|
public Quaternion StabilizerOffsetRotation;
|
|
|
|
// Token: 0x04001063 RID: 4195
|
|
[FieldOffset(Offset = "0x104")]
|
|
[Token(Token = "0x4001063")]
|
|
[NonSerialized]
|
|
public Vector3 StabilizedRigidbodyOffsetFromPickup;
|
|
|
|
// Token: 0x04001065 RID: 4197
|
|
[FieldOffset(Offset = "0x118")]
|
|
[Token(Token = "0x4001065")]
|
|
private Coroutine KLDJBHKIGHI;
|
|
|
|
// Token: 0x04001066 RID: 4198
|
|
[FieldOffset(Offset = "0x120")]
|
|
[Token(Token = "0x4001066")]
|
|
private Quaternion IMJLAMCJHAI;
|
|
}
|