scripts
This commit is contained in:
@@ -0,0 +1,334 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
|
||||
namespace RecRoom.Core.Screens.UI
|
||||
{
|
||||
// Token: 0x02002A11 RID: 10769
|
||||
[Token(Token = "0x2002A11")]
|
||||
[StructLayout(3)]
|
||||
public class DateSelectionFieldScreenLoginUI : MonoBehaviour
|
||||
{
|
||||
// Token: 0x14000192 RID: 402
|
||||
// (add) Token: 0x06012CF4 RID: 77044 RVA: 0x0047D510 File Offset: 0x0047B710
|
||||
// (remove) Token: 0x06012CF5 RID: 77045 RVA: 0x0047D538 File Offset: 0x0047B738
|
||||
[Token(Token = "0x14000192")]
|
||||
public event Action<DateTime?> ODDCKONIOKP
|
||||
{
|
||||
[Token(Token = "0x6012CF4")]
|
||||
[Address(RVA = "0x119D470", Offset = "0x119BE70", VA = "0x18119D470")]
|
||||
[CompilerGenerated]
|
||||
add
|
||||
{
|
||||
Action<DateTime?> oddckoniokp;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
oddckoniokp = this.ODDCKONIOKP;
|
||||
@delegate = Delegate.Combine(oddckoniokp, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != oddckoniokp)
|
||||
{
|
||||
}
|
||||
}
|
||||
[Token(Token = "0x6012CF5")]
|
||||
[Address(RVA = "0x119D510", Offset = "0x119BF10", VA = "0x18119D510")]
|
||||
[CompilerGenerated]
|
||||
remove
|
||||
{
|
||||
Action<DateTime?> oddckoniokp;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
oddckoniokp = this.ODDCKONIOKP;
|
||||
@delegate = Delegate.Remove(oddckoniokp, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != oddckoniokp)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17003272 RID: 12914
|
||||
// (get) Token: 0x06012CF6 RID: 77046 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
// (set) Token: 0x06012CF7 RID: 77047 RVA: 0x0047D560 File Offset: 0x0047B760
|
||||
[Token(Token = "0x17003272")]
|
||||
public DateTime? DBICEFNNNLF
|
||||
{
|
||||
[Token(Token = "0x6012CF6")]
|
||||
[Address(RVA = "0x108F810", Offset = "0x108E210", VA = "0x18108F810")]
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
[Token(Token = "0x6012CF7")]
|
||||
[Address(RVA = "0x119CE80", Offset = "0x119B880", VA = "0x18119CE80")]
|
||||
[CompilerGenerated]
|
||||
private set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06012CF8 RID: 77048 RVA: 0x0047D570 File Offset: 0x0047B770
|
||||
[Token(Token = "0x6012CF8")]
|
||||
[Address(RVA = "0x119CD40", Offset = "0x119B740", VA = "0x18119CD40")]
|
||||
private void Awake()
|
||||
{
|
||||
AG_TMP_InputField.OnChangeEvent onValueChanged = this.monthField.m_OnValueChanged;
|
||||
UnityAction<string> unityAction = new UnityAction(this.PAMFAOJOFDP);
|
||||
onValueChanged.AddListener(unityAction);
|
||||
AG_TMP_InputField.OnChangeEvent onValueChanged2 = this.dayField.m_OnValueChanged;
|
||||
UnityAction<string> unityAction2 = new UnityAction(this.PAMFAOJOFDP);
|
||||
onValueChanged2.AddListener(unityAction2);
|
||||
AG_TMP_InputField.OnChangeEvent onValueChanged3 = this.yearField.m_OnValueChanged;
|
||||
UnityAction<string> unityAction3 = new UnityAction(this.PAMFAOJOFDP);
|
||||
onValueChanged3.AddListener(unityAction3);
|
||||
}
|
||||
|
||||
// Token: 0x06012CF9 RID: 77049 RVA: 0x0047D5E8 File Offset: 0x0047B7E8
|
||||
[Token(Token = "0x6012CF9")]
|
||||
[Address(RVA = "0x119CEF0", Offset = "0x119B8F0", VA = "0x18119CEF0")]
|
||||
private void OnDestroy()
|
||||
{
|
||||
this.monthField.m_OnSubmit.RemoveAllListeners();
|
||||
this.dayField.m_OnSubmit.RemoveAllListeners();
|
||||
this.yearField.m_OnSubmit.RemoveAllListeners();
|
||||
}
|
||||
|
||||
// Token: 0x06012CFA RID: 77050 RVA: 0x0047D62C File Offset: 0x0047B82C
|
||||
[Token(Token = "0x6012CFA")]
|
||||
[Address(RVA = "0x119CE90", Offset = "0x119B890", VA = "0x18119CE90")]
|
||||
public void EnableButtons(bool BCOHEOIEPLL)
|
||||
{
|
||||
this.monthField.interactable = BCOHEOIEPLL;
|
||||
this.dayField.interactable = BCOHEOIEPLL;
|
||||
this.yearField.interactable = BCOHEOIEPLL;
|
||||
}
|
||||
|
||||
// Token: 0x06012CFB RID: 77051 RVA: 0x0047D664 File Offset: 0x0047B864
|
||||
[Token(Token = "0x6012CFB")]
|
||||
[Address(RVA = "0x119D0A0", Offset = "0x119BAA0", VA = "0x18119D0A0")]
|
||||
public void SetCurrentDate(DateTime INIPGECDDFE)
|
||||
{
|
||||
AG_TMP_InputField ag_TMP_InputField = this.dayField;
|
||||
int num = 0;
|
||||
ag_TMP_InputField.text = num;
|
||||
AG_TMP_InputField ag_TMP_InputField2 = this.monthField;
|
||||
int num2 = 0;
|
||||
ag_TMP_InputField2.text = num2;
|
||||
AG_TMP_InputField ag_TMP_InputField3 = this.yearField;
|
||||
int num3 = 0;
|
||||
ag_TMP_InputField3.text = num3;
|
||||
string text = this.TryParseDate();
|
||||
}
|
||||
|
||||
// Token: 0x06012CFC RID: 77052 RVA: 0x0047D6B8 File Offset: 0x0047B8B8
|
||||
[Token(Token = "0x6012CFC")]
|
||||
[Address(RVA = "0x119D030", Offset = "0x119BA30", VA = "0x18119D030")]
|
||||
public void ResetDate()
|
||||
{
|
||||
AG_TMP_InputField ag_TMP_InputField = this.dayField;
|
||||
int num = 0;
|
||||
ag_TMP_InputField.text = num;
|
||||
AG_TMP_InputField ag_TMP_InputField2 = this.monthField;
|
||||
int num2 = 0;
|
||||
ag_TMP_InputField2.text = num2;
|
||||
AG_TMP_InputField ag_TMP_InputField3 = this.yearField;
|
||||
int num3 = 0;
|
||||
ag_TMP_InputField3.text = num3;
|
||||
int num4 = 0;
|
||||
this.<ADHIEDFJLOH>k__BackingField = num4;
|
||||
}
|
||||
|
||||
// Token: 0x06012CFD RID: 77053 RVA: 0x0047D70C File Offset: 0x0047B90C
|
||||
[Token(Token = "0x6012CFD")]
|
||||
[Address(RVA = "0x119CF60", Offset = "0x119B960", VA = "0x18119CF60")]
|
||||
private void PAMFAOJOFDP(string BCEFAKDFEMM)
|
||||
{
|
||||
DateTime? dateTime = this.<ADHIEDFJLOH>k__BackingField;
|
||||
string text = this.TryParseDate();
|
||||
DateTime? dateTime2 = this.<ADHIEDFJLOH>k__BackingField;
|
||||
bool flag;
|
||||
if (this != text || (this != 0 && flag))
|
||||
{
|
||||
Action<DateTime?> oddckoniokp = this.ODDCKONIOKP;
|
||||
if (oddckoniokp != 0)
|
||||
{
|
||||
DateTime? dateTime3 = this.<ADHIEDFJLOH>k__BackingField;
|
||||
oddckoniokp(dateTime3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06012CFE RID: 77054 RVA: 0x0047D758 File Offset: 0x0047B958
|
||||
[Token(Token = "0x6012CFE")]
|
||||
[Address(RVA = "0x119D180", Offset = "0x119BB80", VA = "0x18119D180")]
|
||||
public string TryParseDate()
|
||||
{
|
||||
string text = this.dayField.m_Text;
|
||||
string text2 = this.monthField.m_Text;
|
||||
string text3 = this.yearField.m_Text;
|
||||
if (this.customDateConversion != 0)
|
||||
{
|
||||
}
|
||||
bool flag;
|
||||
bool flag2;
|
||||
bool flag3;
|
||||
if (flag && flag2 && flag3)
|
||||
{
|
||||
int num = DateTime.DaysInMonth(flag3 ? 1 : 0, flag2 ? 1 : 0);
|
||||
ulong num2 = DateTime.UtcNow.dateData;
|
||||
num2 -= (flag2 ? 1UL : 0UL);
|
||||
string text4;
|
||||
if (!EIMGAFPPJFD.LANGEFPIILN((int)num2) || this.customDateValidation == 0 || !string.IsNullOrEmpty(text4))
|
||||
{
|
||||
}
|
||||
}
|
||||
string text5;
|
||||
return text5;
|
||||
}
|
||||
|
||||
// Token: 0x06012CFF RID: 77055 RVA: 0x0047D7EC File Offset: 0x0047B9EC
|
||||
[Token(Token = "0x6012CFF")]
|
||||
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
|
||||
public DateSelectionFieldScreenLoginUI()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400C9EC RID: 51692
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400C9EC")]
|
||||
public DateSelectionFieldScreenLoginUI.PPHINABMNAE customDateConversion;
|
||||
|
||||
// Token: 0x0400C9ED RID: 51693
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400C9ED")]
|
||||
public DateSelectionFieldScreenLoginUI.BBHNGECLBPP customDateValidation;
|
||||
|
||||
// Token: 0x0400C9EE RID: 51694
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400C9EE")]
|
||||
[SerializeField]
|
||||
private AG_TMP_InputField monthField;
|
||||
|
||||
// Token: 0x0400C9EF RID: 51695
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400C9EF")]
|
||||
[SerializeField]
|
||||
private AG_TMP_InputField dayField;
|
||||
|
||||
// Token: 0x0400C9F0 RID: 51696
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400C9F0")]
|
||||
[SerializeField]
|
||||
private AG_TMP_InputField yearField;
|
||||
|
||||
// Token: 0x02002A12 RID: 10770
|
||||
[Token(Token = "0x2002A12")]
|
||||
public sealed class PPHINABMNAE : MulticastDelegate
|
||||
{
|
||||
// Token: 0x06012D00 RID: 77056 RVA: 0x0047D800 File Offset: 0x0047BA00
|
||||
[Token(Token = "0x6012D00")]
|
||||
[Address(RVA = "0x3E5170", Offset = "0x3E3B70", VA = "0x1803E5170")]
|
||||
public PPHINABMNAE(object @object, IntPtr method)
|
||||
{
|
||||
this.method = method;
|
||||
this.m_target = @object;
|
||||
}
|
||||
|
||||
// Token: 0x06012D01 RID: 77057 RVA: 0x0047D81C File Offset: 0x0047BA1C
|
||||
[Token(Token = "0x6012D01")]
|
||||
[Address(RVA = "0x4688C0", Offset = "0x4672C0", VA = "0x1804688C0", Slot = "13")]
|
||||
public void Invoke(ref int DIGDLBNBLMA, ref int JJJAOECFBMA, ref int JAJCPFJHHLO)
|
||||
{
|
||||
if (this.delegates != 0)
|
||||
{
|
||||
}
|
||||
uint num;
|
||||
if (num != (uint)0)
|
||||
{
|
||||
throw new ExecutionEngineException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06012D02 RID: 77058 RVA: 0x0047D89C File Offset: 0x0047BA9C
|
||||
[Token(Token = "0x6012D02")]
|
||||
[Address(RVA = "0x11A03D0", Offset = "0x119EDD0", VA = "0x1811A03D0", Slot = "14")]
|
||||
public IAsyncResult BeginInvoke(ref int DIGDLBNBLMA, ref int JJJAOECFBMA, ref int JAJCPFJHHLO, AsyncCallback AFLPGGJMPOE, object FEDFKKMABOG)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06012D03 RID: 77059 RVA: 0x0047D8AC File Offset: 0x0047BAAC
|
||||
[Token(Token = "0x6012D03")]
|
||||
[Address(RVA = "0x468890", Offset = "0x467290", VA = "0x180468890", Slot = "15")]
|
||||
public void EndInvoke(ref int DIGDLBNBLMA, ref int JJJAOECFBMA, ref int JAJCPFJHHLO, IAsyncResult GIAOBLMEMMI)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x02002A13 RID: 10771
|
||||
[Token(Token = "0x2002A13")]
|
||||
public sealed class BBHNGECLBPP : MulticastDelegate
|
||||
{
|
||||
// Token: 0x06012D04 RID: 77060 RVA: 0x0047D8BC File Offset: 0x0047BABC
|
||||
[Token(Token = "0x6012D04")]
|
||||
[Address(RVA = "0x3E5170", Offset = "0x3E3B70", VA = "0x1803E5170")]
|
||||
public BBHNGECLBPP(object @object, IntPtr method)
|
||||
{
|
||||
this.method = method;
|
||||
this.m_target = @object;
|
||||
}
|
||||
|
||||
// Token: 0x06012D05 RID: 77061 RVA: 0x0047D8D8 File Offset: 0x0047BAD8
|
||||
[Token(Token = "0x6012D05")]
|
||||
[Address(RVA = "0x119C4D0", Offset = "0x119AED0", VA = "0x18119C4D0", Slot = "13")]
|
||||
public string Invoke(int DIGDLBNBLMA, int JJJAOECFBMA, int JAJCPFJHHLO)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06012D05)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String RecRoom.Core.Screens.UI.DateSelectionFieldScreenLoginUI/BBHNGECLBPP::Invoke(System.Int32,System.Int32,System.Int32)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_CD:
|
||||
stloc:int32(var_1_D0, add:int32(ldloc:int32(var_1_08), ldc.i4:int32(1)))
|
||||
}
|
||||
|
||||
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: 0x06012D06 RID: 77062 RVA: 0x0047D9B8 File Offset: 0x0047BBB8
|
||||
[Token(Token = "0x6012D06")]
|
||||
[Address(RVA = "0x119C420", Offset = "0x119AE20", VA = "0x18119C420", Slot = "14")]
|
||||
public IAsyncResult BeginInvoke(int DIGDLBNBLMA, int JJJAOECFBMA, int JAJCPFJHHLO, AsyncCallback AFLPGGJMPOE, object FEDFKKMABOG)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06012D07 RID: 77063 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6012D07")]
|
||||
[Address(RVA = "0x40BFF0", Offset = "0x40A9F0", VA = "0x18040BFF0", Slot = "15")]
|
||||
public string EndInvoke(IAsyncResult GIAOBLMEMMI)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user