Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #if GAME_VERSION == 100
- #define GLOBAL_ADDR 0x872DC58
- #elif GAME_VERSION == 113
- #define GLOBAL_ADDR 0x8F32358
- #elif GAME_VERSION == 119
- #define GLOBAL_ADDR 0x90DBF18
- #elif GAME_VERSION == 124
- #define GLOBAL_ADDR 0x91F7F98
- #elif GAME_VERSION == 129
- #define GLOBAL_ADDR 0x9653EF8
- #endif
- unsigned long long* getGlobal(int index) {
- static unsigned long long** array = (unsigned long long**)GLOBAL_ADDR;
- return &array[index >> 0x12 & 0x3F][index & 0x3FFFF];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement