Lihat Cara Donwload Disini
Lihat Cara Donwload Disini

Thursday, July 12, 2012

Base 1 HIT Crusade Lost Saga






================= code asm ====================

DWORD Ofsset CSD = 0x8F2CB0;
DWORD GameBase = (DWORD)GetModuleHandle("lostsaga.exe");
DWORD Address = (GameBase + Ofsset);
DWORD RetAddress = (Address + 0x5); // Apa Harus Ditambah 0x5 dari Detour
//==========================================//
__declspec (naked) void myCodecave1 () // On
{
_asm
{
add [eax],al
add [eax],al
jmp RetAddres
}
}
__declspec (naked) void myCodecave2 () // off
{
_asm
{
dec ebp
inc ecx
pop eax
pop edi
dec eax
push eax
pop edi
jmp RetAddres // Apa Harus Jump ke RetAddress
}
}
============ pacth file ==================
void MaKeJMP(BYTE *pAddress, DWORD dwJumpTo, DWORD dwLen) // No DetourCreat Biar Tahan Banting
{
DWORD dwOldProtect, dwBkup, dwRelAddr;
VirtualProtect(pAddress, dwLen, PAGE_EXECUTE_READWRITE, &dwOldProtect);
dwRelAddr = (DWORD) (dwJumpTo - (DWORD) pAddress) - 5;
*pAddress = 0xE9;
*((DWORD *)(pAddress + 0x1)) = dwRelAddr;
for(DWORD x = 0x5; x < dwLen; x++) *(pAddress + x) = 0x90;
VirtualProtect(pAddress, dwLen, dwOldProtect, &dwBkup);
return;
}
============= hotkey============
if (GetAsyncKeyState(VK_INSERT)&1)
{
MessageBeep(MB_ICONINFORMATION);
DWORD dwAD = (DWORD)GetModuleHandleA(ModulGame);
if (dwAD > 0)
{
MaKeJMP((PBYTE)Address,(DWORD)myCodecave1,5);
}
}
if (GetAsyncKeyState(VK_DELETE)&1)
{
MessageBeep(MB_ICONINFORMATION);
DWORD dwAD = (DWORD)GetModuleHandleA(ModulGame);
if (dwAD > 0)
{
MaKeJMP((PBYTE)Address,(DWORD)myCodecave2,5);
}
}



Credit : Vinz

NB : Jika Kurang Lengkap Lengkapilah..
Anda sedang membaca artikel tentang Base 1 HIT Crusade Lost Saga dan anda bisa menemukan artikel Base 1 HIT Crusade Lost Saga ini dengan url http://anaksetress.blogspot.com/2012/07/base-1-hit-crusade-lost-saga-anasz-blogs.html, anda boleh menyebar luaskannya atau mengcopy paste-nya jika artikel Base 1 HIT Crusade Lost Saga ini sangat bermanfaat bagi teman-teman anda, namun jangan lupa untuk meletakkan link Base 1 HIT Crusade Lost Saga sumbernya.

0 komentar:

Post a Comment

?

 
Design by Blogger Indonesia | Bloggerized by Pratama