Advertisement
CroClex

addresses 4 depression

Nov 22nd, 2018
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.56 KB | None | 0 0
  1. /*DWORD ADDRESS_TYPE = x(0x73CDD0);//
  2. DWORD ADDRESS_GETFIELD = x(0x73A5C0);//
  3. DWORD ADDRESS_SETFIELD = x(0x73C380);//
  4. DWORD ADDRESS_SETTABLE = x(0x73C6C0);//(uintptr_t)sigscan::scan("RobloxPlayerBeta.exe", "\x55\x8B\xEC\x83\xEC\x10\x53\x56\x8B\x75\x08\x57\xFF\x75\x0C\x56\xE8\x00\x00\x00\x00\x8B\x55\x10\x8B\xF8\x8B\xCA\x8D\x59\x01\x90\x8A\x01\x41\x84\xC0\x75\xF9\x2B\xCB\x51\x52\x56\xE8\x00\x00\x00\x00\x6A\x01", "xxxxxxxxxxxxxxxxx????xxxxxxxxxxxxxxxxxxxxxxxx????xx");
  5. DWORD ADDRESS_GETTABLE = x(0x73AA30);//(uintptr_t)sigscan::scan("RobloxPlayerBeta.exe", "\x55\x8B\xEC\x56\xFF\x75\x0C\x8B\x75\x08\x56\xE8\x00\x00\x00\x00\x8B\x4E\x20\x6A\x01", "xxxxxxxxxxxx????xxxxx");
  6. DWORD ADDRESS_SETTOP = x(0x73c750);//
  7. DWORD ADDRESS_CREATETABLE = x(0x73A210);//
  8. DWORD ADDRESS_NEXT = x(0x73B200);//
  9. DWORD ADDRESS_NEWTHREAD = x(0x73B050);//(uintptr_t)sigscan::scan("RobloxPlayerBeta.exe", "\x55\x8B\xEC\x6A\xFF\x68\x00\x00\x00\x00\x64\xA1\x00\x00\x00\x00\x50\x64\x89\x25\x00\x00\x00\x00\x51\x56\x8B\x75\x08\x8B\x46\x1C", "xxxxxx????xx????xxxx????xxxxxxxx");
  10. DWORD ADDRESS_TOBOOLEAN = x(0x73C8D0);//
  11. DWORD ADDRESS_TOLSTRING = x(0x73C990);//
  12. DWORD ADDRESS_TONUMBER = x(0x73CC60);//
  13. DWORD ADDRESS_PUSHVALUE = x(0x73BA10);//
  14. DWORD ADDRESS_PUSHSTRING = x(0x73B950);//
  15. DWORD ADDRESS_PUSHCCLOSURE = x(0x73B4D0);//
  16. DWORD ADDRESS_PUSHBOOLEAN = x(0x73b450);//
  17. DWORD ADDRESS_PUSHNIL = x(0x73b850);//
  18. DWORD ADDRESS_PUSHLIGHTUSERDATA = x(0x73b730);// (uintptr_t)sigscan::scan("RobloxPlayerBeta.exe", "\x55\x8B\xEC\x8B\x55\x08\x8B\x45\x0C\x8B\x4A\x20", "xxxxxxxxxxxx");
  19. //DWORD ADDRESS_TOPOINTER = x();
  20. DWORD ADDRESS_NEWUSERDATA = x(0x73B140); //
  21. DWORD ADDRESS_GETMETATABLE = x(0x73A890); //
  22. //DWORD ADDRESS_SINGLETON = x();
  23. DWORD ADDRESS_REF = x(0x735490); //
  24. DWORD ADDRESS_RAWGETI = x(0x73BCD0);
  25. DWORD ADDRESS_UNREF = x(0x735770);*/
  26. DWORD ADDRESS_TOUSERDATA = x(0x77AE80);
  27. //DWORD ADDRESS_PUSHNUMBER = x(0x73B8C0);
  28.  
  29.  
  30. /*
  31. Typedefs part
  32. All our typedefs that rvx uses
  33. */
  34. /*auto rr_lua_gettop = (int(__cdecl*)(DWORD))x(0x73AAB0);
  35. auto r_lua_getmetatable = (int(__fastcall*)(DWORD, int))Retcheck::Unprotect(ADDRESS_GETMETATABLE, true);
  36. auto r_lua_type = (int(__cdecl*)(DWORD, int))ADDRESS_TYPE;
  37. auto r_lua_toboolean = (bool(__cdecl*)(DWORD, int))ADDRESS_TOBOOLEAN;
  38. auto r_lua_tolstring = (char*(__cdecl*)(DWORD, int, std::size_t*))Retcheck::Unprotect(ADDRESS_TOLSTRING, true);
  39. auto r_lua_tonumber = (double(__stdcall*)(DWORD, int))ADDRESS_TONUMBER;
  40. //auto r_lua_topointer = (const void*(__cdecl*)(DWORD, int))ADDRESS_TOPOINTER;
  41. auto r_lua_touserdata = (void*(__cdecl*)(DWORD, int))Retcheck::Unprotect(ADDRESS_TOUSERDATA, true);
  42. auto r_lua_pushvalue = (void(__stdcall*)(DWORD, int))Retcheck::Unprotect(ADDRESS_PUSHVALUE, true);
  43. auto r_lua_pushlightuserdata = (void(__cdecl*)(DWORD, void*))Retcheck::Unprotect(ADDRESS_PUSHLIGHTUSERDATA, true);
  44. auto r_lua_pushboolean = (void(__cdecl*)(DWORD, int))Retcheck::Unprotect(ADDRESS_PUSHBOOLEAN, true);
  45. auto r_lua_pushnumber = (void(__stdcall*)(DWORD, double))Retcheck::Unprotect(ADDRESS_PUSHNUMBER, true);
  46. auto r_lua_pushnil = (void(__cdecl*)(DWORD))Retcheck::Unprotect(ADDRESS_PUSHNIL, true);
  47. auto r_lua_pushstring = (void(__fastcall*)(DWORD, const char*))ADDRESS_PUSHSTRING;
  48. auto r_lua_pushcclosure = (void(__stdcall*)(DWORD, int, int))Retcheck::Unprotect(ADDRESS_PUSHCCLOSURE, true);
  49. auto r_lua_getfield = (void*(__stdcall*)(DWORD, int, const char*))Retcheck::Unprotect(ADDRESS_GETFIELD, true);
  50. auto r_lua_setfield = (void(__cdecl*)(DWORD, int, const char*))Retcheck::Unprotect(ADDRESS_SETFIELD, true);
  51. auto r_lua_settable = (void(__cdecl*)(DWORD, int))Retcheck::Unprotect(ADDRESS_SETTABLE, true);
  52. auto r_lua_gettable = (void(*__cdecl)(DWORD, int))Retcheck::Unprotect(ADDRESS_GETTABLE, true);
  53. auto r_lua_settop = (void(__cdecl*)(DWORD, int))Retcheck::Unprotect(ADDRESS_SETTOP, true);
  54. auto r_lua_createtable = (void(__cdecl*)(DWORD, int, int))Retcheck::Unprotect(ADDRESS_CREATETABLE, true);
  55. auto r_lua_next = (int(__cdecl*)(DWORD, int))Retcheck::Unprotect(ADDRESS_NEXT, true);
  56. auto r_lua_newuserdata = (void*(__cdecl*)(DWORD, std::size_t))Retcheck::Unprotect(ADDRESS_NEWUSERDATA, true);
  57. auto r_lua_newthread = (DWORD(__cdecl *)(DWORD))Retcheck::Unprotect(ADDRESS_NEWTHREAD, true);;
  58. auto r_luaL_ref = (int(__cdecl*)(DWORD, int))ADDRESS_REF;
  59. auto r_luaL_unref = (void(__cdecl*)(DWORD, int, int))ADDRESS_UNREF;
  60. auto r_lua_rawgeti = (int(__cdecl*)(DWORD, int, int))Retcheck::Unprotect(ADDRESS_RAWGETI, true);
  61. auto r_lua_rawseti = (int(__cdecl*)(DWORD, int, int))ADDRESS_RAWGETI;*/
  62. auto r_luad_pcall = (int(__cdecl*)(DWORD, int, int, int))Retcheck::Unprotect(ADDRESS_PCALL, true);
  63. auto r_lua_touserdata = (void*(__cdecl*)(DWORD, int))Retcheck::Unprotect(ADDRESS_TOUSERDATA, true);
  64.  
  65.  
  66. typedef void(__stdcall* rgetfield)(DWORD rL, int idx, const char *k);
  67. rgetfield r_lua_getfield = (rgetfield)unprotect(x(0x778690));
  68. typedef char*(__fastcall* rtolstring)(DWORD rL, int idx, size_t *size);
  69. rtolstring r_lua_tolstring = (rtolstring)(unprotect(x(0x77AA50)));
  70. //typedef void(__cdecl* rsettop)(DWORD rL, int idx);
  71. //rsettop r_lua_settop = (rsettop)(unprotect(x(0x77dd90)));
  72. typedef bool(__cdecl* toboolean)(DWORD rL, bool idx);
  73. toboolean r_lua_toboolean = (toboolean)(x(0x77A990));
  74. //typedef void(__fastcall* pushvalue)(DWORD rL, DWORD idx);
  75. //pushvalue r_lua_pushvalue = (pushvalue)(unprotect(x(0x77D0A0)));
  76. typedef double(__cdecl* pushnumber)(DWORD rL, double idx);
  77. pushnumber r_lua_pushnumber = (pushnumber)(unprotect(x(0x7799a0)));
  78. //typedef void(__cdecl* rpushstring)(DWORD rL, const char*);
  79. //rpushstring r_lua_pushstring = (rpushstring)(x(0x77CFD0));
  80. //typedef void(__cdecl* pushnil)(DWORD);
  81. //pushnil r_lua_pushnil = (pushnil)(unprotect(x(0x77ced0)));
  82. typedef DWORD(__cdecl* next2)(DWORD rL, int idx);
  83. next2 r_lua_next = (next2)(unprotect(x(0x7792D0)));
  84. //typedef bool(__cdecl* rboolean)(unsigned int, bool);
  85. //rboolean r_lua_pushboolean = (rboolean)(unprotect(x(0x77cac0)));
  86. typedef double(__fastcall* rtonumber)(DWORD, int);
  87. rtonumber r_lua_tonumber = (rtonumber)(x(0x77AD50));
  88. typedef void*(__cdecl *rsetfield)(DWORD rL, int idx);
  89. rsetfield r_lua_setfield = (rsetfield)(unprotect(x(0x77A440)));
  90. typedef void(__fastcall* rpushcclosure)(DWORD rL, int fn, int non);
  91. rpushcclosure r_lua_pushcclosure = (rpushcclosure)(unprotect(x(0x7795A0)));
  92. typedef void*(__cdecl *rsetmetatable)(DWORD rL, int idx);
  93. rsetmetatable r_lua_setmetatable = (rsetmetatable)(unprotect(x(0x77A5F0)));
  94. typedef void(__cdecl *rcreatetable)(DWORD rL, int num, int fix);
  95. rcreatetable r_lua_createtable = (rcreatetable)(unprotect(x(0x778340)));
  96. typedef void*(__cdecl *rnewuserdata)(DWORD rL, int idx);
  97. rnewuserdata r_lua_newuserdata = (rnewuserdata)(unprotect(x(0x779210)));
  98. typedef void*(__fastcall *rgetmetatable)(DWORD rL, int idx);
  99. rgetmetatable r_lua_getmetatable = (rgetmetatable)(unprotect(x(0x778960)));
  100. typedef void*(__cdecl *rsettable)(DWORD rL, int);
  101. rsettable r_lua_settable = (rsettable)(unprotect(x(0x77A780)));
  102. typedef DWORD(__cdecl *rtype)(DWORD, int);
  103. rtype r_lua_type = (rtype)(x(0x77AEB0));
  104. typedef DWORD(__cdecl *rnewthread)(DWORD);
  105. rnewthread r_lua_newthread = (rnewthread)unprotect(x(0x779120));
  106. typedef DWORD(__cdecl *rref)(DWORD, DWORD);
  107. #include "retcheck.h"
  108. rref r_luaL_ref = (rref)(Ret::unprotect<DWORD>((byte*)(x(0x773690))));
  109. typedef void(__cdecl *rrawgeti)(DWORD, DWORD, DWORD);
  110. rrawgeti r_lua_rawgeti = (rrawgeti)unprotect(x(0x779D90));
  111. //typedef int(__cdecl *gettop)(DWORD);
  112. //gettop r_lua_gettop = (gettop)(x(0x77C110));
  113. typedef void(__cdecl *rpushlight)(DWORD, void*);
  114. rpushlight r_lua_pushlightuserdata = (rpushlight)(unprotect(x(0x779810)));
  115.  
  116. DWORD ScriptContext;
  117. DWORD ScriptContextVFTable = x(0x13A20F8);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement