Files
2026-04-08 23:40:05 +02:00

171 lines
7.0 KiB
C#

using System;
using System.Collections;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using UnityEngine;
using UnityEngine.UI;
// Token: 0x0200035D RID: 861
[Token(Token = "0x200035D")]
[StructLayout(3)]
public class CustomKOEffect : MonoBehaviour
{
// Token: 0x17000454 RID: 1108
// (get) Token: 0x06001A0C RID: 6668 RVA: 0x0006BF30 File Offset: 0x0006A130
// (set) Token: 0x06001A0D RID: 6669 RVA: 0x0006BF44 File Offset: 0x0006A144
[Token(Token = "0x17000454")]
public Image DJBEHGKKJGF
{
[Token(Token = "0x6001A0C")]
[Address(RVA = "0x3EE8E0", Offset = "0x3ED2E0", VA = "0x1803EE8E0")]
get;
[Token(Token = "0x6001A0D")]
[Address(RVA = "0x421E00", Offset = "0x420800", VA = "0x180421E00")]
private set;
}
// Token: 0x06001A0E RID: 6670 RVA: 0x0006BF58 File Offset: 0x0006A158
[Token(Token = "0x6001A0E")]
[Address(RVA = "0x1B08380", Offset = "0x1B06D80", VA = "0x181B08380")]
private void Awake()
{
Image componentInChildren = base.GetComponentInChildren<Image>(true);
this.<KIAMEICGNPB>k__BackingField = componentInChildren;
ThrobbingUIElement componentInChildren2 = base.GetComponentInChildren<ThrobbingUIElement>(true);
this.BIBOEMIFAKF = componentInChildren2;
ParticleSystem[] componentsInChildren = base.GetComponentsInChildren<ParticleSystem>(true);
this.KMIJGGLMOFM = componentsInChildren;
Animator componentInChildren3 = base.GetComponentInChildren<Animator>(true);
this.LDOJFIEANFB = componentInChildren3;
}
// Token: 0x06001A0F RID: 6671 RVA: 0x0006BFA4 File Offset: 0x0006A1A4
[Token(Token = "0x6001A0F")]
[Address(RVA = "0x1B08540", Offset = "0x1B06F40", VA = "0x181B08540")]
private void OnEnable()
{
ThrobbingUIElement biboemifakf = this.BIBOEMIFAKF;
int num = 0;
bool flag = biboemifakf != num;
int num2 = 0;
if (flag)
{
Animator ldojfieanfb = this.LDOJFIEANFB;
int num3 = 0;
bool flag2 = ldojfieanfb != num3;
ThrobbingUIElement biboemifakf2 = this.BIBOEMIFAKF;
if (!flag2)
{
biboemifakf2.BCKCEELIDLH = true;
}
int num4 = 0;
biboemifakf2.BCKCEELIDLH = num4 != 0;
Coroutine hedljlkhion = this.HEDLJLKHION;
if (hedljlkhion != 0)
{
base.StopCoroutine(hedljlkhion);
}
CustomKOEffect.BFJJFEMHCAO bfjjfemhcao;
bfjjfemhcao.System.IDisposable.Dispose();
bfjjfemhcao.<>1__state = num2;
bfjjfemhcao.<>4__this = this;
Coroutine coroutine = base.StartCoroutine(bfjjfemhcao);
this.HEDLJLKHION = coroutine;
}
ParticleSystem[] kmijgglmofm = this.KMIJGGLMOFM;
if (kmijgglmofm != 0 && num2 < kmijgglmofm.Length)
{
kmijgglmofm[num2].Play();
ParticleSystem[] kmijgglmofm2 = this.KMIJGGLMOFM;
num2++;
}
}
// Token: 0x06001A10 RID: 6672 RVA: 0x0006C074 File Offset: 0x0006A274
[Token(Token = "0x6001A10")]
[Address(RVA = "0x1B08400", Offset = "0x1B06E00", VA = "0x181B08400")]
private IEnumerator MFOGGHKDHEK()
{
/*
An exception occurred when decompiling this method (06001A10)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator CustomKOEffect::MFOGGHKDHEK()
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
call:void(BFJJFEMHCAO::System.IDisposable.Dispose, ldloc:BFJJFEMHCAO(var_0))
stfld:int32(BFJJFEMHCAO::<>1__state, ldloc:BFJJFEMHCAO(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
stfld:CustomKOEffect(BFJJFEMHCAO::<>4__this, ldloc:BFJJFEMHCAO(var_0), ldloc:CustomKOEffect(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: 0x06001A11 RID: 6673 RVA: 0x0006C098 File Offset: 0x0006A298
[Token(Token = "0x6001A11")]
[Address(RVA = "0x1B08460", Offset = "0x1B06E60", VA = "0x181B08460")]
private void OnDisable()
{
ThrobbingUIElement biboemifakf = this.BIBOEMIFAKF;
int num = 0;
if (biboemifakf != num)
{
ThrobbingUIElement biboemifakf2 = this.BIBOEMIFAKF;
int num2 = 0;
biboemifakf2.BCKCEELIDLH = num2 != 0;
}
ParticleSystem[] kmijgglmofm = this.KMIJGGLMOFM;
if (kmijgglmofm != 0)
{
int num3 = 0;
if (num3 < kmijgglmofm.Length)
{
kmijgglmofm[num3].Stop();
ParticleSystem[] kmijgglmofm2 = this.KMIJGGLMOFM;
num3++;
}
}
}
// Token: 0x06001A12 RID: 6674 RVA: 0x0006C108 File Offset: 0x0006A308
[Token(Token = "0x6001A12")]
[Address(RVA = "0x11647C0", Offset = "0x11631C0", VA = "0x1811647C0")]
public CustomKOEffect()
{
}
// Token: 0x0400144B RID: 5195
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x400144B")]
[SerializeField]
private float delayTimeBeforeThrob = 0.5f;
// Token: 0x0400144C RID: 5196
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x400144C")]
private ThrobbingUIElement BIBOEMIFAKF;
// Token: 0x0400144D RID: 5197
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x400144D")]
private ParticleSystem[] KMIJGGLMOFM;
// Token: 0x0400144E RID: 5198
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x400144E")]
private Animator LDOJFIEANFB;
// Token: 0x04001450 RID: 5200
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x4001450")]
private Coroutine HEDLJLKHION;
}