Topic: jelasin SC ini gan...

#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>

//============ OFFSET ============
#define NoDelay 0x000000
#define OneHitCSD 0x000000
#define FallDamage 0x000000
#define SpeedHack 0x000000
//============ OFFSET ============


LPTSTR ModulGame = "lostsaga.exe";



void Patch(void *adr, void *ptr, int size)

{

DWORD OldProtection;

VirtualProtect(adr,size,PAGE_EXECUTE_READWRITE, &OldProtection);

memcpy(adr,ptr,size);

VirtualProtect(adr,size,OldProtection, &OldProtection);

}

void WritePointer(unsigned long ulBase, int iOffset, int iValue)

{

if (!IsBadReadPtr((VOID*)ulBase, sizeof(unsigned long)))

{

if (!IsBadWritePtr((void*)(*(unsigned long*)ulBase + iOffset), sizeof(unsigned long)))

{

*(int*)(*(unsigned long*)ulBase + iOffset) = iValue;

}

}

}



void SagaHacy()

{

tolong terjemahkan source code ini gan