148 lines
6.3 KiB
C#
148 lines
6.3 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Async;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000DA6 RID: 3494
|
|
[Token(Token = "0x2000DA6")]
|
|
[StructLayout(3)]
|
|
public class ECINAMCDBJO
|
|
{
|
|
// Token: 0x060054C5 RID: 21701 RVA: 0x00135198 File Offset: 0x00133398
|
|
[Token(Token = "0x60054C5")]
|
|
[Address(RVA = "0x1061E40", Offset = "0x1060840", VA = "0x181061E40")]
|
|
public static IEnumerator DJHHDCGJIJB(BPHGKAEDBPE.OJDJIJDNFHE<List<CFOEKMPLMII>> AFLPGGJMPOE)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060054C5)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator ECINAMCDBJO::DJHHDCGJIJB(BPHGKAEDBPE/OJDJIJDNFHE<System.Collections.Generic.List`1<CFOEKMPLMII>>)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(GPBDCOCADGE::System.IDisposable.Dispose, ldloc:GPBDCOCADGE(var_0))
|
|
stfld:int32(GPBDCOCADGE::<>1__state, ldloc:GPBDCOCADGE(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
|
stfld:class BPHGKAEDBPE/OJDJIJDNFHE<class [mscorlib]System.Collections.Generic.List`1<class CFOEKMPLMII>>(GPBDCOCADGE::callback, ldloc:GPBDCOCADGE(var_0), ldloc:class BPHGKAEDBPE/OJDJIJDNFHE<class [mscorlib]System.Collections.Generic.List`1<class CFOEKMPLMII>>(AFLPGGJMPOE))
|
|
}
|
|
|
|
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: 0x060054C6 RID: 21702 RVA: 0x001351BC File Offset: 0x001333BC
|
|
[Token(Token = "0x60054C6")]
|
|
[Address(RVA = "0x1061EA0", Offset = "0x10608A0", VA = "0x181061EA0")]
|
|
public static void EEDJOJINECJ()
|
|
{
|
|
int num;
|
|
int num2;
|
|
do
|
|
{
|
|
num = 0;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
return;
|
|
}
|
|
List<Dictionary<string, object>> list = new List();
|
|
List.Enumerator enumerator;
|
|
if (enumerator != 0)
|
|
{
|
|
Dictionary<string, object> dictionary;
|
|
list.Add(dictionary);
|
|
}
|
|
num2 = 0;
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
ulong num3;
|
|
IPromise<HOOILIHKMEG> promise = BPHGKAEDBPE.CKPCAIJMPJN(string.Format("{0}v1/update", "api/equipment/"), num, num3 != 0UL);
|
|
EEMMNNGBJGD.MHAAHIBFFNE mhaahibffne = new EEMMNNGBJGD.MHAAHIBFFNE();
|
|
mhaahibffne.treat400BadRequestAsError = false;
|
|
Func<HOOILIHKMEG, IPromise> func = delegate(HOOILIHKMEG response)
|
|
{
|
|
if (mhaahibffne.treat400BadRequestAsError && response.LLODNIOIDKE == 400)
|
|
{
|
|
string text = response.DKPCLPHKFDI;
|
|
if (text == 0)
|
|
{
|
|
string text2 = response.DFPPNHINEFO;
|
|
}
|
|
return Promise.FromError(text);
|
|
}
|
|
if (response.LLODNIOIDKE < 400)
|
|
{
|
|
return Promise.<CompletedPromise>k__BackingField;
|
|
}
|
|
string text3;
|
|
return Promise.FromError(text3);
|
|
};
|
|
if (num2 < mhaahibffne)
|
|
{
|
|
num2 += num2;
|
|
if (num2 == mhaahibffne)
|
|
{
|
|
throw new NullReferenceException();
|
|
}
|
|
num2++;
|
|
}
|
|
Action<string> action = new Action(new EEMMNNGBJGD.OHEOLHBGJGL
|
|
{
|
|
errorPrefix = "Failed to upload equipment slot updates"
|
|
}.<LogErrors>b__0);
|
|
}
|
|
|
|
// Token: 0x060054C7 RID: 21703 RVA: 0x00135274 File Offset: 0x00133474
|
|
[Token(Token = "0x60054C7")]
|
|
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
|
public ECINAMCDBJO()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04003DCB RID: 15819
|
|
[Token(Token = "0x4003DCB")]
|
|
private static string ALMFHDLGLCE = null;
|
|
|
|
// Token: 0x02000DA7 RID: 3495
|
|
[Token(Token = "0x2000DA7")]
|
|
[CompilerGenerated]
|
|
private sealed class MGODKMJMOGH
|
|
{
|
|
// Token: 0x060054C9 RID: 21705 RVA: 0x00135298 File Offset: 0x00133498
|
|
[Token(Token = "0x60054C9")]
|
|
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
|
public MGODKMJMOGH()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060054CA RID: 21706 RVA: 0x001352AC File Offset: 0x001334AC
|
|
[Token(Token = "0x60054CA")]
|
|
[Address(RVA = "0x1076140", Offset = "0x1074B40", VA = "0x181076140")]
|
|
internal void <DowloadUnlockedEquipments>b__0(string error, List<CFOEKMPLMII> items)
|
|
{
|
|
Debug.LogError("Failed to download unlocked equipments: " + error);
|
|
BPHGKAEDBPE.OJDJIJDNFHE<List<CFOEKMPLMII>> ojdjijdnfhe = this.callback;
|
|
int num = 0;
|
|
BPHGKAEDBPE.HADGLCCBNHM<List<CFOEKMPLMII>>(ojdjijdnfhe, num, items);
|
|
}
|
|
|
|
// Token: 0x04003DCC RID: 15820
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4003DCC")]
|
|
public BPHGKAEDBPE.OJDJIJDNFHE<List<CFOEKMPLMII>> callback;
|
|
}
|
|
}
|