155 lines
7.2 KiB
C#
155 lines
7.2 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Tools.Groups;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02002B2F RID: 11055
|
|
[Token(Token = "0x2002B2F")]
|
|
public static class HGBPLIEFHJG
|
|
{
|
|
// Token: 0x060128B1 RID: 75953 RVA: 0x0043DAE0 File Offset: 0x0043BCE0
|
|
[Token(Token = "0x60128B1")]
|
|
[Address(RVA = "0xBD0610", Offset = "0xBCF410", VA = "0x180BD0610")]
|
|
public static Sprite OJBLHDMJDLH(PlayingCard.BBJIAAMINKL HBPMKLFECJA)
|
|
{
|
|
HGBPLIEFHJG.DCHCJILOOOJ();
|
|
return HGBPLIEFHJG.HJKCDGBGKPL[(int)HBPMKLFECJA];
|
|
}
|
|
|
|
// Token: 0x060128B2 RID: 75954 RVA: 0x0043DB08 File Offset: 0x0043BD08
|
|
[Token(Token = "0x60128B2")]
|
|
[Address(RVA = "0xBD0570", Offset = "0xBCF370", VA = "0x180BD0570")]
|
|
public static Color IDBFAMDPHHF(PlayingCard.BBJIAAMINKL HBPMKLFECJA)
|
|
{
|
|
HGBPLIEFHJG.DCHCJILOOOJ();
|
|
Color[] mfojppompnn = HGBPLIEFHJG.MFOJPPOMPNN;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060128B3 RID: 75955 RVA: 0x0043DB28 File Offset: 0x0043BD28
|
|
[Token(Token = "0x60128B3")]
|
|
[Address(RVA = "0xBD04E0", Offset = "0xBCF2E0", VA = "0x180BD04E0")]
|
|
public static string HOPPFGOAEFP(PlayingCard.EGBLHMDGLIC ONGBFDACHHG)
|
|
{
|
|
HGBPLIEFHJG.DCHCJILOOOJ();
|
|
return HGBPLIEFHJG.PGBEHGGCJPB[(int)ONGBFDACHHG];
|
|
}
|
|
|
|
// Token: 0x060128B4 RID: 75956 RVA: 0x0043DB50 File Offset: 0x0043BD50
|
|
[Token(Token = "0x60128B4")]
|
|
[Address(RVA = "0xBCFE40", Offset = "0xBCEC40", VA = "0x180BCFE40")]
|
|
private static void DCHCJILOOOJ()
|
|
{
|
|
int num;
|
|
for (;;)
|
|
{
|
|
num = 0;
|
|
if (Enum.GetValues(typeof(PlayingCard.BBJIAAMINKL)) != 0)
|
|
{
|
|
HGBPLIEFHJG.HJKCDGBGKPL = new Sprite[0];
|
|
HGBPLIEFHJG.MFOJPPOMPNN = new Color[0];
|
|
PlayingCardVisualConfig mfiafagnmjn = HGBPLIEFHJG.MFIAFAGNMJN;
|
|
int num2 = 0;
|
|
if (mfiafagnmjn != num2 && HGBPLIEFHJG.MFIAFAGNMJN.SuitConfigs != num)
|
|
{
|
|
PlayingCardVisualConfig.SuitConfig[] suitConfigs = HGBPLIEFHJG.MFIAFAGNMJN.SuitConfigs;
|
|
if (num < suitConfigs.Length)
|
|
{
|
|
PlayingCardVisualConfig.SuitConfig[] array = HGBPLIEFHJG.MFIAFAGNMJN.SuitConfigs;
|
|
Color[] mfojppompnn = HGBPLIEFHJG.MFOJPPOMPNN;
|
|
array += array;
|
|
PlayingCardVisualConfig.SuitConfig[] suitConfigs2 = HGBPLIEFHJG.MFIAFAGNMJN.SuitConfigs;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
break;
|
|
}
|
|
num++;
|
|
}
|
|
}
|
|
if (Enum.GetValues(typeof(PlayingCard.EGBLHMDGLIC)) != 0)
|
|
{
|
|
goto Block_5;
|
|
}
|
|
}
|
|
}
|
|
Sprite[] hjkcdgbgkpl = HGBPLIEFHJG.HJKCDGBGKPL;
|
|
PlayingCardVisualConfig.SuitConfig[] suitConfigs3 = HGBPLIEFHJG.MFIAFAGNMJN.SuitConfigs;
|
|
string text;
|
|
Sprite sprite = HGBPLIEFHJG.AJFBGPPJAPK(text);
|
|
throw new ArrayTypeMismatchException();
|
|
Block_5:
|
|
HGBPLIEFHJG.PGBEHGGCJPB = new string[0];
|
|
PlayingCardVisualConfig mfiafagnmjn2 = HGBPLIEFHJG.MFIAFAGNMJN;
|
|
int num3 = 0;
|
|
if (mfiafagnmjn2 != num3 && HGBPLIEFHJG.MFIAFAGNMJN.ValueConfigs != num)
|
|
{
|
|
PlayingCardVisualConfig.ValueConfig[] valueConfigs = HGBPLIEFHJG.MFIAFAGNMJN.ValueConfigs;
|
|
string[] pgbehggcjpb = HGBPLIEFHJG.PGBEHGGCJPB;
|
|
num += num;
|
|
throw new ArrayTypeMismatchException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060128B5 RID: 75957 RVA: 0x0043DC90 File Offset: 0x0043BE90
|
|
[Token(Token = "0x60128B5")]
|
|
[Address(RVA = "0xBCFDA0", Offset = "0xBCEBA0", VA = "0x180BCFDA0")]
|
|
private static Sprite AJFBGPPJAPK(string MMBOKOLAJFH)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060128B5)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Sprite HGBPLIEFHJG::AJFBGPPJAPK(System.String)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_17:
|
|
brtrue(IL_17, cne:bool(ldloc:Object(var_1_12), ldc.i4:int32[exp:Object](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.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: 0x060128B6 RID: 75958 RVA: 0x0043DCB8 File Offset: 0x0043BEB8
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
[Token(Token = "0x60128B6")]
|
|
[Address(RVA = "0xBD06A0", Offset = "0xBCF4A0", VA = "0x180BD06A0")]
|
|
static HGBPLIEFHJG()
|
|
{
|
|
int num = 0;
|
|
HGBPLIEFHJG.HJKCDGBGKPL = num;
|
|
HGBPLIEFHJG.MFOJPPOMPNN = num;
|
|
HGBPLIEFHJG.PGBEHGGCJPB = num;
|
|
}
|
|
|
|
// Token: 0x0400BF8B RID: 49035
|
|
[Token(Token = "0x400BF8B")]
|
|
private static PlayingCardVisualConfig MFIAFAGNMJN = OLJIOKGMCPN.MNKDOANEFLK<PlayingCardVisualConfig>(0);
|
|
|
|
// Token: 0x0400BF8C RID: 49036
|
|
[Token(Token = "0x400BF8C")]
|
|
private const string FLNOIIKIMBJ = "Assets/Activities/EventRoom/Configs/";
|
|
|
|
// Token: 0x0400BF8D RID: 49037
|
|
[Token(Token = "0x400BF8D")]
|
|
private static Sprite[] HJKCDGBGKPL;
|
|
|
|
// Token: 0x0400BF8E RID: 49038
|
|
[Token(Token = "0x400BF8E")]
|
|
private static Color[] MFOJPPOMPNN;
|
|
|
|
// Token: 0x0400BF8F RID: 49039
|
|
[Token(Token = "0x400BF8F")]
|
|
private static string[] PGBEHGGCJPB;
|
|
}
|