169 lines
6.9 KiB
C#
169 lines
6.9 KiB
C#
using System;
|
|
using System.Collections;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
// Token: 0x02000350 RID: 848
|
|
[Token(Token = "0x2000350")]
|
|
public class CustomKOEffect : MonoBehaviour
|
|
{
|
|
// Token: 0x1700047B RID: 1147
|
|
// (get) Token: 0x06001A50 RID: 6736 RVA: 0x00069F1C File Offset: 0x0006811C
|
|
// (set) Token: 0x06001A51 RID: 6737 RVA: 0x00069F30 File Offset: 0x00068130
|
|
[Token(Token = "0x1700047B")]
|
|
public Image DJBEHGKKJGF
|
|
{
|
|
[Token(Token = "0x6001A50")]
|
|
[Address(RVA = "0x41CEF0", Offset = "0x41BEF0", VA = "0x18041CEF0")]
|
|
get;
|
|
[Token(Token = "0x6001A51")]
|
|
[Address(RVA = "0x41CFF0", Offset = "0x41BFF0", VA = "0x18041CFF0")]
|
|
private set;
|
|
}
|
|
|
|
// Token: 0x06001A52 RID: 6738 RVA: 0x00069F44 File Offset: 0x00068144
|
|
[Token(Token = "0x6001A52")]
|
|
[Address(RVA = "0x1C57C20", Offset = "0x1C56C20", VA = "0x181C57C20")]
|
|
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: 0x06001A53 RID: 6739 RVA: 0x00069F90 File Offset: 0x00068190
|
|
[Token(Token = "0x6001A53")]
|
|
[Address(RVA = "0x1C57DE0", Offset = "0x1C56DE0", VA = "0x181C57DE0")]
|
|
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: 0x06001A54 RID: 6740 RVA: 0x0006A060 File Offset: 0x00068260
|
|
[Token(Token = "0x6001A54")]
|
|
[Address(RVA = "0x1C57CA0", Offset = "0x1C56CA0", VA = "0x181C57CA0")]
|
|
private IEnumerator MFOGGHKDHEK()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06001A54)
|
|
|
|
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: 0x06001A55 RID: 6741 RVA: 0x0006A084 File Offset: 0x00068284
|
|
[Token(Token = "0x6001A55")]
|
|
[Address(RVA = "0x1C57D00", Offset = "0x1C56D00", VA = "0x181C57D00")]
|
|
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: 0x06001A56 RID: 6742 RVA: 0x0006A0F4 File Offset: 0x000682F4
|
|
[Token(Token = "0x6001A56")]
|
|
[Address(RVA = "0xE22770", Offset = "0xE21770", VA = "0x180E22770")]
|
|
public CustomKOEffect()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04001417 RID: 5143
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4001417")]
|
|
[SerializeField]
|
|
private float delayTimeBeforeThrob = 0.5f;
|
|
|
|
// Token: 0x04001418 RID: 5144
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4001418")]
|
|
private ThrobbingUIElement BIBOEMIFAKF;
|
|
|
|
// Token: 0x04001419 RID: 5145
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4001419")]
|
|
private ParticleSystem[] KMIJGGLMOFM;
|
|
|
|
// Token: 0x0400141A RID: 5146
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400141A")]
|
|
private Animator LDOJFIEANFB;
|
|
|
|
// Token: 0x0400141C RID: 5148
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400141C")]
|
|
private Coroutine HEDLJLKHION;
|
|
}
|