feat: admen abooze
This commit is contained in:
@@ -125,7 +125,7 @@ namespace console
|
||||
void post_unpack() override
|
||||
{
|
||||
// Redirect input (]command)
|
||||
utils::hook::jump(SELECT_VALUE(0x14043DFA0, 0x140502A80), append_text);
|
||||
utils::hook::jump(0x140502A80, append_text);
|
||||
|
||||
utils::hook::jump(printf, print_stub);
|
||||
|
||||
@@ -219,7 +219,7 @@ namespace console
|
||||
|
||||
HWND get_window()
|
||||
{
|
||||
return *reinterpret_cast<HWND*>((SELECT_VALUE(0x145A7B490, 0x147AD1DB0)));
|
||||
return *reinterpret_cast<HWND*>(0x147AD1DB0);
|
||||
}
|
||||
|
||||
void set_title(std::string title)
|
||||
@@ -241,7 +241,7 @@ namespace console
|
||||
|
||||
SetWindowPos(get_window(), nullptr, rect.left, rect.top, width, height, 0);
|
||||
|
||||
auto* const logo_window = *reinterpret_cast<HWND*>(SELECT_VALUE(0x145A7B4A0, 0x147AD1DC0));
|
||||
auto* const logo_window = *reinterpret_cast<HWND*>(0x147AD1DC0);
|
||||
SetWindowPos(logo_window, nullptr, 5, 5, width - 25, 60, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user