scripts
This commit is contained in:
@@ -0,0 +1,213 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Core.Locomotion
|
||||
{
|
||||
// Token: 0x02002A8E RID: 10894
|
||||
[Token(Token = "0x2002A8E")]
|
||||
[StructLayout(3)]
|
||||
public class LocomotionCollisionTrigger : MonoBehaviour
|
||||
{
|
||||
// Token: 0x14000193 RID: 403
|
||||
// (add) Token: 0x06013114 RID: 78100 RVA: 0x00494964 File Offset: 0x00492B64
|
||||
// (remove) Token: 0x06013115 RID: 78101 RVA: 0x0049498C File Offset: 0x00492B8C
|
||||
[Token(Token = "0x14000193")]
|
||||
public event LocomotionCollisionTrigger.AGJIHAOBCON NCMJJBMBDHK
|
||||
{
|
||||
[Token(Token = "0x6013114")]
|
||||
[Address(RVA = "0x13EFBF0", Offset = "0x13EE5F0", VA = "0x1813EFBF0")]
|
||||
[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 = "0x6013115")]
|
||||
[Address(RVA = "0x13EFD30", Offset = "0x13EE730", VA = "0x1813EFD30")]
|
||||
[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: 0x14000194 RID: 404
|
||||
// (add) Token: 0x06013116 RID: 78102 RVA: 0x004949B4 File Offset: 0x00492BB4
|
||||
// (remove) Token: 0x06013117 RID: 78103 RVA: 0x004949DC File Offset: 0x00492BDC
|
||||
[Token(Token = "0x14000194")]
|
||||
public event LocomotionCollisionTrigger.AGJIHAOBCON FFNEANOFKKI
|
||||
{
|
||||
[Token(Token = "0x6013116")]
|
||||
[Address(RVA = "0x13EFC90", Offset = "0x13EE690", VA = "0x1813EFC90")]
|
||||
[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 = "0x6013117")]
|
||||
[Address(RVA = "0x13EFDD0", Offset = "0x13EE7D0", VA = "0x1813EFDD0")]
|
||||
[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: 0x06013118 RID: 78104 RVA: 0x00494A04 File Offset: 0x00492C04
|
||||
[Token(Token = "0x6013118")]
|
||||
[Address(RVA = "0x13EFA10", Offset = "0x13EE410", VA = "0x1813EFA10")]
|
||||
public void OnLocomotionCollision(Player IEKDDPPNFPF, LEGLBECFPMF.GMACMDOKCGL OBHNEJDADJP)
|
||||
{
|
||||
Dictionary<LEGLBECFPMF.GMACMDOKCGL, ISchedulerPromise> nehnpmnckfa = this.NEHNPMNCKFA;
|
||||
bool flag;
|
||||
if (flag)
|
||||
{
|
||||
}
|
||||
Dictionary<LEGLBECFPMF.GMACMDOKCGL, ISchedulerPromise> nehnpmnckfa2 = this.NEHNPMNCKFA;
|
||||
Scheduler instance = SingletonMonoBehaviour.Instance;
|
||||
LocomotionCollisionTrigger.LLICOCALCIA llicocalcia;
|
||||
llicocalcia.System.IDisposable.Dispose();
|
||||
llicocalcia.<>1__state = (int)((ulong)0L);
|
||||
llicocalcia.<>4__this = this;
|
||||
llicocalcia.player = IEKDDPPNFPF;
|
||||
llicocalcia.surfaceType = OBHNEJDADJP;
|
||||
ISchedulerPromise schedulerPromise = instance.Run(this, llicocalcia);
|
||||
if (flag || this.NCMJJBMBDHK != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06013119 RID: 78105 RVA: 0x00494A78 File Offset: 0x00492C78
|
||||
[Token(Token = "0x6013119")]
|
||||
[Address(RVA = "0x13EF990", Offset = "0x13EE390", VA = "0x1813EF990")]
|
||||
private IEnumerator<ISchedule> HCPEOMKPCAO(Player IEKDDPPNFPF, LEGLBECFPMF.GMACMDOKCGL OBHNEJDADJP)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06013119)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerator`1<RecRoom.Core.ISchedule> 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: 0x0601311A RID: 78106 RVA: 0x00494AAC File Offset: 0x00492CAC
|
||||
[Token(Token = "0x601311A")]
|
||||
[Address(RVA = "0x13EFB90", Offset = "0x13EE590", VA = "0x1813EFB90")]
|
||||
public LocomotionCollisionTrigger()
|
||||
{
|
||||
Dictionary<LEGLBECFPMF.GMACMDOKCGL, ISchedulerPromise> dictionary = new Dictionary();
|
||||
this.NEHNPMNCKFA = dictionary;
|
||||
base..ctor();
|
||||
}
|
||||
|
||||
// Token: 0x0400CF09 RID: 53001
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400CF09")]
|
||||
private Dictionary<LEGLBECFPMF.GMACMDOKCGL, ISchedulerPromise> NEHNPMNCKFA;
|
||||
|
||||
// Token: 0x02002A8F RID: 10895
|
||||
[Token(Token = "0x2002A8F")]
|
||||
public sealed class AGJIHAOBCON : MulticastDelegate
|
||||
{
|
||||
// Token: 0x0601311B RID: 78107 RVA: 0x00494ACC File Offset: 0x00492CCC
|
||||
[Token(Token = "0x601311B")]
|
||||
[Address(RVA = "0x3E5170", Offset = "0x3E3B70", VA = "0x1803E5170")]
|
||||
public AGJIHAOBCON(object @object, IntPtr method)
|
||||
{
|
||||
this.method = method;
|
||||
this.m_target = @object;
|
||||
}
|
||||
|
||||
// Token: 0x0601311C RID: 78108 RVA: 0x00494AE8 File Offset: 0x00492CE8
|
||||
[Token(Token = "0x601311C")]
|
||||
[Address(RVA = "0x1104900", Offset = "0x1103300", VA = "0x181104900", Slot = "13")]
|
||||
public void Invoke(Player IEKDDPPNFPF, LEGLBECFPMF.GMACMDOKCGL OBHNEJDADJP)
|
||||
{
|
||||
if (this.delegates != 0)
|
||||
{
|
||||
}
|
||||
uint num;
|
||||
if (num != (uint)0)
|
||||
{
|
||||
throw new ExecutionEngineException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0601311D RID: 78109 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x601311D")]
|
||||
[Address(RVA = "0x13EC6E0", Offset = "0x13EB0E0", VA = "0x1813EC6E0", 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: 0x0601311E RID: 78110 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x601311E")]
|
||||
[Address(RVA = "0x40BFF0", Offset = "0x40A9F0", VA = "0x18040BFF0", Slot = "15")]
|
||||
public void EndInvoke(IAsyncResult GIAOBLMEMMI)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user