scripts
This commit is contained in:
@@ -0,0 +1,216 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using AGUI.StackedUI;
|
||||
using Cpp2IlInjected;
|
||||
using RecRoom.Core;
|
||||
using RecRoom.Core.UI;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace RecRoom
|
||||
{
|
||||
// Token: 0x02001C4E RID: 7246
|
||||
[Token(Token = "0x2001C4E")]
|
||||
[StructLayout(3)]
|
||||
public class PlayerAnimationPuppetMenu : MonoBehaviour
|
||||
{
|
||||
// Token: 0x17001E48 RID: 7752
|
||||
// (get) Token: 0x0600C21D RID: 49693 RVA: 0x002DC204 File Offset: 0x002DA404
|
||||
// (set) Token: 0x0600C21E RID: 49694 RVA: 0x002DC218 File Offset: 0x002DA418
|
||||
[Token(Token = "0x17001E48")]
|
||||
private int KGOEPCKEAEL
|
||||
{
|
||||
[Token(Token = "0x600C21D")]
|
||||
[Address(RVA = "0x446CA0", Offset = "0x4456A0", VA = "0x180446CA0")]
|
||||
get
|
||||
{
|
||||
return this.IFCKDBIJPJM;
|
||||
}
|
||||
[Token(Token = "0x600C21E")]
|
||||
[Address(RVA = "0x1413A20", Offset = "0x1412420", VA = "0x181413A20")]
|
||||
set
|
||||
{
|
||||
Button3D button3D = this.decrementButton;
|
||||
this.IFCKDBIJPJM = value;
|
||||
if (value > 0)
|
||||
{
|
||||
}
|
||||
this.IFCKDBIJPJM = (int)((ulong)0L);
|
||||
int num = 0;
|
||||
button3D.FFDOINJEHMM = num != 0;
|
||||
int ifckdbijpjm = this.IFCKDBIJPJM;
|
||||
int size = NGGLIBDCPIB.IDDFFAKGIEP._size;
|
||||
if (ifckdbijpjm < size)
|
||||
{
|
||||
this.incrementButton.FFDOINJEHMM = true;
|
||||
return;
|
||||
}
|
||||
int size2 = NGGLIBDCPIB.IDDFFAKGIEP._size;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C21F RID: 49695 RVA: 0x002DC284 File Offset: 0x002DA484
|
||||
[Token(Token = "0x600C21F")]
|
||||
[Address(RVA = "0x14135D0", Offset = "0x1411FD0", VA = "0x1814135D0")]
|
||||
private void Awake()
|
||||
{
|
||||
ActionEvent dmlcelookcc = NGGLIBDCPIB.DMLCELOOKCC;
|
||||
Action action = new Action(this.BAJDNNCKBIA);
|
||||
NGGLIBDCPIB.DMLCELOOKCC = dmlcelookcc + action;
|
||||
PlayerAnimationPreviewPuppet playerAnimationPreviewPuppet = global::UnityEngine.Object.FindObjectOfType<PlayerAnimationPreviewPuppet>();
|
||||
this.LKEJDAHFNFB = playerAnimationPreviewPuppet;
|
||||
ActionEvent localPlayerCreatedEvent = Player.LocalPlayerCreatedEvent;
|
||||
Action action2 = new Action(this.CLBLFCJEDLL);
|
||||
Player.LocalPlayerCreatedEvent = localPlayerCreatedEvent + action2;
|
||||
}
|
||||
|
||||
// Token: 0x0600C220 RID: 49696 RVA: 0x002DC308 File Offset: 0x002DA508
|
||||
[Token(Token = "0x600C220")]
|
||||
[Address(RVA = "0x1413C70", Offset = "0x1412670", VA = "0x181413C70")]
|
||||
private void Start()
|
||||
{
|
||||
UIInputModule instance = UIInputModule.Instance;
|
||||
int num = 0;
|
||||
if (instance != num)
|
||||
{
|
||||
Canvas componentInChildren = base.GetComponentInChildren<Canvas>();
|
||||
Camera <MCLKPPFJMIH>k__BackingField = UIInputModule.Instance.<MCLKPPFJMIH>k__BackingField;
|
||||
componentInChildren.worldCamera = <MCLKPPFJMIH>k__BackingField;
|
||||
}
|
||||
int size = NGGLIBDCPIB.IDDFFAKGIEP._size;
|
||||
this.KGOEPCKEAEL = size;
|
||||
}
|
||||
|
||||
// Token: 0x0600C221 RID: 49697 RVA: 0x002DC35C File Offset: 0x002DA55C
|
||||
[Token(Token = "0x600C221")]
|
||||
[Address(RVA = "0x1413B40", Offset = "0x1412540", VA = "0x181413B40")]
|
||||
private void OnDestroy()
|
||||
{
|
||||
ActionEvent dmlcelookcc = NGGLIBDCPIB.DMLCELOOKCC;
|
||||
Action action = new Action(this.BAJDNNCKBIA);
|
||||
NGGLIBDCPIB.DMLCELOOKCC = dmlcelookcc - action;
|
||||
ActionEvent localPlayerCreatedEvent = Player.LocalPlayerCreatedEvent;
|
||||
Action action2 = new Action(this.CLBLFCJEDLL);
|
||||
Player.LocalPlayerCreatedEvent = localPlayerCreatedEvent - action2;
|
||||
}
|
||||
|
||||
// Token: 0x0600C222 RID: 49698 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x600C222")]
|
||||
[Address(RVA = "0x1413D90", Offset = "0x1412790", VA = "0x181413D90")]
|
||||
private void Update()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x0600C223 RID: 49699 RVA: 0x002DC3A8 File Offset: 0x002DA5A8
|
||||
[Token(Token = "0x600C223")]
|
||||
[Address(RVA = "0x1413850", Offset = "0x1412250", VA = "0x181413850")]
|
||||
private void BAJDNNCKBIA()
|
||||
{
|
||||
int size = NGGLIBDCPIB.IDDFFAKGIEP._size;
|
||||
this.KGOEPCKEAEL = size;
|
||||
}
|
||||
|
||||
// Token: 0x0600C224 RID: 49700 RVA: 0x002DC3D0 File Offset: 0x002DA5D0
|
||||
[Token(Token = "0x600C224")]
|
||||
[Address(RVA = "0x14138F0", Offset = "0x14122F0", VA = "0x1814138F0")]
|
||||
private void CLBLFCJEDLL()
|
||||
{
|
||||
Scheduler instance = SingletonMonoBehaviour.Instance;
|
||||
PlayerAnimationPuppetMenu.LBHHPGNNGBG lbhhpgnngbg;
|
||||
lbhhpgnngbg.System.IDisposable.Dispose();
|
||||
lbhhpgnngbg.<>1__state = (int)((ulong)0L);
|
||||
lbhhpgnngbg.<>4__this = this;
|
||||
ISchedulerPromise schedulerPromise = instance.Run(this, lbhhpgnngbg);
|
||||
}
|
||||
|
||||
// Token: 0x0600C225 RID: 49701 RVA: 0x002DC408 File Offset: 0x002DA608
|
||||
[Token(Token = "0x600C225")]
|
||||
[Address(RVA = "0x14139C0", Offset = "0x14123C0", VA = "0x1814139C0")]
|
||||
private IEnumerator<ISchedule> DGCJGCBHELN()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C225)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerator`1<RecRoom.Core.ISchedule> RecRoom.PlayerAnimationPuppetMenu::DGCJGCBHELN()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
call:void(LBHHPGNNGBG::System.IDisposable.Dispose, ldloc:LBHHPGNNGBG(var_0))
|
||||
stfld:int32(LBHHPGNNGBG::<>1__state, ldloc:LBHHPGNNGBG(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
||||
stfld:PlayerAnimationPuppetMenu(LBHHPGNNGBG::<>4__this, ldloc:LBHHPGNNGBG(var_0), ldloc:PlayerAnimationPuppetMenu(this))
|
||||
}
|
||||
|
||||
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: 0x0600C226 RID: 49702 RVA: 0x002DC42C File Offset: 0x002DA62C
|
||||
[Token(Token = "0x600C226")]
|
||||
[Address(RVA = "0x14138E0", Offset = "0x14122E0", VA = "0x1814138E0")]
|
||||
public void Button_AnimationIndexIncrement()
|
||||
{
|
||||
int num = this.IFCKDBIJPJM;
|
||||
num++;
|
||||
this.KGOEPCKEAEL = num;
|
||||
}
|
||||
|
||||
// Token: 0x0600C227 RID: 49703 RVA: 0x002DC44C File Offset: 0x002DA64C
|
||||
[Token(Token = "0x600C227")]
|
||||
[Address(RVA = "0x14138D0", Offset = "0x14122D0", VA = "0x1814138D0")]
|
||||
public void Button_AnimationIndexDecrement()
|
||||
{
|
||||
int ifckdbijpjm = this.IFCKDBIJPJM;
|
||||
this.KGOEPCKEAEL = ifckdbijpjm;
|
||||
}
|
||||
|
||||
// Token: 0x0600C228 RID: 49704 RVA: 0x002DC468 File Offset: 0x002DA668
|
||||
[Token(Token = "0x600C228")]
|
||||
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
|
||||
public PlayerAnimationPuppetMenu()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04008046 RID: 32838
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008046")]
|
||||
[SerializeField]
|
||||
private PlayerAnimationAsset defaultAnimation;
|
||||
|
||||
// Token: 0x04008047 RID: 32839
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4008047")]
|
||||
[SerializeField]
|
||||
private Button3D decrementButton;
|
||||
|
||||
// Token: 0x04008048 RID: 32840
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4008048")]
|
||||
[SerializeField]
|
||||
private Button3D incrementButton;
|
||||
|
||||
// Token: 0x04008049 RID: 32841
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4008049")]
|
||||
[SerializeField]
|
||||
private Text label;
|
||||
|
||||
// Token: 0x0400804A RID: 32842
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400804A")]
|
||||
private PlayerAnimationPreviewPuppet LKEJDAHFNFB;
|
||||
|
||||
// Token: 0x0400804B RID: 32843
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400804B")]
|
||||
private int IFCKDBIJPJM;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user