void ShowMessage(char* string, DWORD CShell)
{
DWORD MsgBoxFunc = CShell + 0x7D780;
__asm
{
push string;
push 0;
push 0x70;
push 0x1C;
call MsgBoxFunc;
add esp, 16;
}
}
void ShowMessage(char* string,DWORD CShell);
ShowMessage("BlahBlah ",CShell);
void ShowMessage(char* string, DWORD CShell)
{
DWORD MsgBoxFunc = CShell + 0x7D780;
__asm
{
push string;
push 0;
push 0x70;
push 0x1C;
call MsgBoxFunc;
add esp, 16;
}
}
idk way