diff --git a/TaaprWare V3/dllmain.cpp b/TaaprWare V3/dllmain.cpp index 87d8cfd..200765f 100644 --- a/TaaprWare V3/dllmain.cpp +++ b/TaaprWare V3/dllmain.cpp @@ -8,8 +8,8 @@ #include #include -#include -#include +#include "include\Luau\BytecodeBuilder.h" +#include "include\Luau\Compiler.h" #include "roblox.h" #include "luavm_load_hook.h" diff --git a/TaaprWare V3/roblox.h b/TaaprWare V3/roblox.h index fc6e5f0..1af62a7 100644 --- a/TaaprWare V3/roblox.h +++ b/TaaprWare V3/roblox.h @@ -13,27 +13,27 @@ const std::string dummy_bytecode = "\x1B\x7B\x56\x24\xA3\xCC\xB8\xB9\xB9\xC5\x73 const uintptr_t base = reinterpret_cast(GetModuleHandle(NULL)); namespace addresses { - const uintptr_t getscheduler = base + 0x73E970; - const uintptr_t task_defer = base + 0x3ED4E0; // 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 + 0x3743E0; - const uintptr_t luavm_load_bytecode_hook = base + 0x377540; - const uintptr_t luavm_load_hashcheck_hook = base + 0x377514; + const uintptr_t getscheduler = base + 0x730C90; + const uintptr_t task_defer = base + 0x3D6410; // 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 + 0x35B900; + const uintptr_t luavm_load_bytecode_hook = base + 0x35EAE0; + const uintptr_t luavm_load_hashcheck_hook = base + 0x35EAB4; } namespace offsets { namespace scriptcontext { constexpr uintptr_t get_scriptstate(uintptr_t scriptcontext) { - return scriptcontext + 0xEC - *(uintptr_t *)(scriptcontext + 0xEC); // Every encryption changes every week + return *(uintptr_t*)(scriptcontext + 0xEC) - (scriptcontext + 0xEC); // Every encryption changes every week } } namespace state { - constexpr int top = 0x14; // Luau offsets change every week + constexpr int top = 0x8; // 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 -0x15C + #define offsets__luavm_load_stackframe__bytecode -0x164 #define offsets__luavm_load_stackframe__bytecode_len -0x78 } }