Comments (1)
local u1,u2,u3
function f1(a1,a2,...)
local l0 = a1; -- move
local l1 = 1 -- loadk
local l2 = true -- loadbool
local l3 = nil -- loadnil
local l4 = u1[g1] -- gettupval, getglobal, gettable
g1 = l1 -- setglobal
u2 = l2 -- setupval
l3[l2] = l1 -- settable
local l5 = { -- newtable
l1, l2; -- move, setlist
x = l2 -- settable
}
local l6 = l5:x() -- self, call
local l7 = -((l0+l1-l2)*l3/l4%l5)^l6 -- add, sub, mul, div, mod, pow, unm
local l8 = #(not l7) -- not, len
local l9 = l7..l8 -- concat
if l1==l2 and l2<l3 or l3<=l4 then -- eq, lt, le, jmp
for i = 1, 10, 2 do -- forprep
l0 = l0 and l2 -- test
end -- forloop
else -- jmp
for k,v in ipairs(l5) do
l4 = l5 or l6 -- testset
end -- tforloop
end
do
local l21, l22 = ... -- vararg
local function f2() -- closure
return l21, l22
end
f2(k,v) -- call
end --close
return f1() -- return, tailcall
end
from luadec.
Related Issues (20)
- hello i have many lua files like this and need a decompiler i will pay for this work HOT 4
- cannot success work when luac debug infor is stripped HOT 1
- ProcessCode: Assertion `0' failed. HOT 1
- There is something error when try to decompiling lua 5.1 file HOT 1
- Lua 5.3 decompile issue HOT 1
- OP_CLOSURE decompiles incorrectly if Lua uses non-standard opcode order
- lua5.3 decompilation special case issue HOT 6
- <builtin>: recipe for target 'luaopswap.o' failed make: *** [luaopswap.o] Error 1
- allopcodes-5.2.lua HOT 1
- Command 'luadec' not found on linux
- Segfault on lua5.3
- support lua 5.1 N64 NSO Switch HOT 1
- Heap-buffer-overflow in UnsetPending
- Lua 5.4 support please!
- make error HOT 3
- Provide releases for the most common build targets
- clang-14: error: no such file or directory: '../lua-5.1/src/liblua.a'
- Bad constant in precompiled chunk HOT 1
- mismatch in precompiled chunk
- bad header in precompiled chunk HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luadec.