Decompiled "hashed" luac file?

Programming related discussions related to game research
FileEX
Posts: 1
Joined: Sun Mar 21, 2021 12:54 pm

Decompiled "hashed" luac file?

Post by FileEX »

I have two the same .lua files. One of them is a normal bytecode that can be decoded eg with unluac. The second file is somehow encoded bytecode, not decodable by unluac or luadec. Tried a byte comparison, but it doesn't seem like a simple byte swap. What could it be and how to decode it?

https://imgur.com/HZey6U6
Left window is normal luac bytecode, right is compiled luac bytecode