SHARE
TWEET

Untitled

a guest Oct 13th, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [ENABLE]
  2. {$lua}
  3. function readIntegerSigned(addr)
  4.   local val=readInteger(addr)
  5.   local sign=bAnd(val,0x80000000)
  6.   return sign==0 and val or val-0x100000000
  7. end
  8. unregisterSymbol("wiconcolorcall")
  9.  
  10. autoAssemble([[
  11. aobscanmodule(wiconcolorcall,cubeworld.exe,48 8B 89 * * * * E8 * * * * 44 0F)
  12. registersymbol(wiconcolorcall)
  13. ]])
  14. local address = getAddress("wiconcolorcall") + 8
  15. address = address + readIntegerSigned(address) + 4
  16. unregisterSymbol("wiconcolorcall")
  17. registerSymbol("wiconcolorcall", address, true)
  18. {$asm}
  19.  
  20. aobscanmodule(world_data_pseudo_unlock,cubeworld.exe,C6 45 * * 75 * C6 45 * * 49)
  21.  
  22. world_data_pseudo_unlock+04:
  23.   db EB
  24.  
  25. registersymbol(world_data_pseudo_unlock_2)
  26.  
  27. aobscanregion(world_data_pseudo_unlock_icon_color,wiconcolorcall,wiconcolorcall+1000,75 * 33 C0 EB * B8)
  28.  
  29. world_data_pseudo_unlock_icon_color:
  30.   db EB
  31.  
  32. registersymbol(world_data_pseudo_unlock_icon_color)
  33.  
  34. unregistersymbol(wiconcolorcall)
  35.  
  36. aobscanmodule(world_data_pseudo_unlock_loc_name,cubeworld.exe,80 7D * * 0F 84 * * * * 44 8B C3)
  37.  
  38. world_data_pseudo_unlock_loc_name+05:
  39.   db 80
  40.  
  41. registersymbol(world_data_pseudo_unlock_loc_name)
  42.  
  43. aobscanmodule(world_data_pseudo_unlock_region_name,cubeworld.exe,48 39 18 0F 84 * * * * 49 8B)
  44.  
  45. world_data_pseudo_unlock_region_name+04:
  46.   db 80
  47.  
  48. registersymbol(world_data_pseudo_unlock_region_name)
  49.  
  50. aobscanmodule(shrine_pseudo_unlock_click,cubeworld.exe,48 3B F0 0F 84 * * * * 41 C6)
  51.  
  52. shrine_pseudo_unlock_click+04:
  53.   db 80
  54.  
  55. registersymbol(shrine_pseudo_unlock_click)
  56.  
  57. [DISABLE]
  58.  
  59. world_data_pseudo_unlock+04:
  60.   db 75
  61.  
  62. unregistersymbol(world_data_pseudo_unlock_2)
  63.  
  64. world_data_pseudo_unlock_icon_color:
  65.   db 75
  66.  
  67. unregistersymbol(world_data_pseudo_unlock_icon_color)
  68.  
  69. world_data_pseudo_unlock_loc_name+05:
  70.   db 84
  71.  
  72. unregistersymbol(world_data_pseudo_unlock_loc_name)
  73.  
  74. world_data_pseudo_unlock_region_name+04:
  75.   db 84
  76.  
  77. unregistersymbol(world_data_pseudo_unlock_region_name)
  78.  
  79. shrine_pseudo_unlock_click+04:
  80.   db 84
  81.  
  82. unregistersymbol(shrine_pseudo_unlock_click)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top