mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-11-23 06:20:22 +00:00
7 lines
213 B
C
7 lines
213 B
C
|
|
#pragma once
|
|
|
|
#define OBFUSCATE_KEY 0xC103D3E7
|
|
#define OBFUSCATE_DATA(a) ((((a) << 19) | ((a) >> 13)) ^ OBFUSCATE_KEY)
|
|
#define UNOBFUSCATE_DATA(a) ((((a) ^ OBFUSCATE_KEY) >> 19) | (((a) ^ OBFUSCATE_KEY) << 13))
|