155 lines
7.2 KiB
C#
155 lines
7.2 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Tools.Groups;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02002C18 RID: 11288
|
|
[Token(Token = "0x2002C18")]
|
|
public static class HGBPLIEFHJG
|
|
{
|
|
// Token: 0x06012CEE RID: 77038 RVA: 0x004476C0 File Offset: 0x004458C0
|
|
[Token(Token = "0x6012CEE")]
|
|
[Address(RVA = "0x1414030", Offset = "0x1413030", VA = "0x181414030")]
|
|
public static Sprite OJBLHDMJDLH(PlayingCard.BBJIAAMINKL HBPMKLFECJA)
|
|
{
|
|
HGBPLIEFHJG.DCHCJILOOOJ();
|
|
return HGBPLIEFHJG.HJKCDGBGKPL[(int)HBPMKLFECJA];
|
|
}
|
|
|
|
// Token: 0x06012CEF RID: 77039 RVA: 0x004476E8 File Offset: 0x004458E8
|
|
[Token(Token = "0x6012CEF")]
|
|
[Address(RVA = "0x1413F90", Offset = "0x1412F90", VA = "0x181413F90")]
|
|
public static Color IDBFAMDPHHF(PlayingCard.BBJIAAMINKL HBPMKLFECJA)
|
|
{
|
|
HGBPLIEFHJG.DCHCJILOOOJ();
|
|
Color[] mfojppompnn = HGBPLIEFHJG.MFOJPPOMPNN;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06012CF0 RID: 77040 RVA: 0x00447708 File Offset: 0x00445908
|
|
[Token(Token = "0x6012CF0")]
|
|
[Address(RVA = "0x1413F00", Offset = "0x1412F00", VA = "0x181413F00")]
|
|
public static string HOPPFGOAEFP(PlayingCard.EGBLHMDGLIC ONGBFDACHHG)
|
|
{
|
|
HGBPLIEFHJG.DCHCJILOOOJ();
|
|
return HGBPLIEFHJG.PGBEHGGCJPB[(int)ONGBFDACHHG];
|
|
}
|
|
|
|
// Token: 0x06012CF1 RID: 77041 RVA: 0x00447730 File Offset: 0x00445930
|
|
[Token(Token = "0x6012CF1")]
|
|
[Address(RVA = "0x1413860", Offset = "0x1412860", VA = "0x181413860")]
|
|
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: 0x06012CF2 RID: 77042 RVA: 0x00447870 File Offset: 0x00445A70
|
|
[Token(Token = "0x6012CF2")]
|
|
[Address(RVA = "0x14137C0", Offset = "0x14127C0", VA = "0x1814137C0")]
|
|
private static Sprite AJFBGPPJAPK(string MMBOKOLAJFH)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06012CF2)
|
|
|
|
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: 0x06012CF3 RID: 77043 RVA: 0x00447898 File Offset: 0x00445A98
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
[Token(Token = "0x6012CF3")]
|
|
[Address(RVA = "0x14140C0", Offset = "0x14130C0", VA = "0x1814140C0")]
|
|
static HGBPLIEFHJG()
|
|
{
|
|
int num = 0;
|
|
HGBPLIEFHJG.HJKCDGBGKPL = num;
|
|
HGBPLIEFHJG.MFOJPPOMPNN = num;
|
|
HGBPLIEFHJG.PGBEHGGCJPB = num;
|
|
}
|
|
|
|
// Token: 0x0400C19E RID: 49566
|
|
[Token(Token = "0x400C19E")]
|
|
private static PlayingCardVisualConfig MFIAFAGNMJN = OLJIOKGMCPN.MNKDOANEFLK<PlayingCardVisualConfig>(0);
|
|
|
|
// Token: 0x0400C19F RID: 49567
|
|
[Token(Token = "0x400C19F")]
|
|
private const string FLNOIIKIMBJ = "Assets/Activities/EventRoom/Configs/";
|
|
|
|
// Token: 0x0400C1A0 RID: 49568
|
|
[Token(Token = "0x400C1A0")]
|
|
private static Sprite[] HJKCDGBGKPL;
|
|
|
|
// Token: 0x0400C1A1 RID: 49569
|
|
[Token(Token = "0x400C1A1")]
|
|
private static Color[] MFOJPPOMPNN;
|
|
|
|
// Token: 0x0400C1A2 RID: 49570
|
|
[Token(Token = "0x400C1A2")]
|
|
private static string[] PGBEHGGCJPB;
|
|
}
|