m
This commit is contained in:
@@ -0,0 +1,273 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using RRUI.Data;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace RRUI
|
||||
{
|
||||
// Token: 0x02000802 RID: 2050
|
||||
[Token(Token = "0x2000802")]
|
||||
public class RouterRoundedCornersInheritor : MonoBehaviour
|
||||
{
|
||||
// Token: 0x17000A14 RID: 2580
|
||||
// (get) Token: 0x060039DD RID: 14813 RVA: 0x000EEFE4 File Offset: 0x000ED1E4
|
||||
[Token(Token = "0x17000A14")]
|
||||
private bool FBLEJONFPAK
|
||||
{
|
||||
[Token(Token = "0x60039DD")]
|
||||
[Address(RVA = "0x159EA90", Offset = "0x159DA90", VA = "0x18159EA90")]
|
||||
get
|
||||
{
|
||||
RoundedCorners roundedCorners = this._roundedCorners;
|
||||
int num = 0;
|
||||
if (!(roundedCorners != num))
|
||||
{
|
||||
return;
|
||||
}
|
||||
RectTransform eeaafcijjma = this.EEAAFCIJJMA;
|
||||
int num2 = 0;
|
||||
if (!(eeaafcijjma != num2))
|
||||
{
|
||||
return;
|
||||
}
|
||||
RectTransform abahgjacibb = this.ABAHGJACIBB;
|
||||
int num3 = 0;
|
||||
if (abahgjacibb != num3)
|
||||
{
|
||||
RoundedCorners ikmlnoimaan = this.IKMLNOIMAAN;
|
||||
int num4 = 0;
|
||||
return ikmlnoimaan != num4;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060039DE RID: 14814 RVA: 0x000EF048 File Offset: 0x000ED248
|
||||
[Token(Token = "0x60039DE")]
|
||||
[Address(RVA = "0x159ECA0", Offset = "0x159DCA0", VA = "0x18159ECA0")]
|
||||
private void OnEnable()
|
||||
{
|
||||
Action action = new Action(this.DCCBNDIOOGE);
|
||||
KFBABPAPIMB kfbabpapimb = this.JGIPMJPPCBM(action);
|
||||
}
|
||||
|
||||
// Token: 0x060039DF RID: 14815 RVA: 0x000EF06C File Offset: 0x000ED26C
|
||||
[Token(Token = "0x60039DF")]
|
||||
[Address(RVA = "0x159EBA0", Offset = "0x159DBA0", VA = "0x18159EBA0")]
|
||||
private void OFFBIKPMOMB()
|
||||
{
|
||||
if (!this.MFBIIAEFGPM)
|
||||
{
|
||||
Transform transform = base.transform;
|
||||
int num = 0;
|
||||
if (transform != 0)
|
||||
{
|
||||
}
|
||||
this.EEAAFCIJJMA = num;
|
||||
Router componentInParent = base.GetComponentInParent<Router>();
|
||||
int num2 = 0;
|
||||
if (!(componentInParent == num2))
|
||||
{
|
||||
Transform transform2 = componentInParent.transform;
|
||||
if (transform2 != 0)
|
||||
{
|
||||
}
|
||||
this.ABAHGJACIBB = transform2;
|
||||
RoundedCorners component = componentInParent.GetComponent<RoundedCorners>();
|
||||
this.IKMLNOIMAAN = component;
|
||||
this.MFBIIAEFGPM = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060039E0 RID: 14816 RVA: 0x000EF0DC File Offset: 0x000ED2DC
|
||||
[Token(Token = "0x60039E0")]
|
||||
[Address(RVA = "0x159E0E0", Offset = "0x159D0E0", VA = "0x18159E0E0")]
|
||||
private void DCCBNDIOOGE()
|
||||
{
|
||||
int num = 0;
|
||||
if ((this.MFBIIAEFGPM ? 1 : 0) == num)
|
||||
{
|
||||
if (base.transform != 0)
|
||||
{
|
||||
}
|
||||
this.EEAAFCIJJMA = num;
|
||||
Router componentInParent = base.GetComponentInParent<Router>();
|
||||
int num2 = 0;
|
||||
if (!(componentInParent == num2))
|
||||
{
|
||||
Transform transform = componentInParent.transform;
|
||||
if (transform != 0)
|
||||
{
|
||||
}
|
||||
this.ABAHGJACIBB = transform;
|
||||
RoundedCorners component = componentInParent.GetComponent<RoundedCorners>();
|
||||
this.IKMLNOIMAAN = component;
|
||||
this.MFBIIAEFGPM = true;
|
||||
}
|
||||
}
|
||||
RoundedCorners roundedCorners = this._roundedCorners;
|
||||
int num3 = 0;
|
||||
if (roundedCorners != num3)
|
||||
{
|
||||
RectTransform eeaafcijjma = this.EEAAFCIJJMA;
|
||||
int num4 = 0;
|
||||
if (eeaafcijjma != num4)
|
||||
{
|
||||
RectTransform abahgjacibb = this.ABAHGJACIBB;
|
||||
int num5 = 0;
|
||||
if (abahgjacibb != num5)
|
||||
{
|
||||
RoundedCorners ikmlnoimaan = this.IKMLNOIMAAN;
|
||||
int num6 = 0;
|
||||
if (ikmlnoimaan != num6)
|
||||
{
|
||||
RoundedCorners ikmlnoimaan2 = this.IKMLNOIMAAN;
|
||||
RoundedCorners roundedCorners2 = this._roundedCorners;
|
||||
float radius = ikmlnoimaan2.JEKIFEIBKJO;
|
||||
roundedCorners2.radius = radius;
|
||||
Graphic graphic = roundedCorners2.graphic;
|
||||
int num7 = 0;
|
||||
if (graphic != num7)
|
||||
{
|
||||
roundedCorners2.graphic.SetLayoutDirty();
|
||||
}
|
||||
RectTransform eeaafcijjma2 = this.EEAAFCIJJMA;
|
||||
Vector3[] ghecmnepnpn = RouterRoundedCornersInheritor.GHECMNEPNPN;
|
||||
eeaafcijjma2.GetLocalCorners(ghecmnepnpn);
|
||||
Vector3[] ghecmnepnpn2 = RouterRoundedCornersInheritor.GHECMNEPNPN;
|
||||
if (num < ghecmnepnpn2.Length)
|
||||
{
|
||||
Vector3[] ghecmnepnpn3 = RouterRoundedCornersInheritor.GHECMNEPNPN;
|
||||
RectTransform eeaafcijjma3 = this.EEAAFCIJJMA;
|
||||
Vector3 vector;
|
||||
float z = vector.z;
|
||||
ghecmnepnpn3[1] = z;
|
||||
Vector3[] ghecmnepnpn4 = RouterRoundedCornersInheritor.GHECMNEPNPN;
|
||||
RectTransform abahgjacibb2 = this.ABAHGJACIBB;
|
||||
Vector3 vector2;
|
||||
float z2 = vector2.z;
|
||||
ghecmnepnpn4[1] = z2;
|
||||
RouterRoundedCornersInheritor.GHECMNEPNPN[1] = num;
|
||||
num++;
|
||||
}
|
||||
RectTransform abahgjacibb3 = this.ABAHGJACIBB;
|
||||
Vector3[] lokelfhndaa = RouterRoundedCornersInheritor.LOKELFHNDAA;
|
||||
abahgjacibb3.GetLocalCorners(lokelfhndaa);
|
||||
Vector3[] lokelfhndaa2 = RouterRoundedCornersInheritor.LOKELFHNDAA;
|
||||
if (num < lokelfhndaa2.Length)
|
||||
{
|
||||
Vector3[] lokelfhndaa3 = RouterRoundedCornersInheritor.LOKELFHNDAA;
|
||||
num++;
|
||||
lokelfhndaa3[1] = num;
|
||||
}
|
||||
if (this.IKMLNOIMAAN.customCorners == 0)
|
||||
{
|
||||
}
|
||||
Vector3[] ghecmnepnpn5 = RouterRoundedCornersInheritor.GHECMNEPNPN;
|
||||
Vector3[] lokelfhndaa4 = RouterRoundedCornersInheritor.LOKELFHNDAA;
|
||||
if (this.IKMLNOIMAAN.IECNFDNCODF == (float)num)
|
||||
{
|
||||
}
|
||||
Vector3[] ghecmnepnpn6 = RouterRoundedCornersInheritor.GHECMNEPNPN;
|
||||
Vector3[] lokelfhndaa5 = RouterRoundedCornersInheritor.LOKELFHNDAA;
|
||||
if (this.IKMLNOIMAAN.customCorners == 0)
|
||||
{
|
||||
}
|
||||
Vector3[] ghecmnepnpn7 = RouterRoundedCornersInheritor.GHECMNEPNPN;
|
||||
Vector3[] lokelfhndaa6 = RouterRoundedCornersInheritor.LOKELFHNDAA;
|
||||
if (this.IKMLNOIMAAN.customCorners == 0)
|
||||
{
|
||||
}
|
||||
Vector3[] ghecmnepnpn8 = RouterRoundedCornersInheritor.GHECMNEPNPN;
|
||||
Vector3[] lokelfhndaa7 = RouterRoundedCornersInheritor.LOKELFHNDAA;
|
||||
RoundedCorners roundedCorners3 = this._roundedCorners;
|
||||
bool flag;
|
||||
roundedCorners3.customCorners = flag;
|
||||
Graphic graphic2 = roundedCorners3.graphic;
|
||||
int num8 = 0;
|
||||
if (graphic2 != num8)
|
||||
{
|
||||
roundedCorners3.graphic.SetLayoutDirty();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060039E1 RID: 14817 RVA: 0x000EF354 File Offset: 0x000ED554
|
||||
[Token(Token = "0x60039E1")]
|
||||
[Address(RVA = "0x159E010", Offset = "0x159D010", VA = "0x18159E010")]
|
||||
private bool BAHBPFFNNJO(Vector3 IPHIIJNAEON, Vector3 FOJLJNMAJLC)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (060039E1)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean RRUI.RouterRoundedCornersInheritor::BAHBPFFNNJO(UnityEngine.Vector3,UnityEngine.Vector3)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:float32(var_0_06, ldfld:float32(Vector3::z, ldloc:Vector3[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Vector3&](FOJLJNMAJLC)))
|
||||
stloc:float32(var_1_0D, ldfld:float32(Vector3::z, ldloc:Vector3[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Vector3&](IPHIIJNAEON)))
|
||||
stloc:float32(var_3_13, ldsfld:float32(RouterRoundedCornersInheritor::PMMNBABHMCC))
|
||||
}
|
||||
|
||||
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: 0x060039E2 RID: 14818 RVA: 0x000EF374 File Offset: 0x000ED574
|
||||
[Token(Token = "0x60039E2")]
|
||||
[Address(RVA = "0x428AD0", Offset = "0x427AD0", VA = "0x180428AD0")]
|
||||
public RouterRoundedCornersInheritor()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04003183 RID: 12675
|
||||
[Token(Token = "0x4003183")]
|
||||
private static readonly Vector3[] GHECMNEPNPN = new Vector3[4];
|
||||
|
||||
// Token: 0x04003184 RID: 12676
|
||||
[Token(Token = "0x4003184")]
|
||||
private static readonly Vector3[] LOKELFHNDAA = new Vector3[4];
|
||||
|
||||
// Token: 0x04003185 RID: 12677
|
||||
[Token(Token = "0x4003185")]
|
||||
private static readonly float PMMNBABHMCC;
|
||||
|
||||
// Token: 0x04003186 RID: 12678
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4003186")]
|
||||
[SerializeField]
|
||||
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
|
||||
private RoundedCorners _roundedCorners;
|
||||
|
||||
// Token: 0x04003187 RID: 12679
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4003187")]
|
||||
private RectTransform EEAAFCIJJMA;
|
||||
|
||||
// Token: 0x04003188 RID: 12680
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4003188")]
|
||||
private RectTransform ABAHGJACIBB;
|
||||
|
||||
// Token: 0x04003189 RID: 12681
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4003189")]
|
||||
private RoundedCorners IKMLNOIMAAN;
|
||||
|
||||
// Token: 0x0400318A RID: 12682
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400318A")]
|
||||
private bool MFBIIAEFGPM;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user