This commit is contained in:
niko
2026-04-08 23:40:05 +02:00
parent d6894bcbc7
commit 18dc73f922
7750 changed files with 1795369 additions and 0 deletions
@@ -0,0 +1,947 @@
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using CodeStage.AntiCheat.ObscuredTypes;
using Cpp2IlInjected;
using RecNet;
using RecRoom.Async;
using RecRoom.Core;
using UnityEngine;
namespace RecRoom.Sharing
{
// Token: 0x0200206A RID: 8298
[Token(Token = "0x200206A")]
[StructLayout(3)]
public class FriendCode : ActionCode
{
// Token: 0x0600E571 RID: 58737 RVA: 0x00366E74 File Offset: 0x00365074
[Token(Token = "0x600E571")]
[Address(RVA = "0x13D6F50", Offset = "0x13D5950", VA = "0x1813D6F50", Slot = "4")]
public override IPromise<ActionCode.HKFNFGGEPMP> Create(object IIFJDCEPNMJ)
{
int num = 0;
string actionLinkData = base.GetActionLinkData(num);
int maxUses = this.Config.maxUses;
int num2 = 0;
if (maxUses > 0)
{
}
IPromise<string> promise = COFHGNFJMOG.GFOBAOHKJBC(actionLinkData, maxUses, num2);
int num3;
Func<string, ActionCode.HKFNFGGEPMP> func = new Func(num3.KGEHHCADCHK);
num3 = 0;
throw new NullReferenceException();
}
// Token: 0x0600E572 RID: 58738 RVA: 0x00366EC0 File Offset: 0x003650C0
[Token(Token = "0x600E572")]
[Address(RVA = "0x13D6EB0", Offset = "0x13D58B0", VA = "0x1813D6EB0", Slot = "5")]
public override IPromise CreateAndShare(object IIFJDCEPNMJ)
{
string text = this.ToString();
Action<ActionCode.HKFNFGGEPMP> action = new Action(this.FEBNLDECFKN);
throw new NullReferenceException();
}
// Token: 0x0600E573 RID: 58739 RVA: 0x00366EE8 File Offset: 0x003650E8
[Token(Token = "0x600E573")]
[Address(RVA = "0x13D77A0", Offset = "0x13D61A0", VA = "0x1813D77A0", Slot = "7")]
public override IPromise Handle(LinkManager.ELGKGFGCNJL JBLKFFDDMJH)
{
FriendCode.AICABOEKNNA aicaboeknna = new FriendCode.AICABOEKNNA();
aicaboeknna.pendingLink = JBLKFFDDMJH;
aicaboeknna.<>4__this = this;
int <KBFNGJBKEOP>k__BackingField = JBLKFFDDMJH.LIOKHLNNDFL.<KBFNGJBKEOP>k__BackingField;
int num = ObscuredInt.FAJDMKOEFLH(PEGGCEDHBOF.DOOHKCANFLO.<IFBPANODIPA>k__BackingField);
LinkManager.ELGKGFGCNJL pendingLink = aicaboeknna.pendingLink;
if (<KBFNGJBKEOP>k__BackingField != num)
{
int num2 = 0;
aicaboeknna.friend = num2;
IPromise<CCEOLAOLEKJ> promise = PEGGCEDHBOF.NFKMGNHDCMN(pendingLink.LIOKHLNNDFL.<KBFNGJBKEOP>k__BackingField);
Func<CCEOLAOLEKJ, IPromise> func = delegate(CCEOLAOLEKJ a)
{
LinkManager.ELGKGFGCNJL pendingLink2 = aicaboeknna.pendingLink;
aicaboeknna.friend = a;
COFHGNFJMOG.OLOEFOJHNGF liokhlnndfl = pendingLink2.LIOKHLNNDFL;
FriendCode <>4__this = aicaboeknna.<>4__this;
string <GLCPMMJOCEJ>k__BackingField = liokhlnndfl.<GLCPMMJOCEJ>k__BackingField;
ActionCode.Configuration config = <>4__this.Config;
int num4 = 0;
if ((config.autoRenew ? 1 : 0) != num4)
{
}
return ActionCode.ConsumeActionLinkIfValid(<GLCPMMJOCEJ>k__BackingField, num4);
};
if (num2 < aicaboeknna)
{
num2 += num2;
if (num2 == aicaboeknna)
{
goto IL_8B;
}
num2++;
}
Action action = delegate
{
FriendCode <>4__this2 = aicaboeknna.<>4__this;
CCEOLAOLEKJ friend = aicaboeknna.friend;
Action<string> <>9__ = aicaboeknna.<>9__2;
string text = <>4__this2.friendAddFailureTitle;
string text2 = <>4__this2.friendAddFailureBody;
string text3 = <>4__this2.chatMessage;
string text4 = <>4__this2.playerNotification;
string text5 = <>4__this2.chatFailureTitle;
string text6 = <>4__this2.chatFailureBody;
if (<>9__ == 0)
{
Action<string> action2 = delegate(string e)
{
aicaboeknna.pendingLink.LBDAAMOAKBA = e;
};
aicaboeknna.<>9__2 = action2;
}
int num5 = 0;
<>4__this2.FriendAndChatOrGoToAccount(friend, text3, text4, text5, text6, text, text2, num5, <>9__);
};
IL_8B:
uint num3;
num3 += num3;
}
pendingLink.LBDAAMOAKBA = "You can't use your own friend code!";
IPromise promise2 = Promise.FromError("You can't use your own friend code!");
throw new NullReferenceException();
}
// Token: 0x0600E574 RID: 58740 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x600E574")]
[Address(RVA = "0x13D70F0", Offset = "0x13D5AF0", VA = "0x1813D70F0")]
public void FriendAndChatOrGoToAccount(CCEOLAOLEKJ CEHHPPACDLH, string MOACPDCOKGP, string BDMLHPGIEJH, string PNLOFHLHFHF, string NNNJNLFHKAH, string DAMGLNDLIDK, string MAJDHJNEELJ, [Optional] Action EGMGCNACMDM, [Optional] Action<string> MBMCDAENFAJ)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600E575 RID: 58741 RVA: 0x00366FA4 File Offset: 0x003651A4
[Token(Token = "0x600E575")]
[Address(RVA = "0x13D7C80", Offset = "0x13D6680", VA = "0x1813D7C80", Slot = "8")]
public override void ModifyPreAuthLaunchTarget(BootSequence.IIACGMGMLOB HHBNIDNOLDI, LinkManager.ELGKGFGCNJL JBLKFFDDMJH)
{
COFHGNFJMOG.OLOEFOJHNGF liokhlnndfl = JBLKFFDDMJH.LIOKHLNNDFL;
ulong num;
HHBNIDNOLDI.NCDGGJNELML = num;
}
// Token: 0x0600E576 RID: 58742 RVA: 0x00366FC8 File Offset: 0x003651C8
[Token(Token = "0x600E576")]
[Address(RVA = "0x13D7AE0", Offset = "0x13D64E0", VA = "0x1813D7AE0")]
private void MJKMDOEKJAL()
{
ActionEvent dokminnfcgc = Matchmaking.DOKMINNFCGC;
Action action = new Action(this.MJKMDOEKJAL);
Matchmaking.DOKMINNFCGC = dokminnfcgc - action;
Scheduler instance = SingletonMonoBehaviour.Instance;
CCEOLAOLEKJ amkinlcfepo = FriendCode.AMKINLCFEPO;
IEnumerator<ISchedule> enumerator = this.JLPLENCKMBA(amkinlcfepo);
ISchedulerPromise schedulerPromise = instance.Run(enumerator);
}
// Token: 0x0600E577 RID: 58743 RVA: 0x0036701C File Offset: 0x0036521C
[Token(Token = "0x600E577")]
[Address(RVA = "0x13D7A70", Offset = "0x13D6470", VA = "0x1813D7A70")]
private IEnumerator<ISchedule> JLPLENCKMBA(CCEOLAOLEKJ PLLDFPHMJIK)
{
/*
An exception occurred when decompiling this method (0600E577)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerator`1<RecRoom.Core.ISchedule> RecRoom.Sharing.FriendCode::JLPLENCKMBA(CCEOLAOLEKJ)
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
call:void(FMCFBILMFDM::System.IDisposable.Dispose, ldloc:FMCFBILMFDM(var_0))
stfld:FriendCode(FMCFBILMFDM::<>4__this, ldloc:FMCFBILMFDM(var_0), ldloc:FriendCode(this))
stfld:int32(FMCFBILMFDM::<>1__state, ldloc:FMCFBILMFDM(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
stfld:CCEOLAOLEKJ(FMCFBILMFDM::friendAccount, ldloc:FMCFBILMFDM(var_0), ldloc:CCEOLAOLEKJ(PLLDFPHMJIK))
}
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: 0x0600E578 RID: 58744 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x600E578")]
[Address(RVA = "0x13D75F0", Offset = "0x13D5FF0", VA = "0x1813D75F0")]
private IPromise<bool> GOOGMAKIJDF(CCEOLAOLEKJ PLLDFPHMJIK)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600E579 RID: 58745 RVA: 0x00367048 File Offset: 0x00365248
[Token(Token = "0x600E579")]
[Address(RVA = "0x13D7D00", Offset = "0x13D6700", VA = "0x1813D7D00")]
private IPromise OMJFFLENGIC(string DAMGLNDLIDK, string MAJDHJNEELJ)
{
Promise promise5 = new Promise();
Promise promise = promise5;
WatchUI local = WatchUI.BFPPPLIJIGC;
WatchUI watchUI = local;
int num = 0;
if (!(local == num))
{
int num2 = 0;
string actionLinkData = base.GetActionLinkData(num2);
int maxUses = this.Config.maxUses;
int num3 = 0;
if (maxUses > 0)
{
}
IPromise<string> promise2 = COFHGNFJMOG.GFOBAOHKJBC(actionLinkData, maxUses, num3);
Action <>9__1;
Action<string> action = delegate(string url)
{
int num4 = 0;
bool flag = LinkManager.ELGKGFGCNJL.EPGHLIPKPBJ(url).TryGetValue("a", num4);
if (!LinkManager.HMGFBHPFCHN)
{
string text = MAJDHJNEELJ;
WatchUI watchUI3 = watchUI;
string text2 = string.Format(text, num4);
if (<>9__1 == 0)
{
Action action2 = delegate
{
promise.Complete();
};
<>9__1 = action2;
}
return;
}
string[] array = new string[5];
if ("Friend Code: " != 0)
{
}
array[0] = "Friend Code: ";
if (num4 != 0)
{
}
array[1] = num4;
string newLine = Environment.NewLine;
if (newLine != 0)
{
}
array[2] = newLine;
if ("Friend Link: " != 0)
{
}
array[3] = "Friend Link: ";
if (url != 0)
{
}
array[4] = url;
string text3 = string.Concat(array);
string copyableText = text3;
string text4 = MAJDHJNEELJ;
WatchUI watchUI2 = watchUI;
string text5 = string.Format(text4, num4);
Action<JPIJGHNNIDP> action3 = delegate(JPIJGHNNIDP response)
{
if (response == JPIJGHNNIDP.Affirmative)
{
string copyableText2 = copyableText;
if (LinkManager.HMGFBHPFCHN)
{
GUIUtility.systemCopyBuffer = copyableText2;
}
}
promise.Complete();
};
throw new NullReferenceException();
};
Promise promise3 = promise;
}
IPromise promise4 = Promise.FromError("WatchUI is null!");
throw new NullReferenceException();
}
// Token: 0x0600E57A RID: 58746 RVA: 0x003670EC File Offset: 0x003652EC
[Token(Token = "0x600E57A")]
[Address(RVA = "0x13D7F00", Offset = "0x13D6900", VA = "0x1813D7F00")]
public FriendCode()
{
}
// Token: 0x0600E57B RID: 58747 RVA: 0x0000220F File Offset: 0x0000040F
// Note: this type is marked as 'beforefieldinit'.
[Token(Token = "0x600E57B")]
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60")]
static FriendCode()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600E57C RID: 58748 RVA: 0x00367144 File Offset: 0x00365344
[Token(Token = "0x600E57C")]
[Address(RVA = "0x13D7060", Offset = "0x13D5A60", VA = "0x1813D7060")]
[CompilerGenerated]
private void FEBNLDECFKN(ActionCode.HKFNFGGEPMP GIAOBLMEMMI)
{
IAFKHONIKPI type = this.Config.type;
}
// Token: 0x040095D6 RID: 38358
[Token(Token = "0x40095D6")]
private static CCEOLAOLEKJ AMKINLCFEPO;
// Token: 0x040095D7 RID: 38359
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x40095D7")]
[SerializeField]
[Tooltip("This notification shows if the automatic chat message doesn't go through. Use {0} to reference the referrer's username.")]
private string chatFailureBody = "@{0} is now your friend! You can view their profile by selecting 'Profile' below.";
// Token: 0x040095D8 RID: 38360
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x40095D8")]
[SerializeField]
[Tooltip("This notification shows if the automatic chat message doesn't go through. Use {0} to reference the referrer's username.")]
private string chatFailureTitle = "Friend code success!";
// Token: 0x040095D9 RID: 38361
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x40095D9")]
[SerializeField]
private string chatMessage = "I used your friend code! Click the photo to see my profile!";
// Token: 0x040095DA RID: 38362
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x40095DA")]
[SerializeField]
[Tooltip("This message is displayed if the friend cannot be added. Use {0} to insert a newly generated friend code.")]
private string friendAddFailureBody = "There was an issue with this code! Ask your friend to send you a new code or you can send them your friend code: {0}";
// Token: 0x040095DB RID: 38363
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x40095DB")]
[SerializeField]
[Tooltip("This message is displayed if the friend cannot be added.")]
private string friendAddFailureTitle = "Friend add failure!";
// Token: 0x040095DC RID: 38364
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x40095DC")]
[SerializeField]
[Tooltip("Use {0} to insert the code creator's username.")]
private string playerNotification = "Friend code success! @{0} is now your friend!";
// Token: 0x0200206B RID: 8299
[Token(Token = "0x200206B")]
private enum KKDOMAAKOLE
{
// Token: 0x040095DE RID: 38366
[Token(Token = "0x40095DE")]
GenericError = -1,
// Token: 0x040095DF RID: 38367
[Token(Token = "0x40095DF")]
Success,
// Token: 0x040095E0 RID: 38368
[Token(Token = "0x40095E0")]
FriendInPrivateRoom,
// Token: 0x040095E1 RID: 38369
[Token(Token = "0x40095E1")]
FriendInaccessible,
// Token: 0x040095E2 RID: 38370
[Token(Token = "0x40095E2")]
FriendOffline
}
// Token: 0x0200206C RID: 8300
[Token(Token = "0x200206C")]
[CompilerGenerated]
private sealed class AICABOEKNNA
{
// Token: 0x0600E57D RID: 58749 RVA: 0x00367168 File Offset: 0x00365368
[Token(Token = "0x600E57D")]
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
public AICABOEKNNA()
{
}
// Token: 0x0600E57E RID: 58750 RVA: 0x0036717C File Offset: 0x0036537C
[Token(Token = "0x600E57E")]
[Address(RVA = "0x13D1F70", Offset = "0x13D0970", VA = "0x1813D1F70")]
internal IPromise <Handle>b__0(CCEOLAOLEKJ a)
{
LinkManager.ELGKGFGCNJL elgkgfgcnjl = this.pendingLink;
this.friend = a;
COFHGNFJMOG.OLOEFOJHNGF liokhlnndfl = elgkgfgcnjl.LIOKHLNNDFL;
FriendCode friendCode = this.<>4__this;
string <GLCPMMJOCEJ>k__BackingField = liokhlnndfl.<GLCPMMJOCEJ>k__BackingField;
ActionCode.Configuration config = friendCode.Config;
int num = 0;
if ((config.autoRenew ? 1 : 0) != num)
{
}
return ActionCode.ConsumeActionLinkIfValid(<GLCPMMJOCEJ>k__BackingField, num);
}
// Token: 0x0600E57F RID: 58751 RVA: 0x003671D0 File Offset: 0x003653D0
[Token(Token = "0x600E57F")]
[Address(RVA = "0x13D2060", Offset = "0x13D0A60", VA = "0x1813D2060")]
internal void <Handle>b__1()
{
FriendCode friendCode = this.<>4__this;
CCEOLAOLEKJ cceolaolekj = this.friend;
Action<string> action = this.<>9__2;
string friendAddFailureTitle = friendCode.friendAddFailureTitle;
string friendAddFailureBody = friendCode.friendAddFailureBody;
string chatMessage = friendCode.chatMessage;
string playerNotification = friendCode.playerNotification;
string chatFailureTitle = friendCode.chatFailureTitle;
string chatFailureBody = friendCode.chatFailureBody;
if (action == 0)
{
Action<string> action2 = delegate(string e)
{
this.pendingLink.LBDAAMOAKBA = e;
};
this.<>9__2 = action2;
}
int num = 0;
friendCode.FriendAndChatOrGoToAccount(cceolaolekj, chatMessage, playerNotification, chatFailureTitle, chatFailureBody, friendAddFailureTitle, friendAddFailureBody, num, action);
}
// Token: 0x0600E580 RID: 58752 RVA: 0x0036725C File Offset: 0x0036545C
[Token(Token = "0x600E580")]
[Address(RVA = "0x13D2190", Offset = "0x13D0B90", VA = "0x1813D2190")]
internal void <Handle>b__2(string e)
{
this.pendingLink.LBDAAMOAKBA = e;
}
// Token: 0x040095E3 RID: 38371
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40095E3")]
public CCEOLAOLEKJ friend;
// Token: 0x040095E4 RID: 38372
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40095E4")]
public LinkManager.ELGKGFGCNJL pendingLink;
// Token: 0x040095E5 RID: 38373
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x40095E5")]
public FriendCode <>4__this;
// Token: 0x040095E6 RID: 38374
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x40095E6")]
public Action<string> <>9__2;
}
// Token: 0x0200206D RID: 8301
[Token(Token = "0x200206D")]
[CompilerGenerated]
private sealed class GEICJGCDNNM
{
// Token: 0x0600E581 RID: 58753 RVA: 0x0036727C File Offset: 0x0036547C
[Token(Token = "0x600E581")]
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
public GEICJGCDNNM()
{
}
// Token: 0x0600E582 RID: 58754 RVA: 0x00367290 File Offset: 0x00365490
[Token(Token = "0x600E582")]
[Address(RVA = "0x13D8470", Offset = "0x13D6E70", VA = "0x1813D8470")]
internal IPromise <FriendAndChatOrGoToAccount>b__0()
{
bool fakeValue = PEGGCEDHBOF.DOOHKCANFLO.<DOPLJIOHAMG>k__BackingField.fakeValue;
bool flag;
if (!flag)
{
return Promise.<CompletedPromise>k__BackingField;
}
IPromise<LLKHFJDNFMM> promise = FGPIDGLCKEF.CGPBLDOHCEI(ObscuredInt.FAJDMKOEFLH(this.friend.<IFBPANODIPA>k__BackingField), CFLMJLFBOKH.MPFKNCFEDHF.FriendCode);
throw new NullReferenceException();
}
// Token: 0x0600E583 RID: 58755 RVA: 0x003672D4 File Offset: 0x003654D4
[Token(Token = "0x600E583")]
[Address(RVA = "0x13D8670", Offset = "0x13D7070", VA = "0x1813D8670")]
internal IPromise <FriendAndChatOrGoToAccount>b__1()
{
Scheduler instance = SingletonMonoBehaviour.Instance;
BootSequence.IIACGMGMLOB iiacgmgmlob = this.launchTarget;
int num;
LinkManager.PMJDMKJCHFG pmjdmkjchfg = new LinkManager.PMJDMKJCHFG(num);
num = 0;
pmjdmkjchfg.waitForWatchClosed = false;
pmjdmkjchfg.launchTarget = iiacgmgmlob;
ISchedulerPromise schedulerPromise = instance.Run(pmjdmkjchfg);
throw new NullReferenceException();
}
// Token: 0x0600E584 RID: 58756 RVA: 0x00367314 File Offset: 0x00365514
[Token(Token = "0x600E584")]
[Address(RVA = "0x13D8760", Offset = "0x13D7160", VA = "0x1813D8760")]
internal IPromise<LLKHFJDNFMM> <FriendAndChatOrGoToAccount>b__2()
{
return FGPIDGLCKEF.CGPBLDOHCEI(ObscuredInt.FAJDMKOEFLH(this.friend.<IFBPANODIPA>k__BackingField), CFLMJLFBOKH.MPFKNCFEDHF.FriendCode);
}
// Token: 0x0600E585 RID: 58757 RVA: 0x00367340 File Offset: 0x00365540
[Token(Token = "0x600E585")]
[Address(RVA = "0x13D8810", Offset = "0x13D7210", VA = "0x1813D8810")]
internal IPromise <FriendAndChatOrGoToAccount>b__3(LLKHFJDNFMM relationship)
{
if (!relationship.NPBCMKLOCAE && relationship.MHEGHKNGOEG)
{
IPromise<EFAJBHGDIDD> promise = Matchmaking.NPCKFBINNCP(ObscuredInt.FAJDMKOEFLH(this.friend.<IFBPANODIPA>k__BackingField));
Func<EFAJBHGDIDD, IPromise> func = this.<>9__6;
if (func == 0)
{
Func<EFAJBHGDIDD, IPromise> func2 = delegate(EFAJBHGDIDD friendPresence)
{
if (!friendPresence.<HICHIHJDDPB>k__BackingField)
{
int num2 = ObscuredInt.FAJDMKOEFLH(this.friend.<IFBPANODIPA>k__BackingField);
CCEOLAOLEKJ cceolaolekj = this.friend;
string text3 = this.chatMessage;
ObscuredString <KHJCEENDAOL>k__BackingField = cceolaolekj.<KHJCEENDAOL>k__BackingField;
string text4 = string.Format(this.playerNotification, <KHJCEENDAOL>k__BackingField);
ObscuredString <KHJCEENDAOL>k__BackingField2 = this.friend.<KHJCEENDAOL>k__BackingField;
string text5 = string.Format(this.chatFailureTitle, <KHJCEENDAOL>k__BackingField2);
ObscuredString <KHJCEENDAOL>k__BackingField3 = this.friend.<KHJCEENDAOL>k__BackingField;
string text6 = string.Format(this.chatFailureBody, <KHJCEENDAOL>k__BackingField3);
ActionCode.BDCIBCGEING(num2, text3, text4, text5, text6);
return Promise.<CompletedPromise>k__BackingField;
}
FriendCode friendCode2 = this.<>4__this;
CCEOLAOLEKJ cceolaolekj2 = this.friend;
IPromise<bool> promise3 = friendCode2.GOOGMAKIJDF(cceolaolekj2);
Action<bool> action;
if (this.<>9__7 == 0)
{
action = delegate(bool willGoToFriend)
{
if (!willGoToFriend)
{
int num4 = ObscuredInt.FAJDMKOEFLH(this.friend.<IFBPANODIPA>k__BackingField);
CCEOLAOLEKJ cceolaolekj3 = this.friend;
string text7 = this.chatMessage;
ObscuredString <KHJCEENDAOL>k__BackingField4 = cceolaolekj3.<KHJCEENDAOL>k__BackingField;
string text8 = string.Format(this.playerNotification, <KHJCEENDAOL>k__BackingField4);
ObscuredString <KHJCEENDAOL>k__BackingField5 = this.friend.<KHJCEENDAOL>k__BackingField;
string text9 = string.Format(this.chatFailureTitle, <KHJCEENDAOL>k__BackingField5);
ObscuredString <KHJCEENDAOL>k__BackingField6 = this.friend.<KHJCEENDAOL>k__BackingField;
string text10 = string.Format(this.chatFailureBody, <KHJCEENDAOL>k__BackingField6);
ActionCode.BDCIBCGEING(num4, text7, text8, text9, text10);
}
};
this.<>9__7 = action;
}
int num3 = 0;
num3 += num3;
num3++;
action += action;
num3 += 19;
throw new NullReferenceException();
};
this.<>9__6 = func2;
}
int num = 0;
num += num;
num++;
IPromise promise2 = promise.ContinueWith(func);
func += func;
}
FriendCode friendCode = this.<>4__this;
string text = this.friendAddFailureBody;
string text2 = this.friendAddFailureTitle;
return friendCode.OMJFFLENGIC(text2, text);
}
// Token: 0x0600E586 RID: 58758 RVA: 0x003673D4 File Offset: 0x003655D4
[Token(Token = "0x600E586")]
[Address(RVA = "0x13D8A50", Offset = "0x13D7450", VA = "0x1813D8A50")]
internal IPromise <FriendAndChatOrGoToAccount>b__6(EFAJBHGDIDD friendPresence)
{
if (!friendPresence.<HICHIHJDDPB>k__BackingField)
{
int num = ObscuredInt.FAJDMKOEFLH(this.friend.<IFBPANODIPA>k__BackingField);
CCEOLAOLEKJ cceolaolekj = this.friend;
string text = this.chatMessage;
ObscuredString <KHJCEENDAOL>k__BackingField = cceolaolekj.<KHJCEENDAOL>k__BackingField;
string text2 = string.Format(this.playerNotification, <KHJCEENDAOL>k__BackingField);
ObscuredString <KHJCEENDAOL>k__BackingField2 = this.friend.<KHJCEENDAOL>k__BackingField;
string text3 = string.Format(this.chatFailureTitle, <KHJCEENDAOL>k__BackingField2);
ObscuredString <KHJCEENDAOL>k__BackingField3 = this.friend.<KHJCEENDAOL>k__BackingField;
string text4 = string.Format(this.chatFailureBody, <KHJCEENDAOL>k__BackingField3);
ActionCode.BDCIBCGEING(num, text, text2, text3, text4);
return Promise.<CompletedPromise>k__BackingField;
}
FriendCode friendCode = this.<>4__this;
CCEOLAOLEKJ cceolaolekj2 = this.friend;
IPromise<bool> promise = friendCode.GOOGMAKIJDF(cceolaolekj2);
Action<bool> action;
if (this.<>9__7 == 0)
{
action = delegate(bool willGoToFriend)
{
if (!willGoToFriend)
{
int num3 = ObscuredInt.FAJDMKOEFLH(this.friend.<IFBPANODIPA>k__BackingField);
CCEOLAOLEKJ cceolaolekj3 = this.friend;
string text5 = this.chatMessage;
ObscuredString <KHJCEENDAOL>k__BackingField4 = cceolaolekj3.<KHJCEENDAOL>k__BackingField;
string text6 = string.Format(this.playerNotification, <KHJCEENDAOL>k__BackingField4);
ObscuredString <KHJCEENDAOL>k__BackingField5 = this.friend.<KHJCEENDAOL>k__BackingField;
string text7 = string.Format(this.chatFailureTitle, <KHJCEENDAOL>k__BackingField5);
ObscuredString <KHJCEENDAOL>k__BackingField6 = this.friend.<KHJCEENDAOL>k__BackingField;
string text8 = string.Format(this.chatFailureBody, <KHJCEENDAOL>k__BackingField6);
ActionCode.BDCIBCGEING(num3, text5, text6, text7, text8);
}
};
this.<>9__7 = action;
}
int num2 = 0;
num2 += num2;
num2++;
action += action;
num2 += 19;
throw new NullReferenceException();
}
// Token: 0x0600E587 RID: 58759 RVA: 0x003674CC File Offset: 0x003656CC
[Token(Token = "0x600E587")]
[Address(RVA = "0x13D8CF0", Offset = "0x13D76F0", VA = "0x1813D8CF0")]
internal void <FriendAndChatOrGoToAccount>b__7(bool willGoToFriend)
{
if (!willGoToFriend)
{
int num = ObscuredInt.FAJDMKOEFLH(this.friend.<IFBPANODIPA>k__BackingField);
CCEOLAOLEKJ cceolaolekj = this.friend;
string text = this.chatMessage;
ObscuredString <KHJCEENDAOL>k__BackingField = cceolaolekj.<KHJCEENDAOL>k__BackingField;
string text2 = string.Format(this.playerNotification, <KHJCEENDAOL>k__BackingField);
ObscuredString <KHJCEENDAOL>k__BackingField2 = this.friend.<KHJCEENDAOL>k__BackingField;
string text3 = string.Format(this.chatFailureTitle, <KHJCEENDAOL>k__BackingField2);
ObscuredString <KHJCEENDAOL>k__BackingField3 = this.friend.<KHJCEENDAOL>k__BackingField;
string text4 = string.Format(this.chatFailureBody, <KHJCEENDAOL>k__BackingField3);
ActionCode.BDCIBCGEING(num, text, text2, text3, text4);
}
}
// Token: 0x0600E588 RID: 58760 RVA: 0x0036755C File Offset: 0x0036575C
[Token(Token = "0x600E588")]
[Address(RVA = "0x13D89E0", Offset = "0x13D73E0", VA = "0x1813D89E0")]
internal void <FriendAndChatOrGoToAccount>b__4(string x)
{
Action<string> action = this.onError;
if (action != 0)
{
action("Something went wrong with your link.");
}
FriendCode friendCode = this.<>4__this;
string text = this.friendAddFailureBody;
string text2 = this.friendAddFailureTitle;
IPromise promise = friendCode.OMJFFLENGIC(text2, text);
}
// Token: 0x0600E589 RID: 58761 RVA: 0x003675A4 File Offset: 0x003657A4
[Token(Token = "0x600E589")]
[Address(RVA = "0x11BC440", Offset = "0x11BAE40", VA = "0x1811BC440")]
internal void <FriendAndChatOrGoToAccount>b__5()
{
Action action = this.onSuccess;
if (action != 0)
{
action();
return;
}
}
// Token: 0x040095E7 RID: 38375
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40095E7")]
public CCEOLAOLEKJ friend;
// Token: 0x040095E8 RID: 38376
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40095E8")]
public BootSequence.IIACGMGMLOB launchTarget;
// Token: 0x040095E9 RID: 38377
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x40095E9")]
public FriendCode <>4__this;
// Token: 0x040095EA RID: 38378
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x40095EA")]
public string friendAddFailureTitle;
// Token: 0x040095EB RID: 38379
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x40095EB")]
public string friendAddFailureBody;
// Token: 0x040095EC RID: 38380
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x40095EC")]
public string chatMessage;
// Token: 0x040095ED RID: 38381
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x40095ED")]
public string playerNotification;
// Token: 0x040095EE RID: 38382
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x40095EE")]
public string chatFailureTitle;
// Token: 0x040095EF RID: 38383
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x40095EF")]
public string chatFailureBody;
// Token: 0x040095F0 RID: 38384
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x40095F0")]
public Action<string> onError;
// Token: 0x040095F1 RID: 38385
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
[Token(Token = "0x40095F1")]
public Action onSuccess;
// Token: 0x040095F2 RID: 38386
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
[Token(Token = "0x40095F2")]
public Action<bool> <>9__7;
// Token: 0x040095F3 RID: 38387
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
[Token(Token = "0x40095F3")]
public Func<EFAJBHGDIDD, IPromise> <>9__6;
}
// Token: 0x02002070 RID: 8304
[Token(Token = "0x2002070")]
[CompilerGenerated]
private sealed class MHOEPKMGHFK
{
// Token: 0x0600E593 RID: 58771 RVA: 0x0036778C File Offset: 0x0036598C
[Token(Token = "0x600E593")]
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
public MHOEPKMGHFK()
{
}
// Token: 0x0600E594 RID: 58772 RVA: 0x003677A0 File Offset: 0x003659A0
[Token(Token = "0x600E594")]
[Address(RVA = "0x13E0260", Offset = "0x13DEC60", VA = "0x1813E0260")]
internal bool <GoToAddedFriendAndAutoParty>b__0(Matchmaking.MHCKNNJOIIP matchmakingErrorCode)
{
if (matchmakingErrorCode > Matchmaking.MHCKNNJOIIP.AlreadyInBestInstance)
{
if (matchmakingErrorCode == Matchmaking.MHCKNNJOIIP.AlreadyInTargetInstance)
{
goto IL_6B;
}
SessionManager instance = SingletonMonoBehaviour.Instance;
int num = ObscuredInt.FAJDMKOEFLH(this.friendAccount.<IFBPANODIPA>k__BackingField);
string text;
instance.RequestGameInvite(num, text);
}
if (matchmakingErrorCode == Matchmaking.MHCKNNJOIIP.Success)
{
FriendCode.AMKINLCFEPO = this.friendAccount;
FriendCode friendCode = this.<>4__this;
ActionEvent dokminnfcgc = Matchmaking.DOKMINNFCGC;
Action action = new Action(friendCode.MJKMDOEKJAL);
Matchmaking.DOKMINNFCGC = dokminnfcgc + action;
return true;
}
IL_6B:
Scheduler instance2 = SingletonMonoBehaviour.Instance;
FriendCode friendCode2 = this.<>4__this;
CCEOLAOLEKJ cceolaolekj = this.friendAccount;
IEnumerator<ISchedule> enumerator = friendCode2.JLPLENCKMBA(cceolaolekj);
ISchedulerPromise schedulerPromise = instance2.Run(enumerator);
return true;
}
// Token: 0x040095FA RID: 38394
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40095FA")]
public FriendCode <>4__this;
// Token: 0x040095FB RID: 38395
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40095FB")]
public CCEOLAOLEKJ friendAccount;
}
// Token: 0x02002071 RID: 8305
[Token(Token = "0x2002071")]
[CompilerGenerated]
private sealed class GCKLHFGFBNO
{
// Token: 0x0600E595 RID: 58773 RVA: 0x0036784C File Offset: 0x00365A4C
[Token(Token = "0x600E595")]
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
public GCKLHFGFBNO()
{
}
// Token: 0x0600E596 RID: 58774 RVA: 0x00367860 File Offset: 0x00365A60
[Token(Token = "0x600E596")]
[Address(RVA = "0x13D7FA0", Offset = "0x13D69A0", VA = "0x1813D7FA0")]
internal void <MessageUserForFriendAddFailure>b__0(string url)
{
int num = 0;
bool flag = LinkManager.ELGKGFGCNJL.EPGHLIPKPBJ(url).TryGetValue("a", num);
if (!LinkManager.HMGFBHPFCHN)
{
string text = this.friendAddFailureBody;
WatchUI watchUI = this.watchUI;
string text2 = string.Format(text, num);
if (this.<>9__1 == 0)
{
Action action = delegate
{
this.promise.Complete();
};
this.<>9__1 = action;
}
return;
}
FriendCode.AACCKDDHHLC aacckddhhlc = new FriendCode.AACCKDDHHLC();
aacckddhhlc.CS$<>8__locals1 = this;
string[] array = new string[5];
if ("Friend Code: " != 0)
{
}
array[0] = "Friend Code: ";
if (num != 0)
{
}
array[1] = num;
string newLine = Environment.NewLine;
if (newLine != 0)
{
}
array[2] = newLine;
if ("Friend Link: " != 0)
{
}
array[3] = "Friend Link: ";
if (url != 0)
{
}
array[4] = url;
string text3 = string.Concat(array);
aacckddhhlc.copyableText = text3;
string text4 = this.friendAddFailureBody;
WatchUI watchUI2 = this.watchUI;
string text5 = string.Format(text4, num);
Action<JPIJGHNNIDP> action2 = delegate(JPIJGHNNIDP response)
{
if (response == JPIJGHNNIDP.Affirmative)
{
string copyableText = aacckddhhlc.copyableText;
if (LinkManager.HMGFBHPFCHN)
{
GUIUtility.systemCopyBuffer = copyableText;
}
}
aacckddhhlc.CS$<>8__locals1.promise.Complete();
};
throw new NullReferenceException();
}
// Token: 0x0600E597 RID: 58775 RVA: 0x00367978 File Offset: 0x00365B78
[Token(Token = "0x600E597")]
[Address(RVA = "0x13D8450", Offset = "0x13D6E50", VA = "0x1813D8450")]
internal void <MessageUserForFriendAddFailure>b__1()
{
this.promise.Complete();
}
// Token: 0x040095FC RID: 38396
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40095FC")]
public WatchUI watchUI;
// Token: 0x040095FD RID: 38397
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40095FD")]
public string friendAddFailureTitle;
// Token: 0x040095FE RID: 38398
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x40095FE")]
public string friendAddFailureBody;
// Token: 0x040095FF RID: 38399
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x40095FF")]
public Promise promise;
// Token: 0x04009600 RID: 38400
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4009600")]
public Action <>9__1;
}
// Token: 0x02002072 RID: 8306
[Token(Token = "0x2002072")]
[CompilerGenerated]
private sealed class AACCKDDHHLC
{
// Token: 0x0600E598 RID: 58776 RVA: 0x00367998 File Offset: 0x00365B98
[Token(Token = "0x600E598")]
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
public AACCKDDHHLC()
{
}
// Token: 0x0600E599 RID: 58777 RVA: 0x003679AC File Offset: 0x00365BAC
[Token(Token = "0x600E599")]
[Address(RVA = "0x13D1800", Offset = "0x13D0200", VA = "0x1813D1800")]
internal void <MessageUserForFriendAddFailure>b__2(JPIJGHNNIDP response)
{
if (response == JPIJGHNNIDP.Affirmative)
{
string text = this.copyableText;
if (LinkManager.HMGFBHPFCHN)
{
GUIUtility.systemCopyBuffer = text;
}
}
this.CS$<>8__locals1.promise.Complete();
}
// Token: 0x04009601 RID: 38401
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4009601")]
public string copyableText;
// Token: 0x04009602 RID: 38402
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4009602")]
public FriendCode.GCKLHFGFBNO CS$<>8__locals1;
}
}
}