3 ms·
Shumway doesn't decompile ABC bytecode to ActionScript, it compiles it to JavaScript, which is then evaluated. It has a from-scratch JIT engine that analyzes th
by Jasper_ 12y ago
Shumway doesn't decompile ABC bytecode to ActionScript, it compiles it to JavaScript, which is then evaluated. It has a from-scratch JIT engine that analyzes the bytecode and generates JS.
https://github.com/mozilla/shumway/blob/master/src/avm2/compiler/builder.ts https://github.com/mozilla/shumway/blob/master/src/avm2/comp...
I've worked a lot with Flash bytecode and contributed to Shumway a long time ago, so if you have any more questions, let me know!