PDA

View Full Version : defined function help please



CptM0rg@n
05-11-2008, 04:53 PM
i need all or most of the defined functions for C++ i have writealong, but i need the other, example writealong is



void Writelong(long addy, long value)
{
memory();
WriteProcessMemory(hProcess, (LPVOID*)(DWORD) addy, &value, sizeof(value), NULL);

}
void WritePointerFloat(long addy, short offset, float value)
{
long maddy;
long saddy;
memory();
ReadProcessMemory(hProcess, (LPVOID*)(DWORD) addy, &maddy, sizeof(maddy), NULL);
saddy = maddy + offset;
WriteProcessMemory(hProcess, (LPVOID*)(DWORD) saddy, &value, sizeof(value), NULL);
}


so if u can send or post writeafloat, writeabyte, readalong,readabyte,readalong ect...

seth26jan
05-12-2008, 06:21 AM
void WriteFloat(long addy, float value)
{
memory();
WriteProcessMemory(hProcess, (LPVOID*)(DWORD) addy, &value, sizeof(value), NULL);

}
void WritePointerLong(long addy, short offset, Long value)
{
long maddy;
long saddy;
memory();
ReadProcessMemory(hProcess, (LPVOID*)(DWORD) addy, &maddy, sizeof(maddy), NULL);
saddy = maddy + offset;
WriteProcessMemory(hProcess, (LPVOID*)(DWORD) saddy, &value, sizeof(value), NULL);
}

WriteFloat and WritePointerLong...

CptM0rg@n
05-12-2008, 07:13 AM
thanks, man