From 7c970c44645a72d2e9462258eb81cbbfaa4503e0 Mon Sep 17 00:00:00 2001 From: fed <58637860+fedddddd@users.noreply.github.com> Date: Fri, 20 May 2022 10:07:39 +0200 Subject: [PATCH] Remove this for now --- src/client/component/colors.cpp | 7 +++++-- src/client/component/server_list.cpp | 3 +-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/client/component/colors.cpp b/src/client/component/colors.cpp index 84e2025f..551ec07f 100644 --- a/src/client/component/colors.cpp +++ b/src/client/component/colors.cpp @@ -150,7 +150,7 @@ namespace colors utils::hook::jump(0x5AEDF0_b, com_clean_name_stub, true); // don't apply colors to overhead names - utils::hook::jump(0xF7B6A_b, utils::hook::assemble([](utils::hook::assembler& a) + /*utils::hook::jump(0xF7B6A_b, utils::hook::assemble([](utils::hook::assembler& a) { a.lea(rax, qword_ptr(rbp, -0x10)); a.mov(dword_ptr(rsp, 0x28), 0xB); @@ -158,12 +158,15 @@ namespace colors a.mov(qword_ptr(rsp, 0x20), rax); a.lea(r8, qword_ptr(rbp)); + a.push(rax); a.pushad64(); a.call_aligned(get_client_name_stub); + a.mov(qword_ptr(rsp, 0x80), rax); a.popad64(); + a.pop(rax); a.jmp(0xF7B8A_b); - }), true); + }), true);*/ // patch I_CleanStr utils::hook::jump(0x5AF2E0_b, i_clean_str_stub, true); diff --git a/src/client/component/server_list.cpp b/src/client/component/server_list.cpp index cb51dc81..75d5b0f1 100644 --- a/src/client/component/server_list.cpp +++ b/src/client/component/server_list.cpp @@ -405,8 +405,7 @@ namespace server_list a.mov(rax, qword_ptr(rbx, 0x48)); a.cvtdq2ps(xmm0, xmm0); - a.mov(rdi, 0x28E12B_b); - a.jmp(rdi); + a.jmp(0x28E12B_b); }), true); utils::hook::jump(0x28E331_b, utils::hook::assemble([](utils::hook::assembler& a)