245 lines
9.3 KiB
C#
245 lines
9.3 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
|
|
namespace AGUI.StackedUI.Dialog
|
|
{
|
|
// Token: 0x020011EE RID: 4590
|
|
[Token(Token = "0x20011EE")]
|
|
public class TextInputUIDialog : BaseTextInputUIDialog<TextInputUIDialog.NIPOGEDPMOA, TextInputUIDialog.KDJGEIICAJL>
|
|
{
|
|
// Token: 0x17001122 RID: 4386
|
|
// (get) Token: 0x06006865 RID: 26725 RVA: 0x00171C2C File Offset: 0x0016FE2C
|
|
[Token(Token = "0x17001122")]
|
|
protected override TextInputUIDialog.KDJGEIICAJL FCPJNKNLGFG
|
|
{
|
|
[Token(Token = "0x6006865")]
|
|
[Address(RVA = "0x126AE40", Offset = "0x1269C40", VA = "0x18126AE40", Slot = "28")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006865)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling AGUI.StackedUI.Dialog.TextInputUIDialog/KDJGEIICAJL AGUI.StackedUI.Dialog.TextInputUIDialog::HHKJMGDLKND()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:KDJGEIICAJL(var_0_05, ldsfld:KDJGEIICAJL(TextInputUIDialog::IPDBBCFOPOC))
|
|
stfld:TextMeshProUGUI(BaseTextInputUIDialog`2::titleText, ldloc:TextInputUIDialog[exp:BaseTextInputUIDialog`2](this), ldloc:KDJGEIICAJL[exp:TextMeshProUGUI](var_0_05))
|
|
}
|
|
|
|
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 1660
|
|
*/;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001123 RID: 4387
|
|
// (get) Token: 0x06006866 RID: 26726 RVA: 0x00171C48 File Offset: 0x0016FE48
|
|
[Token(Token = "0x17001123")]
|
|
protected override ValidatedButtonInputField HFOMOAIBCAB
|
|
{
|
|
[Token(Token = "0x6006866")]
|
|
[Address(RVA = "0x126AEB0", Offset = "0x1269CB0", VA = "0x18126AEB0", Slot = "27")]
|
|
get
|
|
{
|
|
if (this.DLOKPHBEEFM == EBPEIAPPJJK.SingleLine)
|
|
{
|
|
return this.singleLineTextInputField;
|
|
}
|
|
return this.multiLineTextInputField;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006867 RID: 26727 RVA: 0x00171C6C File Offset: 0x0016FE6C
|
|
[Token(Token = "0x6006867")]
|
|
[Address(RVA = "0x126ABC0", Offset = "0x12699C0", VA = "0x18126ABC0", Slot = "29")]
|
|
protected override void EICLCFBNGFO(TextInputUIDialog.NIPOGEDPMOA IIFJDCEPNMJ)
|
|
{
|
|
bool keghclndcei = IIFJDCEPNMJ.KEGHCLNDCEI;
|
|
Transform transform = this.singleLineTextInputGroupTransform;
|
|
int num = 0;
|
|
if (transform != num)
|
|
{
|
|
Transform transform2 = this.multiLineTextInputGroupTransform;
|
|
int num2 = 0;
|
|
if (transform2 != num2)
|
|
{
|
|
Transform transform3 = this.singleLineTextInputGroupTransform;
|
|
if (this.DLOKPHBEEFM == EBPEIAPPJJK.SingleLine)
|
|
{
|
|
transform3.gameObject.SetActive(true);
|
|
GameObject gameObject = this.multiLineTextInputGroupTransform.gameObject;
|
|
throw new NullReferenceException();
|
|
}
|
|
GameObject gameObject2 = transform3.gameObject;
|
|
int num3 = 0;
|
|
gameObject2.SetActive(num3 != 0);
|
|
this.multiLineTextInputGroupTransform.gameObject.SetActive(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006868 RID: 26728 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6006868")]
|
|
[Address(RVA = "0x126AE20", Offset = "0x1269C20", VA = "0x18126AE20", Slot = "30")]
|
|
protected override TextInputUIDialog.KDJGEIICAJL EMKNGCOFFAC(string BODHBIAJBIM)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06006869 RID: 26729 RVA: 0x00171D00 File Offset: 0x0016FF00
|
|
[Token(Token = "0x6006869")]
|
|
[Address(RVA = "0x126AF30", Offset = "0x1269D30", VA = "0x18126AF30")]
|
|
public TextInputUIDialog()
|
|
{
|
|
}
|
|
|
|
// Token: 0x040045A7 RID: 17831
|
|
[FieldOffset(Offset = "0xC8")]
|
|
[Token(Token = "0x40045A7")]
|
|
[SerializeField]
|
|
private ValidatedButtonInputField singleLineTextInputField;
|
|
|
|
// Token: 0x040045A8 RID: 17832
|
|
[FieldOffset(Offset = "0xD0")]
|
|
[Token(Token = "0x40045A8")]
|
|
[SerializeField]
|
|
private ValidatedButtonInputField multiLineTextInputField;
|
|
|
|
// Token: 0x040045A9 RID: 17833
|
|
[FieldOffset(Offset = "0xD8")]
|
|
[Token(Token = "0x40045A9")]
|
|
[SerializeField]
|
|
private Transform singleLineTextInputGroupTransform;
|
|
|
|
// Token: 0x040045AA RID: 17834
|
|
[FieldOffset(Offset = "0xE0")]
|
|
[Token(Token = "0x40045AA")]
|
|
[SerializeField]
|
|
private Transform multiLineTextInputGroupTransform;
|
|
|
|
// Token: 0x040045AB RID: 17835
|
|
[FieldOffset(Offset = "0xE8")]
|
|
[Token(Token = "0x40045AB")]
|
|
private EBPEIAPPJJK DLOKPHBEEFM;
|
|
|
|
// Token: 0x040045AC RID: 17836
|
|
[Token(Token = "0x40045AC")]
|
|
private static readonly TextInputUIDialog.KDJGEIICAJL IPDBBCFOPOC = string.Empty;
|
|
|
|
// Token: 0x020011EF RID: 4591
|
|
[Token(Token = "0x20011EF")]
|
|
public struct NIPOGEDPMOA
|
|
{
|
|
// Token: 0x0600686B RID: 26731 RVA: 0x00171D30 File Offset: 0x0016FF30
|
|
[Token(Token = "0x600686B")]
|
|
[Address(RVA = "0x12661D0", Offset = "0x1264FD0", VA = "0x1812661D0")]
|
|
public NIPOGEDPMOA(TMP_InputField.ContentType KCKBKEKAMDF, string AIKLPOJAIIO, string BOPFNBCHJJJ)
|
|
{
|
|
int num = 0;
|
|
this.KCKBKEKAMDF = KCKBKEKAMDF;
|
|
this.AIKLPOJAIIO = AIKLPOJAIIO;
|
|
this.HLOLBMKJFOM = (EBPEIAPPJJK)num;
|
|
this.BOPFNBCHJJJ = BOPFNBCHJJJ;
|
|
this.NGLHJIOMKBG = "Ok";
|
|
this.KEGHCLNDCEI = num != 0;
|
|
this.DIDPKDLHNBN = (int)((ulong)4294967295L);
|
|
this.EAGAADGPCKK = num;
|
|
this.GOLGMHKKGEA = num;
|
|
this.HMCHFOILHPK = (TMP_InputField.CharacterValidation)num;
|
|
this.LNEHNHPOOKK = num;
|
|
this.JNOEEGDBCJB = num != 0;
|
|
this.NPMINNEILFC = "";
|
|
}
|
|
|
|
// Token: 0x040045AD RID: 17837
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x40045AD")]
|
|
public TMP_InputField.ContentType KCKBKEKAMDF;
|
|
|
|
// Token: 0x040045AE RID: 17838
|
|
[FieldOffset(Offset = "0x8")]
|
|
[Token(Token = "0x40045AE")]
|
|
public string AIKLPOJAIIO;
|
|
|
|
// Token: 0x040045AF RID: 17839
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40045AF")]
|
|
public string BOPFNBCHJJJ;
|
|
|
|
// Token: 0x040045B0 RID: 17840
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40045B0")]
|
|
public string NPMINNEILFC;
|
|
|
|
// Token: 0x040045B1 RID: 17841
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40045B1")]
|
|
public EBPEIAPPJJK HLOLBMKJFOM;
|
|
|
|
// Token: 0x040045B2 RID: 17842
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40045B2")]
|
|
public string NGLHJIOMKBG;
|
|
|
|
// Token: 0x040045B3 RID: 17843
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40045B3")]
|
|
public bool KEGHCLNDCEI;
|
|
|
|
// Token: 0x040045B4 RID: 17844
|
|
[FieldOffset(Offset = "0x34")]
|
|
[Token(Token = "0x40045B4")]
|
|
public int DIDPKDLHNBN;
|
|
|
|
// Token: 0x040045B5 RID: 17845
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x40045B5")]
|
|
public BaseTextInputUIDialog<TextInputUIDialog.NIPOGEDPMOA, TextInputUIDialog.KDJGEIICAJL>.KNPPNPLFCAD EAGAADGPCKK;
|
|
|
|
// Token: 0x040045B6 RID: 17846
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x40045B6")]
|
|
public Func<string, bool> GOLGMHKKGEA;
|
|
|
|
// Token: 0x040045B7 RID: 17847
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x40045B7")]
|
|
public TMP_InputField.CharacterValidation HMCHFOILHPK;
|
|
|
|
// Token: 0x040045B8 RID: 17848
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x40045B8")]
|
|
public string LNEHNHPOOKK;
|
|
|
|
// Token: 0x040045B9 RID: 17849
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x40045B9")]
|
|
public bool JNOEEGDBCJB;
|
|
}
|
|
|
|
// Token: 0x020011F0 RID: 4592
|
|
[Token(Token = "0x20011F0")]
|
|
public struct KDJGEIICAJL
|
|
{
|
|
// Token: 0x040045BA RID: 17850
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x40045BA")]
|
|
public string FJAJKCKLJDN;
|
|
|
|
// Token: 0x040045BB RID: 17851
|
|
[FieldOffset(Offset = "0x8")]
|
|
[Token(Token = "0x40045BB")]
|
|
public JPIJGHNNIDP FKNOPGEADKO;
|
|
}
|
|
}
|
|
}
|