marsinator358 / luajit-decompiler-v2

LuaJIT bytecode decompiler
Other
217 stars 58 forks source link

Problems with decompiling juajit 2.1.1 (x86) #43

Closed lightSoulDev closed 5 months ago

lightSoulDev commented 5 months ago

Invalid bytecode version (0xA1).

Is there a way to add support for this version? Here is the example script and the compiler that was used. script&compiler.zip

marsinator358 commented 5 months ago

It's just version 2 bytecode but renamed so simply open the file with any hex editor
and change the fourth byte from A1 to 02.