Help DrawEngineText
In recent days, I found that draw engine text is too old. I found the address of the original rendering engine, but I didn't find another one. Is there anyone else who uses this method? Can you give me some help?
void DrawEngineText(int x, int y, DWORD color, const char* txt,
int shadow = 1, unsigned int tsize = 0, int bold = 1, int unk = 0)
{
auto ptr_ = *(DWORD*)(CshellBase + 0x1976530);
auto func_ = (DWORD)(CshellBase + 0x995BC0);
if (ptr_) {
__asm
{
MOV ECX, ptr_
PUSH unk
PUSH unk
PUSH unk
PUSH unk
PUSH unk
PUSH unk
PUSH unk
PUSH unk
PUSH unk
PUSH unk
PUSH unk
PUSH bold // Is-Bold
PUSH 0xFF000000 // Shadow-Color
PUSH unk // Position-I-Think
PUSH unk // Check-For-Urself-:p
PUSH tsize // Sizes-Type ( 0-4 )
PUSH shadow // Is-Shadow
PUSH color // Text-Color
PUSH y // Y-Position
PUSH x // X-Position
PUSH txt // String
CALL[func_]
}
}
}
