From 9849ca2a9801c4839cca45186acb42fe4e8afcc3 Mon Sep 17 00:00:00 2001 From: Yoshi Askharoun Date: Sun, 20 Jul 2025 09:44:26 -0500 Subject: [PATCH] Update Iris --- libs/MicrosoftIris | 2 +- libs/UIX.DecompXml/Decompiler.cs | 12 ++---------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/libs/MicrosoftIris b/libs/MicrosoftIris index 1667d35..13d2fc6 160000 --- a/libs/MicrosoftIris +++ b/libs/MicrosoftIris @@ -1 +1 @@ -Subproject commit 1667d353c2d05365fdf6cfc118bc7b16386935ca +Subproject commit 13d2fc640b3c818584fcbb422648f3ba72d0c465 diff --git a/libs/UIX.DecompXml/Decompiler.cs b/libs/UIX.DecompXml/Decompiler.cs index dfac9b4..1417d91 100644 --- a/libs/UIX.DecompXml/Decompiler.cs +++ b/libs/UIX.DecompXml/Decompiler.cs @@ -168,11 +168,7 @@ public partial class Decompiler var newPropValue = stack.Pop(); var target = stack.Pop(); - var xTarget = ToXmlFriendlyObject(target) as XElement; - if (xTarget is null) - { - - } + var xTarget = (XElement)ToXmlFriendlyObject(target); PropertyAssignOnXElement(xTarget, propertyToInit, IrisObject.Create(newPropValue, propertyToInit.PropertyType, _context)); @@ -190,11 +186,7 @@ public partial class Decompiler .FirstOrDefault(s => s.Name == key)? .Type; - var targetInstance = stack.Peek() as XElement; - if (targetInstance is null) - { - - } + var targetInstance = (XElement)stack.Peek(); PropertyDictionaryAddOnXElement(targetInstance, targetDictProperty, IrisObject.Create(dictValue, dictValueType, _context), key); break;