Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
Update 5 (first fully automated update!)
Browse files Browse the repository at this point in the history
  • Loading branch information
plusgiant5 committed Apr 13, 2023
1 parent c407af0 commit 6d433cd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions TaaprWare V3/roblox.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,28 @@ const std::string dummy_bytecode = "\x1B\x7B\x56\x24\xA3\xCC\xB8\xB9\xB9\xC5\x73
const uintptr_t base = reinterpret_cast<uintptr_t>(GetModuleHandle(NULL));

namespace addresses {
const uintptr_t getscheduler = base + 0x72d460;
const uintptr_t task_defer = base + 0x3d0ed0; // This could be any function that pops a function from the Luau stack and calls it. Defer is one of them. Also note that task.defer silently logs suspicious calls
const uintptr_t luavm_load = base + 0x3561b0;
const uintptr_t luavm_load_bytecode_hook = base + 0x359350;
const uintptr_t luavm_load_hashcheck_hook = base + 0x359324;
const uintptr_t getscheduler = base + 0x726840;
const uintptr_t task_defer = base + 0x3D1470; // This could be any function that pops a function from the Luau stack and calls it. Defer is one of them. Also note that task.defer silently logs suspicious calls
const uintptr_t luavm_load = base + 0x34ABB0;
const uintptr_t luavm_load_bytecode_hook = base + 0x34DE21;
const uintptr_t luavm_load_hashcheck_hook = base + 0x34DDF5;
}

namespace offsets {
namespace scriptcontext {
constexpr uintptr_t get_scriptstate(uintptr_t scriptcontext) {
return *(uintptr_t*)(scriptcontext + 0xF4) - (scriptcontext + 0xF4); // Every encryption changes every week
return *(uintptr_t*)(scriptcontext + 0xF4) ^ (scriptcontext + 0xF4); // Every encryption changes every week
}
}
namespace state {
constexpr int top = 0x18; // Luau offsets change every week
constexpr int top = 0x14; // Luau offsets change every week
}
// These only change when roblox makes changes to luavm_load
// Find them using your disassembler
namespace luavm_load_stackframe {
// Because I can't type the whole namespace paths in inline assembly
#define offsets__luavm_load_stackframe__bytecode -0x164
#define offsets__luavm_load_stackframe__bytecode_len -0x5c
#define offsets__luavm_load_stackframe__bytecode_len -0x6c
}
}

Expand Down

0 comments on commit 6d433cd

Please sign in to comment.