{
{
*(float*)("cGhostMgr" + 0x88) = 1.0f;
*(float*)("cGhostMgr" + 0x8C) = 1.0f;
*(float*)("cGhostMgr" + 0x90) = 1.0f;
*(float*)("cGhostMgr" +0x88) = 1.0f;
Sleep(105);
}
}
}
if(seeghost)
{
*(float*)(cGhostMgr + 0x88) = 300.0f;
*(float*)(cGhostMgr + 0x8C) = 300.0f;
*(float*)(cGhostMgr + 0x90) = 300.0f;
}


if(CShellBase+PutPointerHere)
{
*(float*)(CShellBase+PutPointerHere+0x88) = 1.0f;
*(float*)(CShellBase+PutPointerHere+0x8C) = 1.0f;
*(float*)(CShellBase+PutPointerHere+0x90) = 1.0f;
}
DWORD WINAPI Base(void)
{
while(1)
{
if(GetModuleHandleA("CShell.dll") && GetModuleHandleA("ClientFx.fxd"))
{
Sleep(100);
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD CShellBase = (DOWRD)GetModuleHandleA("CShell.dll");
if(CShellBase+PutPointerHere
{
*(float*)(CShellBase+PutPointerHere+0x88) = 1.0f;
*(float*)(CShellBase+PutPointerHere+0x8C) = 1.0f;
*(float*)(CShellBase+PutPointerHere+0x90) = 1.0f;
}
//wallhack
memcpy((VOID*)0x6D2894, "\x00\x00\x00\x00\x00\x00", 6);
}
}
DWORD WINAPI MemoryHook(LPVOID)
{
_asm {
PUSH 0;
PUSH 0;
CALL Base;
PUSH 0;
PUSH 0;
PUSH 0;
}
}
BOOL APIENTRY DllMain( HMODULE hModule,DWORD ul_reason_for_call,LPVOID lpReserved )
{
if (ul_reason_for_call == DLL_PROCESS_ATTACH)
{
CreateThread(0,0,(LPTHREAD_START_ROUTINE)MemoryHook,0,0,0);
}
return TRUE;
}
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}