What's new

Welcome to X3ON Nexus | Community®

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Start a topic

Have something to say? Now's your chance!

Introduce yourself

Say hello to other members!

Contact us

Contact the site administrators directly.

A+ Lobbies Discord

Looking for Xbox 360 or PC Unlocks? Click here!

C++ Help / Support General c++ for rgh

KingCalzone

KingCalzone

Executive
Moderator
A+ Lobbies Team
Joined
Oct 22, 2024
Messages
9
Reaction score
2
Points
3
*(QWORD*)Address = 0x0000000000000000;
// Write 8 bytes.
*(DWORD*)Address = 0x00000000;
// Write four bytes.
*(SHORT*)Address = 0x0000;
// Write two bytes.
*(BYTE*)Address = 0x00;
// Write one byte.

*(DWORD*)Address = 0x00, 0x00, 0x00, 0x00;
// Is correct syntax, but it doesn't actually write more than the first value for some reason.

memcpy((VOID*)Address, (VOID*)Source, Size);
// This can write up to 0x7FFFFFFF bytes, depending on what size is passed in.

example:
char examplebytes[] = {
0x12, 0x23, 0x34, 0x56
}
memcpy((void*)0x12345678, examplebytes, sizeof(examplebytes)); // copy examplebytes to address 0x12345678 with the sizeof examplebytes (in this case, 4 bytes)
 
shape1
shape2
shape3
shape4
shape5
shape6
Top