i'm trying to change color name via dll , but always client crash
any solution ?
i used this code in dll
any solution ?
i used this code in dll
PHP Code:
const DWORD dwWriteChatFN = 0x009D026C;
void chathelp::ColorName(uint32_t color)
{
//equal to
//mov ecx, dword ptr ds:[0x110f80c]
void* _ecx = memhelp::RefPtr<void*>(0x110F80C);
__asm
{
mov ecx, _ecx;
push color;
call dwWriteChatFN;
}
}