299 lines
12 KiB
C#
299 lines
12 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Diagnostics;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020002B9 RID: 697
|
|
[Token(Token = "0x20002B9")]
|
|
[StructLayout(3)]
|
|
public class StabilizedRigidbodyPickup : RigidbodyPickup
|
|
{
|
|
// Token: 0x17000335 RID: 821
|
|
// (get) Token: 0x06001501 RID: 5377 RVA: 0x00058E9C File Offset: 0x0005709C
|
|
// (set) Token: 0x06001502 RID: 5378 RVA: 0x00058EB0 File Offset: 0x000570B0
|
|
[Token(Token = "0x17000335")]
|
|
public RigidbodyEx CMOCJKKIDOF
|
|
{
|
|
[Token(Token = "0x6001501")]
|
|
[Address(RVA = "0x3D3300", Offset = "0x3D1D00", VA = "0x1803D3300")]
|
|
get
|
|
{
|
|
return this.MMBHKINIBHP;
|
|
}
|
|
[Token(Token = "0x6001502")]
|
|
[Address(RVA = "0x1D665C0", Offset = "0x1D64FC0", VA = "0x181D665C0")]
|
|
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: 0x14000046 RID: 70
|
|
// (add) Token: 0x06001503 RID: 5379 RVA: 0x00058F3C File Offset: 0x0005713C
|
|
// (remove) Token: 0x06001504 RID: 5380 RVA: 0x00058F58 File Offset: 0x00057158
|
|
[Token(Token = "0x14000046")]
|
|
public event Action DHHHLAHLBGH
|
|
{
|
|
[Token(Token = "0x6001503")]
|
|
[Address(RVA = "0x1D65E60", Offset = "0x1D64860", VA = "0x181D65E60")]
|
|
[CompilerGenerated]
|
|
add
|
|
{
|
|
Delegate @delegate;
|
|
while (@delegate != 0 && @delegate == 0)
|
|
{
|
|
}
|
|
while (@delegate != this)
|
|
{
|
|
}
|
|
}
|
|
[Token(Token = "0x6001504")]
|
|
[Address(RVA = "0x1D66520", Offset = "0x1D64F20", VA = "0x181D66520")]
|
|
[CompilerGenerated]
|
|
remove
|
|
{
|
|
Delegate @delegate;
|
|
while (@delegate != 0 && @delegate == 0)
|
|
{
|
|
}
|
|
while (@delegate != this)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000336 RID: 822
|
|
// (get) Token: 0x06001505 RID: 5381 RVA: 0x00058F74 File Offset: 0x00057174
|
|
[Token(Token = "0x17000336")]
|
|
public override Quaternion IKNMCIEGEHH
|
|
{
|
|
[Token(Token = "0x6001505")]
|
|
[Address(RVA = "0x1D66290", Offset = "0x1D64C90", VA = "0x181D66290", Slot = "17")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06001505)
|
|
|
|
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: 0x17000337 RID: 823
|
|
// (get) Token: 0x06001506 RID: 5382 RVA: 0x00058FA4 File Offset: 0x000571A4
|
|
[Token(Token = "0x17000337")]
|
|
public Vector3 LFPKBNHAJNB
|
|
{
|
|
[Token(Token = "0x6001506")]
|
|
[Address(RVA = "0x1D65F00", Offset = "0x1D64900", VA = "0x181D65F00")]
|
|
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: 0x17000338 RID: 824
|
|
// (get) Token: 0x06001507 RID: 5383 RVA: 0x00058FD4 File Offset: 0x000571D4
|
|
[Token(Token = "0x17000338")]
|
|
public Vector3 OCHGHGKKIJK
|
|
{
|
|
[Token(Token = "0x6001507")]
|
|
[Address(RVA = "0x1D661D0", Offset = "0x1D64BD0", VA = "0x181D661D0")]
|
|
get
|
|
{
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001508 RID: 5384 RVA: 0x00058FEC File Offset: 0x000571EC
|
|
[Token(Token = "0x6001508")]
|
|
[Address(RVA = "0x1D65C10", Offset = "0x1D64610", VA = "0x181D65C10")]
|
|
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: 0x06001509 RID: 5385 RVA: 0x0005903C File Offset: 0x0005723C
|
|
[Token(Token = "0x6001509")]
|
|
[Address(RVA = "0x1D65CB0", Offset = "0x1D646B0", VA = "0x181D65CB0")]
|
|
private void HBHIFHMJFLJ()
|
|
{
|
|
Coroutine kldjbhkighi = this.KLDJBHKIGHI;
|
|
if (kldjbhkighi != 0)
|
|
{
|
|
base.StopCoroutine(kldjbhkighi);
|
|
this.KLDJBHKIGHI = (ulong)0L;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600150A RID: 5386 RVA: 0x00059064 File Offset: 0x00057264
|
|
[Token(Token = "0x600150A")]
|
|
[Address(RVA = "0x1D65CE0", Offset = "0x1D646E0", VA = "0x181D65CE0")]
|
|
private IEnumerator HKCMIGGAFNH(Quaternion LLLHJELKLOD)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600150A)
|
|
|
|
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: 0x0600150B RID: 5387 RVA: 0x00059088 File Offset: 0x00057288
|
|
[Token(Token = "0x600150B")]
|
|
[Address(RVA = "0x1D65D50", Offset = "0x1D64750", VA = "0x181D65D50")]
|
|
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: 0x0600150C RID: 5388 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x600150C")]
|
|
[Address(RVA = "0x1D65BE0", Offset = "0x1D645E0", VA = "0x181D65BE0")]
|
|
[DebuggerHidden]
|
|
[CompilerGenerated]
|
|
private Quaternion AEIBJJHGPDO()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0400109F RID: 4255
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD8")]
|
|
[Token(Token = "0x400109F")]
|
|
[SerializeField]
|
|
private float separationAngle = 30f;
|
|
|
|
// Token: 0x040010A0 RID: 4256
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xDC")]
|
|
[Token(Token = "0x40010A0")]
|
|
[SerializeField]
|
|
private float returnToDestabilizedSpeed = 360f;
|
|
|
|
// Token: 0x040010A1 RID: 4257
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xE0")]
|
|
[Token(Token = "0x40010A1")]
|
|
private RigidbodyEx MMBHKINIBHP;
|
|
|
|
// Token: 0x040010A2 RID: 4258
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xE8")]
|
|
[Token(Token = "0x40010A2")]
|
|
[NonSerialized]
|
|
public Vector3 StabilizerOffsetPosition;
|
|
|
|
// Token: 0x040010A3 RID: 4259
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xF4")]
|
|
[Token(Token = "0x40010A3")]
|
|
[NonSerialized]
|
|
public Quaternion StabilizerOffsetRotation;
|
|
|
|
// Token: 0x040010A4 RID: 4260
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x104")]
|
|
[Token(Token = "0x40010A4")]
|
|
[NonSerialized]
|
|
public Vector3 StabilizedRigidbodyOffsetFromPickup;
|
|
|
|
// Token: 0x040010A6 RID: 4262
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x118")]
|
|
[Token(Token = "0x40010A6")]
|
|
private Coroutine KLDJBHKIGHI;
|
|
|
|
// Token: 0x040010A7 RID: 4263
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x120")]
|
|
[Token(Token = "0x40010A7")]
|
|
private Quaternion IMJLAMCJHAI;
|
|
}
|