JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

NEW : We have got a new blog where we post some interesting SWF internals info.

List of issuesList of issues

#340 Class too large to decompile.
Author: user layola
Date created:
Type: question
Visibility: Everybody
Assigned to:
State: closed Help

Class too large to decompile. hello ,I want to do something about unity3d gen swf(uniswf), but I got some issue is there is an a class call UnityNatic.as , according to some one said ,it's size is 78m be decompile , https://twitter.com/makc3d/statuses/150705673783607297‎ I use FF DEC and wait for almost 10 hours and noting to got . what I want to ask are there options to change the vm size ?or ..
Downloadeffect.swf (4,326 KiB)
user
Unity uses FlasCC-like fast memory opcodes while converting C++ to AS3 (very conversions rich process), so you'll not get clean as3 code after decompilation anyway.
user
You'll be able to see the original user code in somewhat clean state though (converted from C# or JS to as3) and it's not so huge in size as Unity3D engine usually. Just look at the global namespace. You don't need to decompile while Unity3D engine to see the user code.
user
Oops, sorry. FFDec doesn't see the global namespace. As well as many other as3 code there =(
user
because I want this swf can be work with such like starling engine here is what I post http://forum.unity3d.com/threads/194640-is-that-possible-work-with-starling-framework-toge ther-on-flash-platform
user
what I want is get the unityNative.as and add an line code to implement "sharecontext" property which Unity team did not provide.
developer
You can do the following: (- increase the memory limit in ffdec.bat or use ffdec64.bat) - Open your swf - In settings menu select Disable decompilation (Disassemble only) - Open UnityNative script - It loads after 1-2 minutes - Find your function, put the mouse cursor inside the function - You can see the decompiled instructions in the right textarea - Press Edit button in the right panel, and modify your function's AVM2 insructions It is unnecessary to decompile the whole class to AS, because you can't edit AS3 directly anyway. Is this solve your problem?
developer
Closed due to inactivity. Feel free to create a new issue, if you have problem with editing the P-Code.
State: new→closed