Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +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: 0x020006CC RID: 1740
[Token(Token = "0x20006CC")]
public class SubscreenControl : MonoBehaviour
{
// Token: 0x1400008F RID: 143
// (add) Token: 0x0600331D RID: 13085 RVA: 0x000D00E0 File Offset: 0x000CE2E0
// (remove) Token: 0x0600331E RID: 13086 RVA: 0x000D0108 File Offset: 0x000CE308
[Token(Token = "0x1400008F")]
public event SubscreenControl.MKNMDALPANG GHBAJCIEIPD
{
[Token(Token = "0x600331D")]
[Address(RVA = "0x1479D50", Offset = "0x1478D50", VA = "0x181479D50")]
[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 = "0x600331E")]
[Address(RVA = "0x1479DF0", Offset = "0x1478DF0", VA = "0x181479DF0")]
[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: 0x170008B7 RID: 2231
// (get) Token: 0x0600331F RID: 13087 RVA: 0x000D0130 File Offset: 0x000CE330
// (set) Token: 0x06003320 RID: 13088 RVA: 0x000D0144 File Offset: 0x000CE344
[Token(Token = "0x170008B7")]
public Subscreen NODNOKOOMOH
{
[Token(Token = "0x600331F")]
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
get;
[Token(Token = "0x6003320")]
[Address(RVA = "0x415810", Offset = "0x414810", VA = "0x180415810")]
private set;
}
// Token: 0x170008B8 RID: 2232
// (get) Token: 0x06003321 RID: 13089 RVA: 0x000D0158 File Offset: 0x000CE358
[Token(Token = "0x170008B8")]
public IEnumerable<Subscreen> OOPNKKFDMCN
{
[Token(Token = "0x6003321")]
[Address(RVA = "0x41CEF0", Offset = "0x41BEF0", VA = "0x18041CEF0")]
get
{
/*
An exception occurred when decompiling this method (06003321)
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: 0x06003322 RID: 13090 RVA: 0x000D016C File Offset: 0x000CE36C
[Token(Token = "0x6003322")]
[Address(RVA = "0x14792C0", Offset = "0x14782C0", VA = "0x1814792C0")]
private void Awake()
{
this.EPIGLEFHMAF();
}
// Token: 0x06003323 RID: 13091 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6003323")]
[Address(RVA = "0x14792D0", Offset = "0x14782D0", VA = "0x1814792D0")]
private void EPIGLEFHMAF()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06003324 RID: 13092 RVA: 0x000D0180 File Offset: 0x000CE380
[Token(Token = "0x6003324")]
[Address(RVA = "0x1479750", Offset = "0x1478750", VA = "0x181479750")]
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: 0x06003325 RID: 13093 RVA: 0x000D01EC File Offset: 0x000CE3EC
[Token(Token = "0x6003325")]
[Address(RVA = "0x1479990", Offset = "0x1478990", VA = "0x181479990")]
private void OnDestroy()
{
StackedUIFlowBase alacojjolnb = this.ALACOJJOLNB;
Action action = new Action(this.FLGNEHLNBFC);
alacojjolnb.IOLMOENNJEJ -= action;
}
// Token: 0x06003326 RID: 13094 RVA: 0x000D021C File Offset: 0x000CE41C
[Token(Token = "0x6003326")]
[Address(RVA = "0x1479A10", Offset = "0x1478A10", VA = "0x181479A10")]
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: 0x06003327 RID: 13095 RVA: 0x000D0260 File Offset: 0x000CE460
[Token(Token = "0x6003327")]
[Address(RVA = "0x14794B0", Offset = "0x14784B0", VA = "0x1814794B0")]
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: 0x06003328 RID: 13096 RVA: 0x000D0344 File Offset: 0x000CE544
[Token(Token = "0x6003328")]
[Address(RVA = "0x1479AA0", Offset = "0x1478AA0", VA = "0x181479AA0")]
public void ShowDefaultSubscreen()
{
Subscreen hbkknjjkbkm = this.HBKKNJJKBKM;
int num = 0;
if (hbkknjjkbkm != num)
{
Subscreen hbkknjjkbkm2 = this.HBKKNJJKBKM;
this.ShowSubscreen(hbkknjjkbkm2);
}
}
// Token: 0x06003329 RID: 13097 RVA: 0x000D0374 File Offset: 0x000CE574
[Token(Token = "0x6003329")]
[Address(RVA = "0x1479B20", Offset = "0x1478B20", VA = "0x181479B20")]
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: 0x0600332A RID: 13098 RVA: 0x000D0458 File Offset: 0x000CE658
[Token(Token = "0x600332A")]
[Address(RVA = "0x415830", Offset = "0x414830", VA = "0x180415830")]
public void SetDefaultSubscreen(Subscreen LFLLJPJKCGM)
{
this.HBKKNJJKBKM = LFLLJPJKCGM;
}
// Token: 0x0600332B RID: 13099 RVA: 0x000D046C File Offset: 0x000CE66C
[Token(Token = "0x600332B")]
[Address(RVA = "0x1479CF0", Offset = "0x1478CF0", VA = "0x181479CF0")]
public SubscreenControl()
{
List<Subscreen> list = new List();
this.KIGGODIFLLA = list;
base..ctor();
}
// Token: 0x04002A38 RID: 10808
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4002A38")]
private StackedUIFlowBase ALACOJJOLNB;
// Token: 0x04002A39 RID: 10809
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4002A39")]
private Subscreen HBKKNJJKBKM;
// Token: 0x04002A3A RID: 10810
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4002A3A")]
private readonly List<Subscreen> KIGGODIFLLA;
// Token: 0x04002A3B RID: 10811
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x4002A3B")]
private bool PPDKDPJEHNN;
// Token: 0x020006CD RID: 1741
[Token(Token = "0x20006CD")]
public sealed class MKNMDALPANG : MulticastDelegate
{
// Token: 0x0600332C RID: 13100 RVA: 0x000D048C File Offset: 0x000CE68C
[Token(Token = "0x600332C")]
[Address(RVA = "0x4AF020", Offset = "0x4AE020", VA = "0x1804AF020")]
public MKNMDALPANG(object FEDFKKMABOG, IntPtr APAICGIHAGJ)
{
this.method = APAICGIHAGJ;
this.m_target = FEDFKKMABOG;
}
// Token: 0x0600332D RID: 13101 RVA: 0x000D04A8 File Offset: 0x000CE6A8
[Token(Token = "0x600332D")]
[Address(RVA = "0x52CCA0", Offset = "0x52BCA0", VA = "0x18052CCA0", Slot = "13")]
public void Invoke(Subscreen HCOJNNIMBLF, Subscreen JDAMOBPBIFO)
{
if (this.delegates != 0)
{
}
uint num;
if (num != (uint)0)
{
throw new ExecutionEngineException();
}
}
// Token: 0x0600332E RID: 13102 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x600332E")]
[Address(RVA = "0x52CC60", Offset = "0x52BC60", VA = "0x18052CC60", 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: 0x0600332F RID: 13103 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x600332F")]
[Address(RVA = "0x4F56B0", Offset = "0x4F46B0", VA = "0x1804F56B0", Slot = "15")]
public void EndInvoke(IAsyncResult GIAOBLMEMMI)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
}