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: 0x02000346 RID: 838
|
|
[Token(Token = "0x2000346")]
|
|
public class CustomKOEffect : MonoBehaviour
|
|
{
|
|
// Token: 0x17000470 RID: 1136
|
|
// (get) Token: 0x060019D9 RID: 6617 RVA: 0x00068FB0 File Offset: 0x000671B0
|
|
// (set) Token: 0x060019DA RID: 6618 RVA: 0x00068FC4 File Offset: 0x000671C4
|
|
[Token(Token = "0x17000470")]
|
|
public Image DJBEHGKKJGF
|
|
{
|
|
[Token(Token = "0x60019D9")]
|
|
[Address(RVA = "0x3F63D0", Offset = "0x3F51D0", VA = "0x1803F63D0")]
|
|
get;
|
|
[Token(Token = "0x60019DA")]
|
|
[Address(RVA = "0x5329E0", Offset = "0x5317E0", VA = "0x1805329E0")]
|
|
private set;
|
|
}
|
|
|
|
// Token: 0x060019DB RID: 6619 RVA: 0x00068FD8 File Offset: 0x000671D8
|
|
[Token(Token = "0x60019DB")]
|
|
[Address(RVA = "0x10EA400", Offset = "0x10E9200", VA = "0x1810EA400")]
|
|
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: 0x060019DC RID: 6620 RVA: 0x00069024 File Offset: 0x00067224
|
|
[Token(Token = "0x60019DC")]
|
|
[Address(RVA = "0x10EA5C0", Offset = "0x10E93C0", VA = "0x1810EA5C0")]
|
|
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: 0x060019DD RID: 6621 RVA: 0x000690F4 File Offset: 0x000672F4
|
|
[Token(Token = "0x60019DD")]
|
|
[Address(RVA = "0x10EA480", Offset = "0x10E9280", VA = "0x1810EA480")]
|
|
private IEnumerator MFOGGHKDHEK()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060019DD)
|
|
|
|
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: 0x060019DE RID: 6622 RVA: 0x00069118 File Offset: 0x00067318
|
|
[Token(Token = "0x60019DE")]
|
|
[Address(RVA = "0x10EA4E0", Offset = "0x10E92E0", VA = "0x1810EA4E0")]
|
|
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: 0x060019DF RID: 6623 RVA: 0x00069188 File Offset: 0x00067388
|
|
[Token(Token = "0x60019DF")]
|
|
[Address(RVA = "0xAAB840", Offset = "0xAAA640", VA = "0x180AAB840")]
|
|
public CustomKOEffect()
|
|
{
|
|
}
|
|
|
|
// Token: 0x040013C5 RID: 5061
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40013C5")]
|
|
[SerializeField]
|
|
private float delayTimeBeforeThrob = 0.5f;
|
|
|
|
// Token: 0x040013C6 RID: 5062
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40013C6")]
|
|
private ThrobbingUIElement BIBOEMIFAKF;
|
|
|
|
// Token: 0x040013C7 RID: 5063
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40013C7")]
|
|
private ParticleSystem[] KMIJGGLMOFM;
|
|
|
|
// Token: 0x040013C8 RID: 5064
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40013C8")]
|
|
private Animator LDOJFIEANFB;
|
|
|
|
// Token: 0x040013CA RID: 5066
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x40013CA")]
|
|
private Coroutine HEDLJLKHION;
|
|
}
|