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: 0x020012BB RID: 4795
|
|
[Token(Token = "0x20012BB")]
|
|
public class TextInputUIDialog : BaseTextInputUIDialog<TextInputUIDialog.NIPOGEDPMOA, TextInputUIDialog.KDJGEIICAJL>
|
|
{
|
|
// Token: 0x1700119E RID: 4510
|
|
// (get) Token: 0x06006BCB RID: 27595 RVA: 0x00179EA4 File Offset: 0x001780A4
|
|
[Token(Token = "0x1700119E")]
|
|
protected override TextInputUIDialog.KDJGEIICAJL FCPJNKNLGFG
|
|
{
|
|
[Token(Token = "0x6006BCB")]
|
|
[Address(RVA = "0x1E15120", Offset = "0x1E14120", VA = "0x181E15120", Slot = "28")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006BCB)
|
|
|
|
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 1663
|
|
*/;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700119F RID: 4511
|
|
// (get) Token: 0x06006BCC RID: 27596 RVA: 0x00179EC0 File Offset: 0x001780C0
|
|
[Token(Token = "0x1700119F")]
|
|
protected override ValidatedButtonInputField HFOMOAIBCAB
|
|
{
|
|
[Token(Token = "0x6006BCC")]
|
|
[Address(RVA = "0x1E15190", Offset = "0x1E14190", VA = "0x181E15190", Slot = "27")]
|
|
get
|
|
{
|
|
if (this.DLOKPHBEEFM == EBPEIAPPJJK.SingleLine)
|
|
{
|
|
return this.singleLineTextInputField;
|
|
}
|
|
return this.multiLineTextInputField;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006BCD RID: 27597 RVA: 0x00179EE4 File Offset: 0x001780E4
|
|
[Token(Token = "0x6006BCD")]
|
|
[Address(RVA = "0x1E14EA0", Offset = "0x1E13EA0", VA = "0x181E14EA0", 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: 0x06006BCE RID: 27598 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6006BCE")]
|
|
[Address(RVA = "0x1E15100", Offset = "0x1E14100", VA = "0x181E15100", Slot = "30")]
|
|
protected override TextInputUIDialog.KDJGEIICAJL EMKNGCOFFAC(string BODHBIAJBIM)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06006BCF RID: 27599 RVA: 0x00179F78 File Offset: 0x00178178
|
|
[Token(Token = "0x6006BCF")]
|
|
[Address(RVA = "0x1E15210", Offset = "0x1E14210", VA = "0x181E15210")]
|
|
public TextInputUIDialog()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04004724 RID: 18212
|
|
[FieldOffset(Offset = "0xC8")]
|
|
[Token(Token = "0x4004724")]
|
|
[SerializeField]
|
|
private ValidatedButtonInputField singleLineTextInputField;
|
|
|
|
// Token: 0x04004725 RID: 18213
|
|
[FieldOffset(Offset = "0xD0")]
|
|
[Token(Token = "0x4004725")]
|
|
[SerializeField]
|
|
private ValidatedButtonInputField multiLineTextInputField;
|
|
|
|
// Token: 0x04004726 RID: 18214
|
|
[FieldOffset(Offset = "0xD8")]
|
|
[Token(Token = "0x4004726")]
|
|
[SerializeField]
|
|
private Transform singleLineTextInputGroupTransform;
|
|
|
|
// Token: 0x04004727 RID: 18215
|
|
[FieldOffset(Offset = "0xE0")]
|
|
[Token(Token = "0x4004727")]
|
|
[SerializeField]
|
|
private Transform multiLineTextInputGroupTransform;
|
|
|
|
// Token: 0x04004728 RID: 18216
|
|
[FieldOffset(Offset = "0xE8")]
|
|
[Token(Token = "0x4004728")]
|
|
private EBPEIAPPJJK DLOKPHBEEFM;
|
|
|
|
// Token: 0x04004729 RID: 18217
|
|
[Token(Token = "0x4004729")]
|
|
private static readonly TextInputUIDialog.KDJGEIICAJL IPDBBCFOPOC = string.Empty;
|
|
|
|
// Token: 0x020012BC RID: 4796
|
|
[Token(Token = "0x20012BC")]
|
|
public struct NIPOGEDPMOA
|
|
{
|
|
// Token: 0x06006BD1 RID: 27601 RVA: 0x00179FA8 File Offset: 0x001781A8
|
|
[Token(Token = "0x6006BD1")]
|
|
[Address(RVA = "0x1E10500", Offset = "0x1E0F500", VA = "0x181E10500")]
|
|
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: 0x0400472A RID: 18218
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x400472A")]
|
|
public TMP_InputField.ContentType KCKBKEKAMDF;
|
|
|
|
// Token: 0x0400472B RID: 18219
|
|
[FieldOffset(Offset = "0x8")]
|
|
[Token(Token = "0x400472B")]
|
|
public string AIKLPOJAIIO;
|
|
|
|
// Token: 0x0400472C RID: 18220
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400472C")]
|
|
public string BOPFNBCHJJJ;
|
|
|
|
// Token: 0x0400472D RID: 18221
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400472D")]
|
|
public string NPMINNEILFC;
|
|
|
|
// Token: 0x0400472E RID: 18222
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400472E")]
|
|
public EBPEIAPPJJK HLOLBMKJFOM;
|
|
|
|
// Token: 0x0400472F RID: 18223
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400472F")]
|
|
public string NGLHJIOMKBG;
|
|
|
|
// Token: 0x04004730 RID: 18224
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4004730")]
|
|
public bool KEGHCLNDCEI;
|
|
|
|
// Token: 0x04004731 RID: 18225
|
|
[FieldOffset(Offset = "0x34")]
|
|
[Token(Token = "0x4004731")]
|
|
public int DIDPKDLHNBN;
|
|
|
|
// Token: 0x04004732 RID: 18226
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4004732")]
|
|
public BaseTextInputUIDialog<TextInputUIDialog.NIPOGEDPMOA, TextInputUIDialog.KDJGEIICAJL>.KNPPNPLFCAD EAGAADGPCKK;
|
|
|
|
// Token: 0x04004733 RID: 18227
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4004733")]
|
|
public Func<string, bool> GOLGMHKKGEA;
|
|
|
|
// Token: 0x04004734 RID: 18228
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4004734")]
|
|
public TMP_InputField.CharacterValidation HMCHFOILHPK;
|
|
|
|
// Token: 0x04004735 RID: 18229
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x4004735")]
|
|
public string LNEHNHPOOKK;
|
|
|
|
// Token: 0x04004736 RID: 18230
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x4004736")]
|
|
public bool JNOEEGDBCJB;
|
|
}
|
|
|
|
// Token: 0x020012BD RID: 4797
|
|
[Token(Token = "0x20012BD")]
|
|
public struct KDJGEIICAJL
|
|
{
|
|
// Token: 0x04004737 RID: 18231
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4004737")]
|
|
public string FJAJKCKLJDN;
|
|
|
|
// Token: 0x04004738 RID: 18232
|
|
[FieldOffset(Offset = "0x8")]
|
|
[Token(Token = "0x4004738")]
|
|
public JPIJGHNNIDP FKNOPGEADKO;
|
|
}
|
|
}
|
|
}
|