bobsayshilol / luajit-decomp Goto Github PK
View Code? Open in Web Editor NEWLuaJIT decompiler
LuaJIT decompiler
the test.lua
-- BYTECODE -- time.lua:0-22
0001 GGET 0 0 ; "os"
0002 TGETS 0 0 1 ; "time"
0003 CALL 0 2 1
0004 GSET 0 2 ; "now"
0005 GGET 0 3 ; "print"
0006 GGET 1 2 ; "now"
0007 CALL 0 1 2
0008 GGET 0 3 ; "print"
0009 GGET 1 0 ; "os"
0010 TGETS 1 1 1 ; "time"
0011 TDUP 2 4
0012 CALL 1 0 2
0013 CALLM 0 1 0
0014 GGET 0 3 ; "print"
0015 GGET 1 0 ; "os"
0016 TGETS 1 1 1 ; "time"
0017 GGET 2 0 ; "os"
0018 TGETS 2 2 5 ; "date"
0019 KSTR 3 6 ; "!*t"
0020 GGET 4 2 ; "now"
0021 CALL 2 0 3
0022 CALLM 1 0 0
0023 CALLM 0 1 0
0024 GGET 0 0 ; "os"
0025 TGETS 0 0 5 ; "date"
0026 KSTR 1 6 ; "!*t"
0027 GGET 2 2 ; "now"
0028 CALL 0 2 3
0029 GSET 0 7 ; "d1"
0030 GGET 0 3 ; "print"
0031 GGET 1 7 ; "d1"
0032 TGETS 1 1 8 ; "year"
0033 GGET 2 7 ; "d1"
0034 TGETS 2 2 9 ; "month"
0035 GGET 3 7 ; "d1"
0036 TGETS 3 3 10 ; "day"
0037 GGET 4 7 ; "d1"
0038 TGETS 4 4 11 ; "hour"
0039 CALL 0 1 5
0040 GGET 0 0 ; "os"
0041 TGETS 0 0 5 ; "date"
0042 KSTR 1 12 ; "*t"
0043 GGET 2 2 ; "now"
0044 CALL 0 2 3
0045 GSET 0 7 ; "d1"
0046 GGET 0 3 ; "print"
0047 GGET 1 7 ; "d1"
0048 TGETS 1 1 8 ; "year"
0049 GGET 2 7 ; "d1"
0050 TGETS 2 2 9 ; "month"
0051 GGET 3 7 ; "d1"
0052 TGETS 3 3 10 ; "day"
0053 GGET 4 7 ; "d1"
0054 TGETS 4 4 11 ; "hour"
0055 CALL 0 1 5
0056 GGET 0 3 ; "print"
0057 GGET 1 0 ; "os"
0058 TGETS 1 1 13 ; "difftime"
0059 GGET 2 0 ; "os"
0060 TGETS 2 2 1 ; "time"
0061 CALL 2 2 1
0062 GGET 3 0 ; "os"
0063 TGETS 3 3 1 ; "time"
0064 GGET 4 0 ; "os"
0065 TGETS 4 4 5 ; "date"
0066 KSTR 5 6 ; "!*t"
0067 GGET 6 0 ; "os"
0068 TGETS 6 6 1 ; "time"
0069 CALL 6 0 1
0070 CALLM 4 0 1
0071 CALLM 3 0 0
0072 CALLM 1 2 1
0073 DIVVN 1 1 0 ; 3600
0074 CALL 0 1 2
0075 GGET 0 3 ; "print"
0076 KSTR 1 14 ; "----------d-----"
0077 CALL 0 1 2
0078 GGET 0 3 ; "print"
0079 GGET 1 2 ; "now"
0080 GGET 2 0 ; "os"
0081 TGETS 2 2 1 ; "time"
0082 GGET 3 0 ; "os"
0083 TGETS 3 3 5 ; "date"
0084 KSTR 4 6 ; "!*t"
0085 GGET 5 2 ; "now"
0086 CALL 3 0 3
0087 CALLM 2 2 0
0088 SUBVV 1 1 2
0089 CALL 0 1 2
0090 GGET 0 3 ; "print"
0091 GGET 1 0 ; "os"
0092 TGETS 1 1 13 ; "difftime"
0093 KSHORT 2 2
0094 KSHORT 3 0
0095 CALL 1 0 3
0096 CALLM 0 1 0
0097 GGET 0 3 ; "print"
0098 GGET 1 15 ; "_VERSION"
0099 CALL 0 1 2
0100 RET0 0 1
The exe runs fine, however in AutoIt code: Error: Subscript used on non-accessible variable
in line 830 (decoder_new.au3). I believe it is due to line 45 (_ArrayAdd returns error code 1). Having looked at the documentation briefly, I am amazed this actually every compiled - a 2D array is being constructed but it is declared as a 1D-array? But really, idk
I guess this would be a minor fix. Cheers
I don't use autoit language.
Only one file can be decrypted at a time, I write a C++ Console to CreateProcess(your program).
Every time CreateProcess must CopyFile() to Your program Dir, And rename it to test.lua.
And your program will report frequent errors.
I have to SendMessage(hWnd, WM_CLOSE, NULL, NULL), to your program, When it Report errors.
If any function contains more than 100 variables, then it falls decompiler with an error on line 583.
Unfortunately I do not speak English, I use Google Translate
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.