Files
Aug2021-Cpp2IL-Dump/Assembly-CSharp/SubscreenControl.cs
T
2026-04-10 22:50:51 +02:00

375 lines
12 KiB
C#

using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using AGUI.StackedUI;
using Cpp2IlInjected;
using UnityEngine;
// Token: 0x020006C1 RID: 1729
[Token(Token = "0x20006C1")]
public class SubscreenControl : MonoBehaviour
{
// Token: 0x1400008F RID: 143
// (add) Token: 0x06003298 RID: 12952 RVA: 0x000CF3F0 File Offset: 0x000CD5F0
// (remove) Token: 0x06003299 RID: 12953 RVA: 0x000CF418 File Offset: 0x000CD618
[Token(Token = "0x1400008F")]
public event SubscreenControl.MKNMDALPANG GHBAJCIEIPD
{
[Token(Token = "0x6003298")]
[Address(RVA = "0x981540", Offset = "0x980340", VA = "0x180981540")]
[CompilerGenerated]
add
{
SubscreenControl.MKNMDALPANG ghbajcieipd;
Delegate @delegate;
do
{
ghbajcieipd = this.GHBAJCIEIPD;
@delegate = Delegate.Combine(ghbajcieipd, value);
}
while (@delegate != 0 && @delegate == 0);
while (@delegate != ghbajcieipd)
{
}
}
[Token(Token = "0x6003299")]
[Address(RVA = "0x9815E0", Offset = "0x9803E0", VA = "0x1809815E0")]
[CompilerGenerated]
remove
{
SubscreenControl.MKNMDALPANG ghbajcieipd;
Delegate @delegate;
do
{
ghbajcieipd = this.GHBAJCIEIPD;
@delegate = Delegate.Remove(ghbajcieipd, value);
}
while (@delegate != 0 && @delegate == 0);
while (@delegate != ghbajcieipd)
{
}
}
}
// Token: 0x170008A5 RID: 2213
// (get) Token: 0x0600329A RID: 12954 RVA: 0x000CF440 File Offset: 0x000CD640
// (set) Token: 0x0600329B RID: 12955 RVA: 0x000CF454 File Offset: 0x000CD654
[Token(Token = "0x170008A5")]
public Subscreen NODNOKOOMOH
{
[Token(Token = "0x600329A")]
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
get;
[Token(Token = "0x600329B")]
[Address(RVA = "0x460F90", Offset = "0x45FD90", VA = "0x180460F90")]
private set;
}
// Token: 0x170008A6 RID: 2214
// (get) Token: 0x0600329C RID: 12956 RVA: 0x000CF468 File Offset: 0x000CD668
[Token(Token = "0x170008A6")]
public IEnumerable<Subscreen> OOPNKKFDMCN
{
[Token(Token = "0x600329C")]
[Address(RVA = "0x3F63D0", Offset = "0x3F51D0", VA = "0x1803F63D0")]
get
{
/*
An exception occurred when decompiling this method (0600329C)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerable`1<Subscreen> SubscreenControl::get_Subscreens()
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
stloc:class [mscorlib]System.Collections.Generic.List`1<class Subscreen>(var_0_06, ldfld:class [mscorlib]System.Collections.Generic.List`1<class Subscreen>(SubscreenControl::KIGGODIFLLA, ldloc:SubscreenControl(this)))
}
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: 0x0600329D RID: 12957 RVA: 0x000CF47C File Offset: 0x000CD67C
[Token(Token = "0x600329D")]
[Address(RVA = "0x980AB0", Offset = "0x97F8B0", VA = "0x180980AB0")]
private void Awake()
{
this.EPIGLEFHMAF();
}
// Token: 0x0600329E RID: 12958 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x600329E")]
[Address(RVA = "0x980AC0", Offset = "0x97F8C0", VA = "0x180980AC0")]
private void EPIGLEFHMAF()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600329F RID: 12959 RVA: 0x000CF490 File Offset: 0x000CD690
[Token(Token = "0x600329F")]
[Address(RVA = "0x980F40", Offset = "0x97FD40", VA = "0x180980F40")]
private void KGMDIBANBPP(Transform HICENEOPGOF)
{
int num;
do
{
num = 0;
IEnumerator enumerator = HICENEOPGOF.GetEnumerator();
bool flag;
if (enumerator != 0)
{
if (enumerator == 0)
{
goto IL_53;
}
Subscreen subscreen;
if (subscreen)
{
this.KIGGODIFLLA.Add(subscreen);
}
SubscreenControl subscreenControl;
flag = subscreenControl;
if (!flag)
{
}
subscreenControl.EPIGLEFHMAF();
}
if (flag)
{
}
}
while (num != 0);
return;
IL_53:
throw new NullReferenceException();
}
// Token: 0x060032A0 RID: 12960 RVA: 0x000CF4FC File Offset: 0x000CD6FC
[Token(Token = "0x60032A0")]
[Address(RVA = "0x981180", Offset = "0x97FF80", VA = "0x180981180")]
private void OnDestroy()
{
StackedUIFlowBase alacojjolnb = this.ALACOJJOLNB;
Action action = new Action(this.FLGNEHLNBFC);
alacojjolnb.IOLMOENNJEJ -= action;
}
// Token: 0x060032A1 RID: 12961 RVA: 0x000CF52C File Offset: 0x000CD72C
[Token(Token = "0x60032A1")]
[Address(RVA = "0x981200", Offset = "0x980000", VA = "0x180981200")]
private void OnEnable()
{
Subscreen subscreen = this.<KJIJOKAOPPM>k__BackingField;
int num = 0;
if (subscreen != num)
{
Subscreen subscreen2 = this.<KJIJOKAOPPM>k__BackingField;
if (subscreen2.updateButtonOnEnable)
{
subscreen2.Button.ForcePressed();
}
}
}
// Token: 0x060032A2 RID: 12962 RVA: 0x000CF570 File Offset: 0x000CD770
[Token(Token = "0x60032A2")]
[Address(RVA = "0x980CA0", Offset = "0x97FAA0", VA = "0x180980CA0")]
private void FLGNEHLNBFC()
{
int num;
do
{
num = 0;
Subscreen subscreen = this.<KJIJOKAOPPM>k__BackingField;
int num2 = 0;
if (!(subscreen == num2))
{
return;
}
Subscreen hbkknjjkbkm = this.HBKKNJJKBKM;
int num3 = 0;
if (!(hbkknjjkbkm != num3))
{
return;
}
Button3DBase button = this.HBKKNJJKBKM.Button;
int num4 = 0;
if (!(button != num4))
{
return;
}
List<Subscreen> kiggodiflla = this.KIGGODIFLLA;
bool flag;
if (flag)
{
GameObject gameObject = button.gameObject;
int num5 = 0;
gameObject.SetActive(num5 != 0);
}
}
while (num != 0);
this.HBKKNJJKBKM.Button.ForcePressed();
Subscreen subscreen2 = this.<KJIJOKAOPPM>k__BackingField;
int num6 = 0;
if (subscreen2 == num6)
{
Subscreen hbkknjjkbkm2 = this.HBKKNJJKBKM;
int num7 = 0;
if (hbkknjjkbkm2 != num7)
{
Subscreen hbkknjjkbkm3 = this.HBKKNJJKBKM;
this.ShowSubscreen(hbkknjjkbkm3);
}
}
}
// Token: 0x060032A3 RID: 12963 RVA: 0x000CF654 File Offset: 0x000CD854
[Token(Token = "0x60032A3")]
[Address(RVA = "0x981290", Offset = "0x980090", VA = "0x180981290")]
public void ShowDefaultSubscreen()
{
Subscreen hbkknjjkbkm = this.HBKKNJJKBKM;
int num = 0;
if (hbkknjjkbkm != num)
{
Subscreen hbkknjjkbkm2 = this.HBKKNJJKBKM;
this.ShowSubscreen(hbkknjjkbkm2);
}
}
// Token: 0x060032A4 RID: 12964 RVA: 0x000CF684 File Offset: 0x000CD884
[Token(Token = "0x60032A4")]
[Address(RVA = "0x981310", Offset = "0x980110", VA = "0x180981310")]
public void ShowSubscreen(Subscreen subscreen)
{
Subscreen subscreen2 = this.<KJIJOKAOPPM>k__BackingField;
if (subscreen != subscreen2)
{
Subscreen subscreen3 = this.<KJIJOKAOPPM>k__BackingField;
int num = 0;
if (subscreen3 != num)
{
GameObject gameObject = this.<KJIJOKAOPPM>k__BackingField.gameObject;
int num2 = 0;
gameObject.SetActive(num2 != 0);
Action<bool> oikeehedcgp = this.<KJIJOKAOPPM>k__BackingField.OIKEEHEDCGP;
if (oikeehedcgp != 0)
{
int num3 = 0;
oikeehedcgp(num3);
}
}
Subscreen subscreen4 = this.<KJIJOKAOPPM>k__BackingField;
this.<KJIJOKAOPPM>k__BackingField = subscreen;
subscreen.gameObject.SetActive(true);
Action<bool> oikeehedcgp2 = this.<KJIJOKAOPPM>k__BackingField.OIKEEHEDCGP;
if (oikeehedcgp2 != 0)
{
oikeehedcgp2(1);
}
Subscreen subscreen5 = this.<KJIJOKAOPPM>k__BackingField;
if (subscreen5.updateButtonOnEnable)
{
subscreen5.Button.ForcePressed();
}
SubscreenControl.MKNMDALPANG ghbajcieipd = this.GHBAJCIEIPD;
if (ghbajcieipd != 0)
{
Subscreen subscreen6 = this.<KJIJOKAOPPM>k__BackingField;
ghbajcieipd(subscreen4, subscreen6);
}
}
}
// Token: 0x060032A5 RID: 12965 RVA: 0x000CF768 File Offset: 0x000CD968
[Token(Token = "0x60032A5")]
[Address(RVA = "0x4437E0", Offset = "0x4425E0", VA = "0x1804437E0")]
public void SetDefaultSubscreen(Subscreen LFLLJPJKCGM)
{
this.HBKKNJJKBKM = LFLLJPJKCGM;
}
// Token: 0x060032A6 RID: 12966 RVA: 0x000CF77C File Offset: 0x000CD97C
[Token(Token = "0x60032A6")]
[Address(RVA = "0x9814E0", Offset = "0x9802E0", VA = "0x1809814E0")]
public SubscreenControl()
{
List<Subscreen> list = new List();
this.KIGGODIFLLA = list;
base..ctor();
}
// Token: 0x040029CF RID: 10703
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x40029CF")]
private StackedUIFlowBase ALACOJJOLNB;
// Token: 0x040029D0 RID: 10704
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x40029D0")]
private Subscreen HBKKNJJKBKM;
// Token: 0x040029D1 RID: 10705
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x40029D1")]
private readonly List<Subscreen> KIGGODIFLLA;
// Token: 0x040029D2 RID: 10706
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x40029D2")]
private bool PPDKDPJEHNN;
// Token: 0x020006C2 RID: 1730
[Token(Token = "0x20006C2")]
public sealed class MKNMDALPANG : MulticastDelegate
{
// Token: 0x060032A7 RID: 12967 RVA: 0x000CF79C File Offset: 0x000CD99C
[Token(Token = "0x60032A7")]
[Address(RVA = "0x448ED0", Offset = "0x447CD0", VA = "0x180448ED0")]
public MKNMDALPANG(object FEDFKKMABOG, IntPtr APAICGIHAGJ)
{
this.method = APAICGIHAGJ;
this.m_target = FEDFKKMABOG;
}
// Token: 0x060032A8 RID: 12968 RVA: 0x000CF7B8 File Offset: 0x000CD9B8
[Token(Token = "0x60032A8")]
[Address(RVA = "0x48FFD0", Offset = "0x48EDD0", VA = "0x18048FFD0", Slot = "13")]
public void Invoke(Subscreen HCOJNNIMBLF, Subscreen JDAMOBPBIFO)
{
if (this.delegates != 0)
{
}
uint num;
if (num != (uint)0)
{
throw new ExecutionEngineException();
}
}
// Token: 0x060032A9 RID: 12969 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x60032A9")]
[Address(RVA = "0x457420", Offset = "0x456220", VA = "0x180457420", Slot = "14")]
public IAsyncResult BeginInvoke(Subscreen HCOJNNIMBLF, Subscreen JDAMOBPBIFO, AsyncCallback AFLPGGJMPOE, object FEDFKKMABOG)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060032AA RID: 12970 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x60032AA")]
[Address(RVA = "0x448B70", Offset = "0x447970", VA = "0x180448B70", Slot = "15")]
public void EndInvoke(IAsyncResult GIAOBLMEMMI)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
}