0

Is there anyway to make this code readable. it just one of them. it really waste time when doing it by manual. this file was decompile from bytecode Full code link: https://anotepad.com/notes/k7nj9aft

  local L1_2, L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
  L1_2 = ipairs
  L2_2 = GetActivePlayers
  L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 = L2_2()
  L1_2, L2_2, L3_2, L4_2 = L1_2(L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2)
  for L5_2, L6_2 in L1_2, L2_2, L3_2, L4_2 do
    L7_2 = GetPlayerPed
    L8_2 = L6_2
    L7_2 = L7_2(L8_2)
    if L7_2 == A0_2 then
      return L6_2
    end
  end
  L1_2 = -1
  return L1_2
end```

  • you asked a similar question 2 years ago with the same result – Piglet Sep 30 '22 at 05:49
  • No, you can not undo that. Theoretically it is possible to reconstruct some names based on context and variable types (e.g. if you had types/classes), but that doesn't really work well in Lua. – Luke100000 Sep 30 '22 at 07:45
  • This should have been the dupe target [How do I de-obfuscate a Lua script?](https://stackoverflow.com/questions/66121229/how-do-i-de-obfuscate-a-lua-script) – Nifim Sep 30 '22 at 16:22

0 Answers0