mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-04 00:23:22 +08: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))
|