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: 0x02002F4C RID: 12108
|
|
[Token(Token = "0x2002F4C")]
|
|
public class LocomotionCollisionTrigger : MonoBehaviour
|
|
{
|
|
// Token: 0x140001BE RID: 446
|
|
// (add) Token: 0x060149E2 RID: 84450 RVA: 0x004D0A20 File Offset: 0x004CEC20
|
|
// (remove) Token: 0x060149E3 RID: 84451 RVA: 0x004D0A48 File Offset: 0x004CEC48
|
|
[Token(Token = "0x140001BE")]
|
|
public event LocomotionCollisionTrigger.AGJIHAOBCON NCMJJBMBDHK
|
|
{
|
|
[Token(Token = "0x60149E2")]
|
|
[Address(RVA = "0xEF5AE0", Offset = "0xEF48E0", VA = "0x180EF5AE0")]
|
|
[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 = "0x60149E3")]
|
|
[Address(RVA = "0xEF5C20", Offset = "0xEF4A20", VA = "0x180EF5C20")]
|
|
[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: 0x140001BF RID: 447
|
|
// (add) Token: 0x060149E4 RID: 84452 RVA: 0x004D0A70 File Offset: 0x004CEC70
|
|
// (remove) Token: 0x060149E5 RID: 84453 RVA: 0x004D0A98 File Offset: 0x004CEC98
|
|
[Token(Token = "0x140001BF")]
|
|
public event LocomotionCollisionTrigger.AGJIHAOBCON FFNEANOFKKI
|
|
{
|
|
[Token(Token = "0x60149E4")]
|
|
[Address(RVA = "0xEF5B80", Offset = "0xEF4980", VA = "0x180EF5B80")]
|
|
[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 = "0x60149E5")]
|
|
[Address(RVA = "0xEF5CC0", Offset = "0xEF4AC0", VA = "0x180EF5CC0")]
|
|
[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: 0x060149E6 RID: 84454 RVA: 0x004D0AC0 File Offset: 0x004CECC0
|
|
[Token(Token = "0x60149E6")]
|
|
[Address(RVA = "0xEF5900", Offset = "0xEF4700", VA = "0x180EF5900")]
|
|
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: 0x060149E7 RID: 84455 RVA: 0x004D0B34 File Offset: 0x004CED34
|
|
[Token(Token = "0x60149E7")]
|
|
[Address(RVA = "0xEF5880", Offset = "0xEF4680", VA = "0x180EF5880")]
|
|
private IEnumerator<KENFJGFMIPM> HCPEOMKPCAO(Player IEKDDPPNFPF, LEGLBECFPMF.GMACMDOKCGL OBHNEJDADJP)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060149E7)
|
|
|
|
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: 0x060149E8 RID: 84456 RVA: 0x004D0B68 File Offset: 0x004CED68
|
|
[Token(Token = "0x60149E8")]
|
|
[Address(RVA = "0xEF5A80", Offset = "0xEF4880", VA = "0x180EF5A80")]
|
|
public LocomotionCollisionTrigger()
|
|
{
|
|
Dictionary<LEGLBECFPMF.GMACMDOKCGL, KFBABPAPIMB> dictionary = new Dictionary();
|
|
this.NEHNPMNCKFA = dictionary;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x0400D956 RID: 55638
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400D956")]
|
|
private Dictionary<LEGLBECFPMF.GMACMDOKCGL, KFBABPAPIMB> NEHNPMNCKFA;
|
|
|
|
// Token: 0x02002F4D RID: 12109
|
|
[Token(Token = "0x2002F4D")]
|
|
public sealed class AGJIHAOBCON : MulticastDelegate
|
|
{
|
|
// Token: 0x060149E9 RID: 84457 RVA: 0x004D0B88 File Offset: 0x004CED88
|
|
[Token(Token = "0x60149E9")]
|
|
[Address(RVA = "0x448ED0", Offset = "0x447CD0", VA = "0x180448ED0")]
|
|
public AGJIHAOBCON(object FEDFKKMABOG, IntPtr APAICGIHAGJ)
|
|
{
|
|
this.method = APAICGIHAGJ;
|
|
this.m_target = FEDFKKMABOG;
|
|
}
|
|
|
|
// Token: 0x060149EA RID: 84458 RVA: 0x004D0BA4 File Offset: 0x004CEDA4
|
|
[Token(Token = "0x60149EA")]
|
|
[Address(RVA = "0xEF06C0", Offset = "0xEEF4C0", VA = "0x180EF06C0", Slot = "13")]
|
|
public void Invoke(Player IEKDDPPNFPF, LEGLBECFPMF.GMACMDOKCGL OBHNEJDADJP)
|
|
{
|
|
if (this.delegates != 0)
|
|
{
|
|
}
|
|
uint num;
|
|
if (num != (uint)0)
|
|
{
|
|
throw new ExecutionEngineException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060149EB RID: 84459 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x60149EB")]
|
|
[Address(RVA = "0xEF0630", Offset = "0xEEF430", VA = "0x180EF0630", 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: 0x060149EC RID: 84460 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x60149EC")]
|
|
[Address(RVA = "0x448B70", Offset = "0x447970", VA = "0x180448B70", Slot = "15")]
|
|
public void EndInvoke(IAsyncResult GIAOBLMEMMI)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
}
|
|
}
|