-- Decompiled using luadec 2.0 standard by sztupy (http://luadec51.luaforge.net) -- Command line was: -d C:\Downloads\luadec51_2.0_win32_bin\lua\model\server\TetheredScreen.luac ---------------------------------------------- 1 NEWTABLE 0 0 0 SET_CTR(Tpend) = 0 next bool: 0 locals(0): vpend(0): tpend(1): 0{{}} (...) ---------------------------------------------- 2 SETTABLE 0 256 257 SET_CTR(Tpend) = 0 next bool: 0 locals(1): 0{l_0_0} vpend(1): -1{l_0_0.id=""} tpend(0): (...) local l_0_0 = {} ---------------------------------------------- 3 CLOSURE 1 0 ---------------------------------------------- 1 NEWTABLE 1 0 0 SET_CTR(Tpend) = 0 next bool: 0 locals(1): 0{l_1_0} vpend(0): tpend(1): 1{{}} (l_1_0) ---------------------------------------------- 2 GETGLOBAL 2 0 SET_CTR(Tpend) = 0 next bool: 0 locals(2): 0{l_1_0} 1{l_1_1} vpend(0): tpend(1): 2{setmetatable} (l_1_0) local l_1_1 = {} ---------------------------------------------- 3 MOVE 3 1 0 SET_CTR(Tpend) = 1 next bool: 0 locals(2): 0{l_1_0} 1{l_1_1} vpend(0): tpend(2): 2{setmetatable} 3{l_1_1} (l_1_0) local l_1_1 = {} ---------------------------------------------- 4 MOVE 4 0 0 SET_CTR(Tpend) = 2 next bool: 0 locals(2): 0{l_1_0} 1{l_1_1} vpend(0): tpend(3): 2{setmetatable} 3{l_1_1} 4{l_1_0} (l_1_0) local l_1_1 = {} ---------------------------------------------- 5 CALL 2 3 1 next bool: 0 locals(2): 0{l_1_0} 1{l_1_1} vpend(0): tpend(0): (l_1_0) local l_1_1 = {} setmetatable(l_1_1, l_1_0) ---------------------------------------------- 6 SETTABLE 0 257 0 SET_CTR(Tpend) = 0 next bool: 0 locals(2): 0{l_1_0} 1{l_1_1} vpend(1): -1{l_1_0.__index=l_1_0} tpend(0): (l_1_0) local l_1_1 = {} setmetatable(l_1_1, l_1_0) ---------------------------------------------- 7 NEWTABLE 2 0 0 SET_CTR(Tpend) = 0 next bool: 0 locals(2): 0{l_1_0} 1{l_1_1} vpend(0): tpend(1): 2{{}} (l_1_0) local l_1_1 = {} setmetatable(l_1_1, l_1_0) l_1_0.__index = l_1_0 ---------------------------------------------- 8 SETTABLE 1 258 2 SET_CTR(Tpend) = 0 next bool: 0 locals(2): 0{l_1_0} 1{l_1_1} vpend(1): -1{l_1_1.commandQueue={}} tpend(0): (l_1_0) local l_1_1 = {} setmetatable(l_1_1, l_1_0) l_1_0.__index = l_1_0 ---------------------------------------------- 9 RETURN 1 2 0 next bool: 0 locals(2): 0{l_1_0} 1{l_1_1} vpend(0): tpend(0): (l_1_0) local l_1_1 = {} setmetatable(l_1_1, l_1_0) l_1_0.__index = l_1_0 l_1_1.commandQueue = {} return l_1_1 ---------------------------------------------- 10 RETURN 0 1 0 next bool: 0 locals(0): vpend(0): tpend(0): (l_1_0) local l_1_1 = {} setmetatable(l_1_1, l_1_0) l_1_0.__index = l_1_0 l_1_1.commandQueue = {} return l_1_1 SET_CTR(Tpend) = 0 next bool: 0 locals(1): 0{l_0_0} vpend(0): tpend(1): 1{function(l_1_0) local l_1_1 = {} setmetatable(l_1_1, l_1_0) l_1_0.__index = l_1_0 l_1_1.commandQueue = {} return l_1_1 end} (...) local l_0_0 = {} l_0_0.id = "" ---------------------------------------------- 4 SETTABLE 0 258 1 SET_CTR(Tpend) = 0 next bool: 0 locals(1): 0{l_0_0} vpend(1): -1{l_0_0.new=function(l_1_0) local l_1_1 = {} setmetatable(l_1_1, l_1_0) l_1_0.__index = l_1_0 l_1_1.commandQueue = {} return l_1_1 end} tpend(0): (...) local l_0_0 = {} l_0_0.id = "" ---------------------------------------------- 5 CLOSURE 1 1 ---------------------------------------------- 1 GETTABLE 1 0 256 SET_CTR(Tpend) = 0 next bool: 0 locals(1): 0{l_2_0} vpend(0): tpend(1): 1{l_2_0.id} (l_2_0) ---------------------------------------------- 2 RETURN 1 2 0 next bool: 0 locals(1): 0{l_2_0} vpend(0): tpend(0): (l_2_0) return l_2_0.id ---------------------------------------------- 3 RETURN 0 1 0 next bool: 0 locals(0): vpend(0): tpend(0): (l_2_0) return l_2_0.id SET_CTR(Tpend) = 0 next bool: 0 locals(1): 0{l_0_0} vpend(0): tpend(1): 1{function(l_2_0) return l_2_0.id end} (...) local l_0_0 = {} l_0_0.id = "" l_0_0.new = function(l_1_0) local l_1_1 = {} setmetatable(l_1_1, l_1_0) l_1_0.__index = l_1_0 l_1_1.commandQueue = {} return l_1_1 end ---------------------------------------------- 6 SETTABLE 0 259 1 SET_CTR(Tpend) = 0 next bool: 0 locals(1): 0{l_0_0} vpend(1): -1{l_0_0.getId=function(l_2_0) return l_2_0.id end} tpend(0): (...) local l_0_0 = {} l_0_0.id = "" l_0_0.new = function(l_1_0) local l_1_1 = {} setmetatable(l_1_1, l_1_0) l_1_0.__index = l_1_0 l_1_1.commandQueue = {} return l_1_1 end ---------------------------------------------- 7 CLOSURE 1 2 ---------------------------------------------- 1 GETGLOBAL 2 0 SET_CTR(Tpend) = 0 next bool: 0 locals(2): 0{l_3_0} 1{l_3_1} vpend(0): tpend(1): 2{table} (l_3_0, l_3_1) ---------------------------------------------- 2 GETTABLE 2 2 257 SET_CTR(Tpend) = 0 next bool: 0 locals(2): 0{l_3_0} 1{l_3_1} vpend(0): tpend(1): 2{table.insert} (l_3_0, l_3_1) ---------------------------------------------- 3 GETTABLE 3 0 258 SET_CTR(Tpend) = 1 next bool: 0 locals(2): 0{l_3_0} 1{l_3_1} vpend(0): tpend(2): 2{table.insert} 3{l_3_0.commandQueue} (l_3_0, l_3_1) ---------------------------------------------- 4 MOVE 4 1 0 SET_CTR(Tpend) = 2 next bool: 0 locals(2): 0{l_3_0} 1{l_3_1} vpend(0): tpend(3): 2{table.insert} 3{l_3_0.commandQueue} 4{l_3_1} (l_3_0, l_3_1) ---------------------------------------------- 5 CALL 2 3 1 next bool: 0 locals(2): 0{l_3_0} 1{l_3_1} vpend(0): tpend(0): (l_3_0, l_3_1) table.insert(l_3_0.commandQueue, l_3_1) ---------------------------------------------- 6 RETURN 0 1 0 next bool: 0 locals(0): vpend(0): tpend(0): (l_3_0, l_3_1) table.insert(l_3_0.commandQueue, l_3_1) SET_CTR(Tpend) = 0 next bool: 0 locals(1): 0{l_0_0} vpend(0): tpend(1): 1{function(l_3_0, l_3_1) table.insert(l_3_0.commandQueue, l_3_1) end} (...) local l_0_0 = {} l_0_0.id = "" l_0_0.new = function(l_1_0) local l_1_1 = {} setmetatable(l_1_1, l_1_0) l_1_0.__index = l_1_0 l_1_1.commandQueue = {} return l_1_1 end l_0_0.getId = function(l_2_0) return l_2_0.id end ---------------------------------------------- 8 SETTABLE 0 260 1 SET_CTR(Tpend) = 0 next bool: 0 locals(1): 0{l_0_0} vpend(1): -1{l_0_0.enqueueCommand=function(l_3_0, l_3_1) table.insert(l_3_0.commandQueue, l_3_1) end} tpend(0): (...) local l_0_0 = {} l_0_0.id = "" l_0_0.new = function(l_1_0) local l_1_1 = {} setmetatable(l_1_1, l_1_0) l_1_0.__index = l_1_0 l_1_1.commandQueue = {} return l_1_1 end l_0_0.getId = function(l_2_0) return l_2_0.id end ---------------------------------------------- 9 CLOSURE 1 3 ---------------------------------------------- 1 GETTABLE 2 0 256 SET_CTR(Tpend) = 0 next bool: 0 locals(2): 0{l_4_0} 1{l_4_1} vpend(0): tpend(1): 2{l_4_0.commandQueue} (l_4_0, l_4_1) ---------------------------------------------- 2 LEN 2 2 0 SET_CTR(Tpend) = 0 next bool: 0 locals(2): 0{l_4_0} 1{l_4_1} vpend(0): tpend(1): 2{#l_4_0.commandQueue} (l_4_0, l_4_1) ---------------------------------------------- 3 LT 0 257 2 next bool: 0 locals(2): 0{l_4_0} 1{l_4_1} vpend(0): tpend(0): (l_4_0, l_4_1) ---------------------------------------------- 4 JMP 0 8 next bool: 1 locals(2): 0{l_4_0} 1{l_4_1} vpend(0): tpend(0): (l_4_0, l_4_1) ---------------------------------------------- 5 GETTABLE 2 0 256 SET_CTR(Tpend) = 0 next bool: 1 locals(2): 0{l_4_0} 1{l_4_1} vpend(0): tpend(1): 2{l_4_0.commandQueue} (l_4_0, l_4_1) ---------------------------------------------- 6 GETTABLE 2 2 258 SET_CTR(Tpend) = 0 next bool: 1 locals(2): 0{l_4_0} 1{l_4_1} vpend(0): tpend(1): 2{l_4_0.commandQueue[1]} (l_4_0, l_4_1) ---------------------------------------------- 7 GETGLOBAL 3 3 Exps(0): at 3 dest 13 neg 1 (#l_4_0.commandQueue <= 0) cpd -1 Stored at endif list: <13> SET_CTR(Tpend) = 0 next bool: 0 locals(3): 0{l_4_0} 1{l_4_1} 2{l_4_2} vpend(0): tpend(1): 3{table} (l_4_0, l_4_1) if #l_4_0.commandQueue > 0 then local l_4_2 = l_4_0.commandQueue[1] ---------------------------------------------- 8 GETTABLE 3 3 260 SET_CTR(Tpend) = 0 next bool: 0 locals(3): 0{l_4_0} 1{l_4_1} 2{l_4_2} vpend(0): tpend(1): 3{table.remove} (l_4_0, l_4_1) if #l_4_0.commandQueue > 0 then local l_4_2 = l_4_0.commandQueue[1] ---------------------------------------------- 9 GETTABLE 4 0 256 SET_CTR(Tpend) = 1 next bool: 0 locals(3): 0{l_4_0} 1{l_4_1} 2{l_4_2} vpend(0): tpend(2): 3{table.remove} 4{l_4_0.commandQueue} (l_4_0, l_4_1) if #l_4_0.commandQueue > 0 then local l_4_2 = l_4_0.commandQueue[1] ---------------------------------------------- 10 LOADK 5 2 SET_CTR(Tpend) = 2 next bool: 0 locals(3): 0{l_4_0} 1{l_4_1} 2{l_4_2} vpend(0): tpend(3): 3{table.remove} 4{l_4_0.commandQueue} 5{1} (l_4_0, l_4_1) if #l_4_0.commandQueue > 0 then local l_4_2 = l_4_0.commandQueue[1] ---------------------------------------------- 11 CALL 3 3 1 next bool: 0 locals(3): 0{l_4_0} 1{l_4_1} 2{l_4_2} vpend(0): tpend(0): (l_4_0, l_4_1) if #l_4_0.commandQueue > 0 then local l_4_2 = l_4_0.commandQueue[1] table.remove(l_4_0.commandQueue, 1) ---------------------------------------------- 12 RETURN 2 2 0 next bool: 0 locals(3): 0{l_4_0} 1{l_4_1} 2{l_4_2} vpend(0): tpend(0): (l_4_0, l_4_1) if #l_4_0.commandQueue > 0 then local l_4_2 = l_4_0.commandQueue[1] table.remove(l_4_0.commandQueue, 1) return l_4_2 ---------------------------------------------- 13 RETURN 0 1 0 next bool: 0 locals(0): vpend(0): tpend(0): (l_4_0, l_4_1) if #l_4_0.commandQueue > 0 then local l_4_2 = l_4_0.commandQueue[1] table.remove(l_4_0.commandQueue, 1) return l_4_2 end SET_CTR(Tpend) = 0 next bool: 0 locals(1): 0{l_0_0} vpend(0): tpend(1): 1{function(l_4_0, l_4_1) if #l_4_0.commandQueue > 0 then local l_4_2 = l_4_0.commandQueue[1] table.remove(l_4_0.commandQueue, 1) return l_4_2 end end} (...) local l_0_0 = {} l_0_0.id = "" l_0_0.new = function(l_1_0) local l_1_1 = {} setmetatable(l_1_1, l_1_0) l_1_0.__index = l_1_0 l_1_1.commandQueue = {} return l_1_1 end l_0_0.getId = function(l_2_0) return l_2_0.id end l_0_0.enqueueCommand = function(l_3_0, l_3_1) table.insert(l_3_0.commandQueue, l_3_1) end ---------------------------------------------- 10 SETTABLE 0 261 1 SET_CTR(Tpend) = 0 next bool: 0 locals(1): 0{l_0_0} vpend(1): -1{l_0_0.popCommand=function(l_4_0, l_4_1) if #l_4_0.commandQueue > 0 then local l_4_2 = l_4_0.commandQueue[1] table.remove(l_4_0.commandQueue, 1) return l_4_2 end end} tpend(0): (...) local l_0_0 = {} l_0_0.id = "" l_0_0.new = function(l_1_0) local l_1_1 = {} setmetatable(l_1_1, l_1_0) l_1_0.__index = l_1_0 l_1_1.commandQueue = {} return l_1_1 end l_0_0.getId = function(l_2_0) return l_2_0.id end l_0_0.enqueueCommand = function(l_3_0, l_3_1) table.insert(l_3_0.commandQueue, l_3_1) end ---------------------------------------------- 11 RETURN 0 2 0 next bool: 0 locals(1): 0{l_0_0} vpend(0): tpend(0): (...) local l_0_0 = {} l_0_0.id = "" l_0_0.new = function(l_1_0) local l_1_1 = {} setmetatable(l_1_1, l_1_0) l_1_0.__index = l_1_0 l_1_1.commandQueue = {} return l_1_1 end l_0_0.getId = function(l_2_0) return l_2_0.id end l_0_0.enqueueCommand = function(l_3_0, l_3_1) table.insert(l_3_0.commandQueue, l_3_1) end l_0_0.popCommand = function(l_4_0, l_4_1) if #l_4_0.commandQueue > 0 then local l_4_2 = l_4_0.commandQueue[1] table.remove(l_4_0.commandQueue, 1) return l_4_2 end end return l_0_0 ---------------------------------------------- 12 RETURN 0 1 0 next bool: 0 locals(0): vpend(0): tpend(0): (...) local l_0_0 = {} l_0_0.id = "" l_0_0.new = function(l_1_0) local l_1_1 = {} setmetatable(l_1_1, l_1_0) l_1_0.__index = l_1_0 l_1_1.commandQueue = {} return l_1_1 end l_0_0.getId = function(l_2_0) return l_2_0.id end l_0_0.enqueueCommand = function(l_3_0, l_3_1) table.insert(l_3_0.commandQueue, l_3_1) end l_0_0.popCommand = function(l_4_0, l_4_1) if #l_4_0.commandQueue > 0 then local l_4_2 = l_4_0.commandQueue[1] table.remove(l_4_0.commandQueue, 1) return l_4_2 end end return l_0_0 (...) local l_0_0 = {} l_0_0.id = "" l_0_0.new = function(l_1_0) local l_1_1 = {} setmetatable(l_1_1, l_1_0) l_1_0.__index = l_1_0 l_1_1.commandQueue = {} return l_1_1 end l_0_0.getId = function(l_2_0) return l_2_0.id end l_0_0.enqueueCommand = function(l_3_0, l_3_1) table.insert(l_3_0.commandQueue, l_3_1) end l_0_0.popCommand = function(l_4_0, l_4_1) if #l_4_0.commandQueue > 0 then local l_4_2 = l_4_0.commandQueue[1] table.remove(l_4_0.commandQueue, 1) return l_4_2 end end return l_0_0