Hey,
I don't know if this is usefull for someone.
This is a little program for getting the structures out of the SWF.
I'll release it open source, because it's still a little bit buggy with getting loops or new objects.
Hopefully someone can go further with this:ott1:
http://puu.sh/axRWn/dacaafec74.png
http://puu.sh/ayDWY/7f33c9f72b.png
This isn't really great code, I made this in 1 hour..PHP Code:internal void FillHeader()
{
var Operation = Parallel.ForEach(Lines, (line, option) =>
{
bool match = Regex.IsMatch(line, "\\[[0-9]*\\]");
if (match && line.Contains(Program.ComposerNamespace))
{
try
{
line = line.Replace(" ", "");
int Header = int.Parse(line.Split('[')[1].Split(']')[0]);
string Class = line.Split('=')[1].Split(';')[0];
if (Header > 0 && Class != String.Empty)
{
HeaderWithClasses.Add(Header, Class);
}
}
catch{ }
}
});
if (Operation.IsCompleted)
{
Console.WriteLine("Found {0} headers to work with..", HeaderWithClasses.Count);
}
}
(To download the latest version go to the git: https://github.com/EmGeneer/Updater)
Download: https://mega.co.nz/#!ORpn3IYb!9jy-YR...aHk5QBk_caDCcE
------------------------------------------------------------------------------------------------------- UPDATEDQuote:
Quote:
https://github.com/EmGeneer/Updater
I added the automatic detection for the function names :)
http://puu.sh/aAeXd/4539a03a5f.png
-Emerica

