scripts
This commit is contained in:
@@ -0,0 +1,225 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AGUI.StackedUI.Dialog
|
||||
{
|
||||
// Token: 0x02001BAB RID: 7083
|
||||
[Token(Token = "0x2001BAB")]
|
||||
[StructLayout(3)]
|
||||
public class TextInputUIDialog : BaseTextInputUIDialog<TextInputUIDialog.NIPOGEDPMOA, TextInputUIDialog.KDJGEIICAJL>
|
||||
{
|
||||
// Token: 0x17001E05 RID: 7685
|
||||
// (get) Token: 0x0600BE63 RID: 48739 RVA: 0x002CDD74 File Offset: 0x002CBF74
|
||||
[Token(Token = "0x17001E05")]
|
||||
protected override TextInputUIDialog.KDJGEIICAJL FCPJNKNLGFG
|
||||
{
|
||||
[Token(Token = "0x600BE63")]
|
||||
[Address(RVA = "0x1756D10", Offset = "0x1755710", VA = "0x181756D10", Slot = "21")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600BE63)
|
||||
|
||||
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: 0x17001E06 RID: 7686
|
||||
// (get) Token: 0x0600BE64 RID: 48740 RVA: 0x002CDD90 File Offset: 0x002CBF90
|
||||
[Token(Token = "0x17001E06")]
|
||||
protected override ValidatedButtonInputField HFOMOAIBCAB
|
||||
{
|
||||
[Token(Token = "0x600BE64")]
|
||||
[Address(RVA = "0x1756D80", Offset = "0x1755780", VA = "0x181756D80", Slot = "20")]
|
||||
get
|
||||
{
|
||||
if (this.DLOKPHBEEFM == EBPEIAPPJJK.SingleLine)
|
||||
{
|
||||
return this.singleLineTextInputField;
|
||||
}
|
||||
return this.multiLineTextInputField;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600BE65 RID: 48741 RVA: 0x002CDDB4 File Offset: 0x002CBFB4
|
||||
[Token(Token = "0x600BE65")]
|
||||
[Address(RVA = "0x1756AB0", Offset = "0x17554B0", VA = "0x181756AB0", Slot = "22")]
|
||||
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: 0x0600BE66 RID: 48742 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x600BE66")]
|
||||
[Address(RVA = "0x1756CF0", Offset = "0x17556F0", VA = "0x181756CF0", Slot = "23")]
|
||||
protected override TextInputUIDialog.KDJGEIICAJL EMKNGCOFFAC(string BODHBIAJBIM)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x0600BE67 RID: 48743 RVA: 0x002CDE48 File Offset: 0x002CC048
|
||||
[Token(Token = "0x600BE67")]
|
||||
[Address(RVA = "0x1756E00", Offset = "0x1755800", VA = "0x181756E00")]
|
||||
public TextInputUIDialog()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04007DB2 RID: 32178
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB8")]
|
||||
[Token(Token = "0x4007DB2")]
|
||||
[SerializeField]
|
||||
private ValidatedButtonInputField singleLineTextInputField;
|
||||
|
||||
// Token: 0x04007DB3 RID: 32179
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC0")]
|
||||
[Token(Token = "0x4007DB3")]
|
||||
[SerializeField]
|
||||
private ValidatedButtonInputField multiLineTextInputField;
|
||||
|
||||
// Token: 0x04007DB4 RID: 32180
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC8")]
|
||||
[Token(Token = "0x4007DB4")]
|
||||
[SerializeField]
|
||||
private Transform singleLineTextInputGroupTransform;
|
||||
|
||||
// Token: 0x04007DB5 RID: 32181
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD0")]
|
||||
[Token(Token = "0x4007DB5")]
|
||||
[SerializeField]
|
||||
private Transform multiLineTextInputGroupTransform;
|
||||
|
||||
// Token: 0x04007DB6 RID: 32182
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD8")]
|
||||
[Token(Token = "0x4007DB6")]
|
||||
private EBPEIAPPJJK DLOKPHBEEFM;
|
||||
|
||||
// Token: 0x04007DB7 RID: 32183
|
||||
[Token(Token = "0x4007DB7")]
|
||||
private static readonly TextInputUIDialog.KDJGEIICAJL IPDBBCFOPOC = string.Empty;
|
||||
|
||||
// Token: 0x02001BAC RID: 7084
|
||||
[Token(Token = "0x2001BAC")]
|
||||
public struct NIPOGEDPMOA
|
||||
{
|
||||
// Token: 0x0600BE69 RID: 48745 RVA: 0x002CDE78 File Offset: 0x002CC078
|
||||
[Token(Token = "0x600BE69")]
|
||||
[Address(RVA = "0x238920", Offset = "0x237D20", VA = "0x180238920")]
|
||||
public NIPOGEDPMOA(TMP_InputField.ContentType contentType, string titleText, string bodyText)
|
||||
{
|
||||
int num = 0;
|
||||
this.BOPFNBCHJJJ = contentType;
|
||||
this.NPMINNEILFC = titleText;
|
||||
this.KEGHCLNDCEI = num != 0;
|
||||
this.HLOLBMKJFOM = bodyText;
|
||||
this.EAGAADGPCKK = "Ok";
|
||||
this.JNOEEGDBCJB = num != 0;
|
||||
this.NGLHJIOMKBG = "";
|
||||
}
|
||||
|
||||
// Token: 0x04007DB8 RID: 32184
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4007DB8")]
|
||||
public TMP_InputField.ContentType KCKBKEKAMDF;
|
||||
|
||||
// Token: 0x04007DB9 RID: 32185
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4007DB9")]
|
||||
public string AIKLPOJAIIO;
|
||||
|
||||
// Token: 0x04007DBA RID: 32186
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007DBA")]
|
||||
public string BOPFNBCHJJJ;
|
||||
|
||||
// Token: 0x04007DBB RID: 32187
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007DBB")]
|
||||
public string NPMINNEILFC;
|
||||
|
||||
// Token: 0x04007DBC RID: 32188
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007DBC")]
|
||||
public EBPEIAPPJJK HLOLBMKJFOM;
|
||||
|
||||
// Token: 0x04007DBD RID: 32189
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4007DBD")]
|
||||
public string NGLHJIOMKBG;
|
||||
|
||||
// Token: 0x04007DBE RID: 32190
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4007DBE")]
|
||||
public bool KEGHCLNDCEI;
|
||||
|
||||
// Token: 0x04007DBF RID: 32191
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x34")]
|
||||
[Token(Token = "0x4007DBF")]
|
||||
public int DIDPKDLHNBN;
|
||||
|
||||
// Token: 0x04007DC0 RID: 32192
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4007DC0")]
|
||||
public BaseTextInputUIDialog<TextInputUIDialog.NIPOGEDPMOA, TextInputUIDialog.KDJGEIICAJL>.KNPPNPLFCAD EAGAADGPCKK;
|
||||
|
||||
// Token: 0x04007DC1 RID: 32193
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4007DC1")]
|
||||
public bool JNOEEGDBCJB;
|
||||
}
|
||||
|
||||
// Token: 0x02001BAD RID: 7085
|
||||
[Token(Token = "0x2001BAD")]
|
||||
public struct KDJGEIICAJL
|
||||
{
|
||||
// Token: 0x04007DC2 RID: 32194
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4007DC2")]
|
||||
public string FJAJKCKLJDN;
|
||||
|
||||
// Token: 0x04007DC3 RID: 32195
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4007DC3")]
|
||||
public JPIJGHNNIDP FKNOPGEADKO;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user