oh dear
This commit is contained in:
@@ -0,0 +1,141 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using Photon.Pun;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Tools
|
||||
{
|
||||
// Token: 0x020029FE RID: 10750
|
||||
[Token(Token = "0x20029FE")]
|
||||
public class GrabInteractionBase : MonoBehaviourPun
|
||||
{
|
||||
// Token: 0x06011FF2 RID: 73714 RVA: 0x0041B950 File Offset: 0x00419B50
|
||||
[Token(Token = "0x6011FF2")]
|
||||
[Address(RVA = "0x1042300", Offset = "0x1041100", VA = "0x181042300", Slot = "13")]
|
||||
protected override void Awake()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06011FF2)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void RecRoom.Tools.GrabInteractionBase::Awake()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_92:
|
||||
stloc:ArgumentNullException(var_12_9C, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("Error: missing reference for grabTool in GrabInteractionBAse.cs")))
|
||||
}
|
||||
|
||||
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: 0x06011FF3 RID: 73715 RVA: 0x0041B9FC File Offset: 0x00419BFC
|
||||
[Token(Token = "0x6011FF3")]
|
||||
[Address(RVA = "0x10425F0", Offset = "0x10413F0", VA = "0x1810425F0", Slot = "14")]
|
||||
protected override void OnDestroy()
|
||||
{
|
||||
ToolSet toolSet = this.toolSet;
|
||||
int num = 0;
|
||||
if (toolSet != num)
|
||||
{
|
||||
Action action;
|
||||
this.toolSet.NLKEKMGDOHM -= action;
|
||||
}
|
||||
Tool tool = this.grabTool;
|
||||
int num2 = 0;
|
||||
if (tool != num2)
|
||||
{
|
||||
Tool tool2 = this.grabTool;
|
||||
Action<Tool> action2;
|
||||
MFBGLIHGCGO<Tool> mfbglihgcgo = MFBGLIHGCGO.GMNMHGMFGOL(tool2.PostPickupEvent, action2);
|
||||
tool2.PostPickupEvent = mfbglihgcgo;
|
||||
}
|
||||
base.OnDestroy();
|
||||
}
|
||||
|
||||
// Token: 0x06011FF4 RID: 73716 RVA: 0x0041BA6C File Offset: 0x00419C6C
|
||||
[Token(Token = "0x6011FF4")]
|
||||
[Address(RVA = "0x10424F0", Offset = "0x10412F0", VA = "0x1810424F0")]
|
||||
protected void ICOBNOOOPOK(Tool EGFEJGHDNAI)
|
||||
{
|
||||
int num = 0;
|
||||
EGFEJGHDNAI.MBHKHNNAKBB = num != 0;
|
||||
RigidbodyEx rigidbodyEx = EGFEJGHDNAI.rigidbodyEx;
|
||||
int num2 = 0;
|
||||
if (rigidbodyEx != num2)
|
||||
{
|
||||
EGFEJGHDNAI.rigidbodyEx.AddKinematic(this);
|
||||
EGFEJGHDNAI.ReleaseWithVelocity = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06011FF5 RID: 73717 RVA: 0x0041BAB0 File Offset: 0x00419CB0
|
||||
[Token(Token = "0x6011FF5")]
|
||||
[Address(RVA = "0x10425A0", Offset = "0x10413A0", VA = "0x1810425A0")]
|
||||
protected void LNNKHBJMNDE()
|
||||
{
|
||||
this.grabTool.MBHKHNNAKBB = true;
|
||||
this.grabToolRigidBody.detectCollisions = true;
|
||||
this.grabToolMeshRenderer.enabled = true;
|
||||
}
|
||||
|
||||
// Token: 0x06011FF6 RID: 73718 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6011FF6")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "15")]
|
||||
protected virtual void NLKEKMGDOHM()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06011FF7 RID: 73719 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6011FF7")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "16")]
|
||||
protected virtual void AGDLNOODPGF(Tool EGFEJGHDNAI)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06011FF8 RID: 73720 RVA: 0x0041BAE8 File Offset: 0x00419CE8
|
||||
[Token(Token = "0x6011FF8")]
|
||||
[Address(RVA = "0x752FB0", Offset = "0x751DB0", VA = "0x180752FB0")]
|
||||
public GrabInteractionBase()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400B9F1 RID: 47601
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400B9F1")]
|
||||
[SerializeField]
|
||||
protected Tool tool;
|
||||
|
||||
// Token: 0x0400B9F2 RID: 47602
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x400B9F2")]
|
||||
[SerializeField]
|
||||
protected ToolSet toolSet;
|
||||
|
||||
// Token: 0x0400B9F3 RID: 47603
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x400B9F3")]
|
||||
[SerializeField]
|
||||
protected Tool grabTool;
|
||||
|
||||
// Token: 0x0400B9F4 RID: 47604
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x400B9F4")]
|
||||
[SerializeField]
|
||||
protected Rigidbody grabToolRigidBody;
|
||||
|
||||
// Token: 0x0400B9F5 RID: 47605
|
||||
[FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x400B9F5")]
|
||||
[SerializeField]
|
||||
protected MeshRenderer grabToolMeshRenderer;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user