212 lines
8.8 KiB
C#
212 lines
8.8 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.CompilerServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Core.Locomotion
|
|
{
|
|
// Token: 0x02003035 RID: 12341
|
|
[Token(Token = "0x2003035")]
|
|
public class LocomotionCollisionTrigger : MonoBehaviour
|
|
{
|
|
// Token: 0x140001C4 RID: 452
|
|
// (add) Token: 0x06014E2D RID: 85549 RVA: 0x004DAB18 File Offset: 0x004D8D18
|
|
// (remove) Token: 0x06014E2E RID: 85550 RVA: 0x004DAB40 File Offset: 0x004D8D40
|
|
[Token(Token = "0x140001C4")]
|
|
public event LocomotionCollisionTrigger.AGJIHAOBCON NCMJJBMBDHK
|
|
{
|
|
[Token(Token = "0x6014E2D")]
|
|
[Address(RVA = "0x1A2CFA0", Offset = "0x1A2BFA0", VA = "0x181A2CFA0")]
|
|
[CompilerGenerated]
|
|
add
|
|
{
|
|
LocomotionCollisionTrigger.AGJIHAOBCON ncmjjbmbdhk;
|
|
Delegate @delegate;
|
|
do
|
|
{
|
|
ncmjjbmbdhk = this.NCMJJBMBDHK;
|
|
@delegate = Delegate.Combine(ncmjjbmbdhk, value);
|
|
}
|
|
while (@delegate != 0 && @delegate == 0);
|
|
while (@delegate != ncmjjbmbdhk)
|
|
{
|
|
}
|
|
}
|
|
[Token(Token = "0x6014E2E")]
|
|
[Address(RVA = "0x1A2D0E0", Offset = "0x1A2C0E0", VA = "0x181A2D0E0")]
|
|
[CompilerGenerated]
|
|
remove
|
|
{
|
|
LocomotionCollisionTrigger.AGJIHAOBCON ncmjjbmbdhk;
|
|
Delegate @delegate;
|
|
do
|
|
{
|
|
ncmjjbmbdhk = this.NCMJJBMBDHK;
|
|
@delegate = Delegate.Remove(ncmjjbmbdhk, value);
|
|
}
|
|
while (@delegate != 0 && @delegate == 0);
|
|
while (@delegate != ncmjjbmbdhk)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x140001C5 RID: 453
|
|
// (add) Token: 0x06014E2F RID: 85551 RVA: 0x004DAB68 File Offset: 0x004D8D68
|
|
// (remove) Token: 0x06014E30 RID: 85552 RVA: 0x004DAB90 File Offset: 0x004D8D90
|
|
[Token(Token = "0x140001C5")]
|
|
public event LocomotionCollisionTrigger.AGJIHAOBCON FFNEANOFKKI
|
|
{
|
|
[Token(Token = "0x6014E2F")]
|
|
[Address(RVA = "0x1A2D040", Offset = "0x1A2C040", VA = "0x181A2D040")]
|
|
[CompilerGenerated]
|
|
add
|
|
{
|
|
LocomotionCollisionTrigger.AGJIHAOBCON ffneanofkki;
|
|
Delegate @delegate;
|
|
do
|
|
{
|
|
ffneanofkki = this.FFNEANOFKKI;
|
|
@delegate = Delegate.Combine(ffneanofkki, value);
|
|
}
|
|
while (@delegate != 0 && @delegate == 0);
|
|
while (@delegate != ffneanofkki)
|
|
{
|
|
}
|
|
}
|
|
[Token(Token = "0x6014E30")]
|
|
[Address(RVA = "0x1A2D180", Offset = "0x1A2C180", VA = "0x181A2D180")]
|
|
[CompilerGenerated]
|
|
remove
|
|
{
|
|
LocomotionCollisionTrigger.AGJIHAOBCON ffneanofkki;
|
|
Delegate @delegate;
|
|
do
|
|
{
|
|
ffneanofkki = this.FFNEANOFKKI;
|
|
@delegate = Delegate.Remove(ffneanofkki, value);
|
|
}
|
|
while (@delegate != 0 && @delegate == 0);
|
|
while (@delegate != ffneanofkki)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06014E31 RID: 85553 RVA: 0x004DABB8 File Offset: 0x004D8DB8
|
|
[Token(Token = "0x6014E31")]
|
|
[Address(RVA = "0x1A2CDC0", Offset = "0x1A2BDC0", VA = "0x181A2CDC0")]
|
|
public void OnLocomotionCollision(Player IEKDDPPNFPF, LEGLBECFPMF.GMACMDOKCGL OBHNEJDADJP)
|
|
{
|
|
Dictionary<LEGLBECFPMF.GMACMDOKCGL, KFBABPAPIMB> nehnpmnckfa = this.NEHNPMNCKFA;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
}
|
|
Dictionary<LEGLBECFPMF.GMACMDOKCGL, KFBABPAPIMB> nehnpmnckfa2 = this.NEHNPMNCKFA;
|
|
Scheduler instance = SingletonMonoBehaviour.ONCPNMDGGKG;
|
|
LocomotionCollisionTrigger.LLICOCALCIA llicocalcia;
|
|
llicocalcia.System.IDisposable.Dispose();
|
|
llicocalcia.<>1__state = (int)((ulong)0L);
|
|
llicocalcia.<>4__this = this;
|
|
llicocalcia.player = IEKDDPPNFPF;
|
|
llicocalcia.surfaceType = OBHNEJDADJP;
|
|
KFBABPAPIMB kfbabpapimb = instance.Run(this, llicocalcia);
|
|
if (flag || this.NCMJJBMBDHK != 0)
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x06014E32 RID: 85554 RVA: 0x004DAC2C File Offset: 0x004D8E2C
|
|
[Token(Token = "0x6014E32")]
|
|
[Address(RVA = "0x1A2CD40", Offset = "0x1A2BD40", VA = "0x181A2CD40")]
|
|
private IEnumerator<KENFJGFMIPM> HCPEOMKPCAO(Player IEKDDPPNFPF, LEGLBECFPMF.GMACMDOKCGL OBHNEJDADJP)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06014E32)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerator`1<KENFJGFMIPM> RecRoom.Core.Locomotion.LocomotionCollisionTrigger::HCPEOMKPCAO(Player,LEGLBECFPMF/GMACMDOKCGL)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(LLICOCALCIA::System.IDisposable.Dispose, ldloc:LLICOCALCIA(var_1))
|
|
stfld:LocomotionCollisionTrigger(LLICOCALCIA::<>4__this, ldloc:LLICOCALCIA(var_1), ldloc:LocomotionCollisionTrigger(this))
|
|
stfld:Player(LLICOCALCIA::player, ldloc:LLICOCALCIA(var_1), ldloc:Player(IEKDDPPNFPF))
|
|
stfld:int32(LLICOCALCIA::<>1__state, ldloc:LLICOCALCIA(var_1), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
|
stfld:GMACMDOKCGL(LLICOCALCIA::surfaceType, ldloc:LLICOCALCIA(var_1), ldloc:GMACMDOKCGL(OBHNEJDADJP))
|
|
}
|
|
|
|
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: 0x06014E33 RID: 85555 RVA: 0x004DAC60 File Offset: 0x004D8E60
|
|
[Token(Token = "0x6014E33")]
|
|
[Address(RVA = "0x1A2CF40", Offset = "0x1A2BF40", VA = "0x181A2CF40")]
|
|
public LocomotionCollisionTrigger()
|
|
{
|
|
Dictionary<LEGLBECFPMF.GMACMDOKCGL, KFBABPAPIMB> dictionary = new Dictionary();
|
|
this.NEHNPMNCKFA = dictionary;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x0400DB85 RID: 56197
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400DB85")]
|
|
private Dictionary<LEGLBECFPMF.GMACMDOKCGL, KFBABPAPIMB> NEHNPMNCKFA;
|
|
|
|
// Token: 0x02003036 RID: 12342
|
|
[Token(Token = "0x2003036")]
|
|
public sealed class AGJIHAOBCON : MulticastDelegate
|
|
{
|
|
// Token: 0x06014E34 RID: 85556 RVA: 0x004DAC80 File Offset: 0x004D8E80
|
|
[Token(Token = "0x6014E34")]
|
|
[Address(RVA = "0x4AF020", Offset = "0x4AE020", VA = "0x1804AF020")]
|
|
public AGJIHAOBCON(object FEDFKKMABOG, IntPtr APAICGIHAGJ)
|
|
{
|
|
this.method = APAICGIHAGJ;
|
|
this.m_target = FEDFKKMABOG;
|
|
}
|
|
|
|
// Token: 0x06014E35 RID: 85557 RVA: 0x004DAC9C File Offset: 0x004D8E9C
|
|
[Token(Token = "0x6014E35")]
|
|
[Address(RVA = "0x1A27AA0", Offset = "0x1A26AA0", VA = "0x181A27AA0", Slot = "13")]
|
|
public void Invoke(Player IEKDDPPNFPF, LEGLBECFPMF.GMACMDOKCGL OBHNEJDADJP)
|
|
{
|
|
if (this.delegates != 0)
|
|
{
|
|
}
|
|
uint num;
|
|
if (num != (uint)0)
|
|
{
|
|
throw new ExecutionEngineException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06014E36 RID: 85558 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6014E36")]
|
|
[Address(RVA = "0x1A27A10", Offset = "0x1A26A10", VA = "0x181A27A10", Slot = "14")]
|
|
public IAsyncResult BeginInvoke(Player IEKDDPPNFPF, LEGLBECFPMF.GMACMDOKCGL OBHNEJDADJP, AsyncCallback AFLPGGJMPOE, object FEDFKKMABOG)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06014E37 RID: 85559 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6014E37")]
|
|
[Address(RVA = "0x4F56B0", Offset = "0x4F46B0", VA = "0x1804F56B0", Slot = "15")]
|
|
public void EndInvoke(IAsyncResult GIAOBLMEMMI)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
}
|
|
}
|