233 lines
11 KiB
C#
233 lines
11 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using AGUI.StackedUI;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Core;
|
|
using RRUI.Navigation;
|
|
|
|
namespace RecRoom.Sharing
|
|
{
|
|
// Token: 0x0200223D RID: 8765
|
|
[Token(Token = "0x200223D")]
|
|
public class PlayerEventCode : ActionCode
|
|
{
|
|
// Token: 0x0600E078 RID: 57464 RVA: 0x0033ED9C File Offset: 0x0033CF9C
|
|
[Token(Token = "0x600E078")]
|
|
[Address(RVA = "0x112E060", Offset = "0x112CE60", VA = "0x18112E060", Slot = "5")]
|
|
public override PMGCJEPKFOF<ActionCode.HKFNFGGEPMP> Create(object IIFJDCEPNMJ)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600E078)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling PMGCJEPKFOF<RecRoom.Sharing.ActionCode/HKFNFGGEPMP> RecRoom.Sharing.PlayerEventCode::Create(System.Object)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_3:
|
|
brtrue(IL_00, ceq:bool(ldloc:DABKFAIHBBP(var_8_47), ldc.i4:int32[exp:DABKFAIHBBP](0)))
|
|
}
|
|
|
|
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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
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 1660
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x0600E079 RID: 57465 RVA: 0x0033EDFC File Offset: 0x0033CFFC
|
|
[Token(Token = "0x600E079")]
|
|
[Address(RVA = "0x112DFC0", Offset = "0x112CDC0", VA = "0x18112DFC0", Slot = "7")]
|
|
public override void CreateButtonPressed()
|
|
{
|
|
WatchUI local = WatchUI.BFPPPLIJIGC;
|
|
EventsScreen flowByType = local.GetFlowByType<EventsScreen>();
|
|
int num = 0;
|
|
local.PushFlow(flowByType, num);
|
|
flowByType.Button_MyEventsDisplayMode();
|
|
}
|
|
|
|
// Token: 0x0600E07A RID: 57466 RVA: 0x0033EE30 File Offset: 0x0033D030
|
|
[Token(Token = "0x600E07A")]
|
|
[Address(RVA = "0x112DEE0", Offset = "0x112CCE0", VA = "0x18112DEE0", Slot = "6")]
|
|
public override DABKFAIHBBP CreateAndShare(Route LPJOBOLHFMI, object IIFJDCEPNMJ)
|
|
{
|
|
Action<ActionCode.HKFNFGGEPMP> action = delegate(ActionCode.HKFNFGGEPMP result)
|
|
{
|
|
ActionCode.Configuration config = this.Config;
|
|
Route rruishareRoute = LPJOBOLHFMI;
|
|
};
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600E07B RID: 57467 RVA: 0x0033EE64 File Offset: 0x0033D064
|
|
[Token(Token = "0x600E07B")]
|
|
[Address(RVA = "0x112E2E0", Offset = "0x112D0E0", VA = "0x18112E2E0", Slot = "8")]
|
|
public override DABKFAIHBBP Handle(LinkManager.ELGKGFGCNJL JBLKFFDDMJH)
|
|
{
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600E07C RID: 57468 RVA: 0x0033EEEC File Offset: 0x0033D0EC
|
|
[Token(Token = "0x600E07C")]
|
|
[Address(RVA = "0x112E5A0", Offset = "0x112D3A0", VA = "0x18112E5A0")]
|
|
private void MHOJKAJEDPJ(CCMBKDINCAH MFJCKOBPMGA)
|
|
{
|
|
if (!SingletonMonoBehaviour.ONCPNMDGGKG.RunGoToPlayerEvent(MFJCKOBPMGA, (SessionManager.BDPNOBGNGNI)((uint)45), "PlayerEventCode") && EIMGAFPPJFD.IFAHODHCMEE())
|
|
{
|
|
int num = 0;
|
|
PMGCJEPKFOF<IOFNNFFJIAN> pmgcjepkfof = GNPDMBPGHBH.FCFEIOCJHKO(MFJCKOBPMGA.<KJHKNKGENCJ>k__BackingField, num);
|
|
if (PlayerEventCode.<>c.<>9__4_0 == 0)
|
|
{
|
|
PlayerEventCode.<>c.<>9__4_0 = delegate(IOFNNFFJIAN eventDetails)
|
|
{
|
|
EventDetailsScreen flowByType = WatchUI.BFPPPLIJIGC.GetFlowByType<EventDetailsScreen>();
|
|
flowByType.ShowScreen(eventDetails);
|
|
int num2 = 0;
|
|
bool flag = WatchUI.OpenWatchFlow(flowByType, true, num2);
|
|
};
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E07D RID: 57469 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x600E07D")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "9")]
|
|
public override void ModifyPreAuthLaunchTarget(BootSequence.IIACGMGMLOB HHBNIDNOLDI, LinkManager.ELGKGFGCNJL JBLKFFDDMJH)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600E07E RID: 57470 RVA: 0x0033EF4C File Offset: 0x0033D14C
|
|
[Token(Token = "0x600E07E")]
|
|
[Address(RVA = "0x74EA40", Offset = "0x74D840", VA = "0x18074EA40")]
|
|
public PlayerEventCode()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0200223E RID: 8766
|
|
[Token(Token = "0x200223E")]
|
|
[Serializable]
|
|
private struct CodeData
|
|
{
|
|
// Token: 0x040091E3 RID: 37347
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x40091E3")]
|
|
public long PlayerEventId;
|
|
}
|
|
|
|
// Token: 0x0200223F RID: 8767
|
|
[Token(Token = "0x200223F")]
|
|
[CompilerGenerated]
|
|
private sealed class HHHPDIBAGLA
|
|
{
|
|
// Token: 0x0600E07F RID: 57471 RVA: 0x0033EF60 File Offset: 0x0033D160
|
|
[Token(Token = "0x600E07F")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
public HHHPDIBAGLA()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600E080 RID: 57472 RVA: 0x0033EF74 File Offset: 0x0033D174
|
|
[Token(Token = "0x600E080")]
|
|
[Address(RVA = "0x111AE60", Offset = "0x1119C60", VA = "0x18111AE60")]
|
|
internal void <CreateAndShare>b__0(ActionCode.HKFNFGGEPMP result)
|
|
{
|
|
ActionCode.Configuration config = this.<>4__this.Config;
|
|
Route rruishareRoute = this.RRUIShareRoute;
|
|
}
|
|
|
|
// Token: 0x040091E4 RID: 37348
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40091E4")]
|
|
public Route RRUIShareRoute;
|
|
|
|
// Token: 0x040091E5 RID: 37349
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40091E5")]
|
|
public PlayerEventCode <>4__this;
|
|
}
|
|
|
|
// Token: 0x02002240 RID: 8768
|
|
[Token(Token = "0x2002240")]
|
|
[CompilerGenerated]
|
|
private sealed class BBLMMBBOMAA
|
|
{
|
|
// Token: 0x0600E081 RID: 57473 RVA: 0x0033EF9C File Offset: 0x0033D19C
|
|
[Token(Token = "0x600E081")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
public BBLMMBBOMAA()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600E082 RID: 57474 RVA: 0x0033EFB0 File Offset: 0x0033D1B0
|
|
[Token(Token = "0x600E082")]
|
|
[Address(RVA = "0x111D4C0", Offset = "0x111C2C0", VA = "0x18111D4C0")]
|
|
internal DABKFAIHBBP <Handle>b__0(CCMBKDINCAH e)
|
|
{
|
|
this.playerEvent = e;
|
|
if (e == 0)
|
|
{
|
|
return JJEKJGALHKO.LIPGKFECLDO("Invalid event ID");
|
|
}
|
|
DateTime utcNow = DateTime.UtcNow;
|
|
DateTime <EKCLCPFEHDB>k__BackingField = this.playerEvent.<EKCLCPFEHDB>k__BackingField;
|
|
bool flag = utcNow > <EKCLCPFEHDB>k__BackingField;
|
|
LinkManager.ELGKGFGCNJL elgkgfgcnjl = this.pendingLink;
|
|
if (!flag)
|
|
{
|
|
COFHGNFJMOG.OLOEFOJHNGF liokhlnndfl = elgkgfgcnjl.LIOKHLNNDFL;
|
|
PlayerEventCode playerEventCode = this.<>4__this;
|
|
string <GLCPMMJOCEJ>k__BackingField = liokhlnndfl.<GLCPMMJOCEJ>k__BackingField;
|
|
ActionCode.Configuration config = playerEventCode.Config;
|
|
if (config.autoRenew)
|
|
{
|
|
int validHours = config.validHours;
|
|
}
|
|
int num = 0;
|
|
LinkManager.ELGKGFGCNJL elgkgfgcnjl2 = this.pendingLink;
|
|
bool mhjmmlihdea = elgkgfgcnjl2.MHJMMLIHDEA;
|
|
bool nnnoilancib = elgkgfgcnjl2.NNNOILANCIB;
|
|
return ActionCode.ConsumeActionLinkIfValid(<GLCPMMJOCEJ>k__BackingField, num, (EAEKNPLNKKO)((uint)4), nnnoilancib, mhjmmlihdea);
|
|
}
|
|
string joenjfgficp = LinkManager.JHJNANAHJJF.JOENJFGFICP;
|
|
elgkgfgcnjl.LBDAAMOAKBA = joenjfgficp;
|
|
return JJEKJGALHKO.LIPGKFECLDO("Event has finished");
|
|
}
|
|
|
|
// Token: 0x0600E083 RID: 57475 RVA: 0x0033F084 File Offset: 0x0033D284
|
|
[Token(Token = "0x600E083")]
|
|
[Address(RVA = "0x111D6C0", Offset = "0x111C4C0", VA = "0x18111D6C0")]
|
|
internal void <Handle>b__2()
|
|
{
|
|
PlayerEventCode playerEventCode = this.<>4__this;
|
|
CCMBKDINCAH ccmbkdincah = this.playerEvent;
|
|
playerEventCode.MHOJKAJEDPJ(ccmbkdincah);
|
|
}
|
|
|
|
// Token: 0x040091E6 RID: 37350
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40091E6")]
|
|
public CCMBKDINCAH playerEvent;
|
|
|
|
// Token: 0x040091E7 RID: 37351
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40091E7")]
|
|
public LinkManager.ELGKGFGCNJL pendingLink;
|
|
|
|
// Token: 0x040091E8 RID: 37352
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40091E8")]
|
|
public PlayerEventCode <>4__this;
|
|
}
|
|
}
|
|
}
|