Enable decompilation of Locals block

This commit is contained in:
Yoshi Askharoun
2025-07-18 20:01:49 -05:00
parent b72918726b
commit e9c75074ee
2 changed files with 16 additions and 1 deletions
+7
View File
@@ -54,6 +54,9 @@ public partial class Decompiler
if (export.InitializePropertiesOffset is not uint.MaxValue)
AnalyzeMethodForInit(export.InitializePropertiesOffset, xExport, export, name + "_prop");
if (export.InitializeLocalsInputOffset is not uint.MaxValue)
AnalyzeMethodForInit(export.InitializeLocalsInputOffset, xExport, export, name + "_locl");
if (export.InitialEvaluateOffsets is { Length: > 0 })
{
XElement xScripts = new(_nsUix + "Scripts");
@@ -205,6 +208,10 @@ public partial class Decompiler
PropertyListAddOnXElement(targetInstance2, targetListProperty, IrisObject.Create(valueToAdd, null, _context));
break;
case OpCode.ConstructListenerStorage:
var listenerCount = (ushort)instruction.Operands.First().Value;
break;
}
}
catch (Exception ex)