#include <windows.h> #include "exports.h" void ShowMessage(char* string, DWORD CShell);
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
ShowMessage("JusCaus TEST!!",CShell);
while(true)
return TRUE;
}
void ShowMessage(char* string, DWORD CShell)
{
DWORD MsgBoxFunc = CShell +0xA4180;
__asm
{ push string;
push 0;
push 0x70;
push 0x1C;
call MsgBoxFunc;
add esp, 16;
}
}

void ShowMessageNA(char* string, DWORD CShell)
{
DWORD MsgBoxFunc = CShell +0xA4180;
__asm
{ push string;
push 0;
push 0x70;
push 0x1D;
call MsgBoxFunc;
add esp, 16;
}
}

'void ShowMessage(char* string, DWORD CShell)
{
DWORD MsgBoxFunc = CShell +0x95C90;
__asm
{ push string;
push 0;
push 0x70;
push 0x1E;
call MsgBoxFunc;
add esp, 10;
}
}
enum eOffsets
{
OFFS_IngameMsgBox = 0xA4180
} // ==> eOffsets
void IngameMsgBox(DWORD dwCShellBase, const char *szMessage)
{
typedef void(__cdecl *pGameMsgBox_t)(DWORD, DWORD, DWORD, const char*);
pGameMsgBox_t pGameMsgBox = (pGameMsgBox_t)(dwCShellBase + OFFS_IngameMsgBox);
pGameMsgBox(0x1D, 0x71, 0, szMessage);
} // ==> IngameMsgBox