m
This commit is contained in:
@@ -0,0 +1,232 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using AGUI.StackedUI;
|
||||
using Cpp2IlInjected;
|
||||
using RecRoom.Core;
|
||||
using RRUI.Navigation;
|
||||
|
||||
namespace RecRoom.Sharing
|
||||
{
|
||||
// Token: 0x02002321 RID: 8993
|
||||
[Token(Token = "0x2002321")]
|
||||
public class PlayerEventCode : ActionCode
|
||||
{
|
||||
// Token: 0x0600E484 RID: 58500 RVA: 0x003480E8 File Offset: 0x003462E8
|
||||
[Token(Token = "0x600E484")]
|
||||
[Address(RVA = "0x1844E70", Offset = "0x1843E70", VA = "0x181844E70", Slot = "5")]
|
||||
public override PMGCJEPKFOF<ActionCode.HKFNFGGEPMP> Create(object IIFJDCEPNMJ)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600E484)
|
||||
|
||||
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_11_4D), 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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600E485 RID: 58501 RVA: 0x00348150 File Offset: 0x00346350
|
||||
[Token(Token = "0x600E485")]
|
||||
[Address(RVA = "0x1844DD0", Offset = "0x1843DD0", VA = "0x181844DD0", 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: 0x0600E486 RID: 58502 RVA: 0x00348184 File Offset: 0x00346384
|
||||
[Token(Token = "0x600E486")]
|
||||
[Address(RVA = "0x1844CF0", Offset = "0x1843CF0", VA = "0x181844CF0", 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: 0x0600E487 RID: 58503 RVA: 0x003481B8 File Offset: 0x003463B8
|
||||
[Token(Token = "0x600E487")]
|
||||
[Address(RVA = "0x18450B0", Offset = "0x18440B0", VA = "0x1818450B0", Slot = "8")]
|
||||
public override DABKFAIHBBP Handle(LinkManager.ELGKGFGCNJL JBLKFFDDMJH)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600E488 RID: 58504 RVA: 0x00348240 File Offset: 0x00346440
|
||||
[Token(Token = "0x600E488")]
|
||||
[Address(RVA = "0x1845370", Offset = "0x1844370", VA = "0x181845370")]
|
||||
private void MHOJKAJEDPJ(CCMBKDINCAH MFJCKOBPMGA)
|
||||
{
|
||||
if (!SingletonMonoBehaviour.ONCPNMDGGKG.<KGHBOCPLIMP>k__BackingField)
|
||||
{
|
||||
SessionManager instance = SingletonMonoBehaviour.ONCPNMDGGKG;
|
||||
int num = 0;
|
||||
if (!instance.RunGoToPlayerEvent(MFJCKOBPMGA, SessionManager.BDPNOBGNGNI.PLAYER_EVENT_CODE, "PlayerEventCode") && EIMGAFPPJFD.IFAHODHCMEE())
|
||||
{
|
||||
int num2 = 0;
|
||||
PMGCJEPKFOF<IOFNNFFJIAN> pmgcjepkfof = GNPDMBPGHBH.FCFEIOCJHKO(MFJCKOBPMGA.<KJHKNKGENCJ>k__BackingField, num2);
|
||||
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 num3 = 0;
|
||||
bool flag = WatchUI.OpenWatchFlow(flowByType, true, num3);
|
||||
};
|
||||
}
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600E489 RID: 58505 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x600E489")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", 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: 0x0600E48A RID: 58506 RVA: 0x003482B8 File Offset: 0x003464B8
|
||||
[Token(Token = "0x600E48A")]
|
||||
[Address(RVA = "0x8E9790", Offset = "0x8E8790", VA = "0x1808E9790")]
|
||||
public PlayerEventCode()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x02002322 RID: 8994
|
||||
[Token(Token = "0x2002322")]
|
||||
[Serializable]
|
||||
private struct CodeData
|
||||
{
|
||||
// Token: 0x040093B7 RID: 37815
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40093B7")]
|
||||
public long PlayerEventId;
|
||||
}
|
||||
|
||||
// Token: 0x02002323 RID: 8995
|
||||
[Token(Token = "0x2002323")]
|
||||
[CompilerGenerated]
|
||||
private sealed class HHHPDIBAGLA
|
||||
{
|
||||
// Token: 0x0600E48B RID: 58507 RVA: 0x003482CC File Offset: 0x003464CC
|
||||
[Token(Token = "0x600E48B")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
public HHHPDIBAGLA()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600E48C RID: 58508 RVA: 0x003482E0 File Offset: 0x003464E0
|
||||
[Token(Token = "0x600E48C")]
|
||||
[Address(RVA = "0x183FD30", Offset = "0x183ED30", VA = "0x18183FD30")]
|
||||
internal void <CreateAndShare>b__0(ActionCode.HKFNFGGEPMP result)
|
||||
{
|
||||
ActionCode.Configuration config = this.<>4__this.Config;
|
||||
Route rruishareRoute = this.RRUIShareRoute;
|
||||
}
|
||||
|
||||
// Token: 0x040093B8 RID: 37816
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40093B8")]
|
||||
public Route RRUIShareRoute;
|
||||
|
||||
// Token: 0x040093B9 RID: 37817
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40093B9")]
|
||||
public PlayerEventCode <>4__this;
|
||||
}
|
||||
|
||||
// Token: 0x02002324 RID: 8996
|
||||
[Token(Token = "0x2002324")]
|
||||
[CompilerGenerated]
|
||||
private sealed class BBLMMBBOMAA
|
||||
{
|
||||
// Token: 0x0600E48D RID: 58509 RVA: 0x00348308 File Offset: 0x00346508
|
||||
[Token(Token = "0x600E48D")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
public BBLMMBBOMAA()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600E48E RID: 58510 RVA: 0x0034831C File Offset: 0x0034651C
|
||||
[Token(Token = "0x600E48E")]
|
||||
[Address(RVA = "0x183D980", Offset = "0x183C980", VA = "0x18183D980")]
|
||||
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)
|
||||
{
|
||||
string <GLCPMMJOCEJ>k__BackingField = elgkgfgcnjl.LIOKHLNNDFL.<GLCPMMJOCEJ>k__BackingField;
|
||||
int? autoRenewHours = this.<>4__this.Config.AutoRenewHours;
|
||||
LinkManager.ELGKGFGCNJL elgkgfgcnjl2 = this.pendingLink;
|
||||
bool mhjmmlihdea = elgkgfgcnjl2.MHJMMLIHDEA;
|
||||
bool nnnoilancib = elgkgfgcnjl2.NNNOILANCIB;
|
||||
return ActionCode.ConsumeActionLinkIfValid(<GLCPMMJOCEJ>k__BackingField, autoRenewHours, (EAEKNPLNKKO)((uint)4), nnnoilancib, mhjmmlihdea);
|
||||
}
|
||||
string joenjfgficp = LinkManager.JHJNANAHJJF.JOENJFGFICP;
|
||||
elgkgfgcnjl.LBDAAMOAKBA = joenjfgficp;
|
||||
return JJEKJGALHKO.LIPGKFECLDO("Event has finished");
|
||||
}
|
||||
|
||||
// Token: 0x0600E48F RID: 58511 RVA: 0x003483D4 File Offset: 0x003465D4
|
||||
[Token(Token = "0x600E48F")]
|
||||
[Address(RVA = "0x183DB30", Offset = "0x183CB30", VA = "0x18183DB30")]
|
||||
internal void <Handle>b__2()
|
||||
{
|
||||
PlayerEventCode playerEventCode = this.<>4__this;
|
||||
CCMBKDINCAH ccmbkdincah = this.playerEvent;
|
||||
playerEventCode.MHOJKAJEDPJ(ccmbkdincah);
|
||||
}
|
||||
|
||||
// Token: 0x040093BA RID: 37818
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40093BA")]
|
||||
public CCMBKDINCAH playerEvent;
|
||||
|
||||
// Token: 0x040093BB RID: 37819
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40093BB")]
|
||||
public LinkManager.ELGKGFGCNJL pendingLink;
|
||||
|
||||
// Token: 0x040093BC RID: 37820
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40093BC")]
|
||||
public PlayerEventCode <>4__this;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user