Remove this for now

This commit is contained in:
fed 2022-05-20 10:07:39 +02:00
parent 4b872decca
commit 7c970c4464
2 changed files with 6 additions and 4 deletions

View File

@ -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);

View File

@ -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)