let's say you have an array of two chars [lua]char * poop = new char[2]();[/lua]
instead of writing to memory twice to write to both char's, you can do an epix h4x and only write to memory once!
[lua]*(short *)poop = 'h'|('i' << 8);[/lua]
now poop contains:
[lua]{'h','i'}[/lua] in that order.
u liek
instead of writing to memory twice to write to both char's, you can do an epix h4x and only write to memory once!
[lua]*(short *)poop = 'h'|('i' << 8);[/lua]
now poop contains:
[lua]{'h','i'}[/lua] in that order.
u liek