C++:
using chatcol_fn = const wchar_t*(__thiscall*)(int32_t);
chatcol_fn chatcol_og = nullptr;
client.dll -> 53 8B D9 85 DB 79 11
const wchar_t* __fastcall hkchatcolor(int32_t color_index, int32_t chat_type){
if (color_index == 0xE && chat_type == 0) {
static const wchar_t color[] = L"#282828";
return color;
}
if(color_index == 0x0F && chat_type == 0){
static const wchar_t color[] = L"#808080";
return color;
}
return chatcol_og;
}
just use some random unused colors that no cares about and replace them
here is how to use it
C++:
chat_print_f("Loaded %s%s%s%s", "\xE", config_names, "\x0F", " config");

this was more of a POC
Last edited by a moderator:
