adm 1.8 gc


SUBMITTED BY: Lucoz

DATE: Nov. 18, 2023, 1:11 a.m.

UPDATED: Nov. 19, 2023, 11:31 a.m.

FORMAT: Text only

SIZE: 1.6 kB

HITS: 609

  1. -- Maybe new updates
  2. gg.alert("Discord server to learn about reverse engineering mobile: https://discord.gg/FtmfjxRSHw")
  3. gg.toast("Finding for invisible players")
  4. local libqplay = gg.getRangesList("libqplay.so")[1].start
  5. local players = {}
  6. local allplayers = gg.getValues({{address = libqplay + 0x0024a8b8, flags = 4}})[1].value
  7. function getPlayersCount()
  8. return gg.getValues({{address = allplayers + 4, flags = 4}})[1].value
  9. end
  10. local players_count = 0
  11. function getPlayersList()
  12. local players_list = gg.getValues({{address = allplayers + 12, flags = 4}})[1].value
  13. local _ = {}
  14. for i = 1, players_count do
  15. _[i] = {address = players_list + (4 * (i - 1)), flags = 4}
  16. players[i] = {}
  17. end
  18. _ = gg.getValues(_)
  19. return _
  20. end
  21. local players_list
  22. function main()
  23. local count = getPlayersCount()
  24. if(count == 0) then
  25. return
  26. end
  27. if(count > players_count) then
  28. players_count = count
  29. players_list = getPlayersList()
  30. end
  31. for i = 1, players_count do
  32. local alpha = gg.getValues({{address = players_list[i].value + 0x160, flags = gg.TYPE_FLOAT}})[1]
  33. local zoom = gg.getValues({{address = players_list[i].value + 0x138, flags = gg.TYPE_FLOAT}})[1]
  34. if (zoom.value < 1) then
  35. alpha.value = 1
  36. end
  37. if (zoom.value < 1) then
  38. zoom.value = 2
  39. end
  40. gg.setValues({alpha,zoom})
  41. end
  42. end
  43. while(true) do
  44. if(gg.isVisible()) then
  45. gg.setVisible(false)
  46. end
  47. main()
  48. gg.sleep(1)
  49. end

comments powered by Disqus