mirror of
https://github.com/ZuneDev/ZuneUIXTools.git
synced 2026-07-27 13:11:59 -07:00
Enable decompilation of Locals block
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-16"?>
|
||||
<UIX xmlns="http://schemas.microsoft.com/2007/uix">
|
||||
<UIX xmlns="http://schemas.microsoft.com/2007/uix" xmlns:signInDialog="res://ZuneShellResources!SignInDialog.uix" xmlns:schema="res://ZuneShellResources!LibraryData.schema.xml">
|
||||
<Class Name="AddToCollection">
|
||||
<Properties>
|
||||
<List List="{null}" Name="Items" />
|
||||
@@ -7,5 +7,13 @@
|
||||
<Command Name="Start" />
|
||||
<Command Command="{null}" Name="OnSuccess" />
|
||||
</Properties>
|
||||
<Locals>
|
||||
<signInDialog:SignInDialog SignInDialog="{null}" Name="SignInDialog" />
|
||||
<Command Name="BuildAddListPhase" />
|
||||
<Command Name="AddPhase" />
|
||||
<List Name="AddList" />
|
||||
<schema:LibraryPlaylistContentQuery Enabled="false" Name="Query" />
|
||||
<Boolean Boolean="false" Name="ContentNotInLibrary" />
|
||||
</Locals>
|
||||
</Class>
|
||||
</UIX>
|
||||
Reference in New Issue
Block a user