Source :
PHP Code:
// dllmain.cpp : Defines the entry point for the DLL application.
#include "stdafx.h"
// We will call our function.
// int sub_56E1B0 this is our function so lets call it
int (*WriteToSyserr)(const char*) = (int (*)(const char*) )0x0056E1B0;
extern int "C" _delspec(dllexport)Main(){
WriteToSyserr("We Rocked!!!!");
return 0;
}
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
Sleep(5000);
CreateThread(0, NULL, reinterpret_cast<LPTHREAD_START_ROUTINE>(Main), hModule, 0, NULL);
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
Its basic calling for game hacking & game editing.
That offset for revision 26070 , you have to update it.






