This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| This script is used to convert coordinates in DMS format to decimal degrees. | |
| Example: | |
| convert_coordinates("N051.50.34.300;W008.11.42.101;") | |
| """ | |
| def convert_coordinates(coord): | |
| lat, lon, _ = coord.split(";") | |
| lat_sign, lon_sign = 1, 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define memcpy 0x3C15B0 | |
| #define memcmp 0x207E40 | |
| #define malloc 0xD7A0 | |
| #define ptrace_patch 0x10F82F | |
| #define kpanic 0x2074C0 | |
| #define rootvnode 0x496030 | |
| #define disable_aslr 0x3CEC8A |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // offsets for 6.72 2much4u's gtav native caller | |
| // note: no offset has been tested since I'm on vacation, if anyone can check it out and tell me if it works I'd appreciate it: D | |
| #define KERN_XFAST_SYSCALL 0x1C0 | |
| #define KERN_PROCESS_ASLR1 0x3CEC8A | |
| #define KERN_PRISON_0 0x0113E518 // https://github.com/OpenOrbis/mira-project/blob/master/kernel/src/Utils/Kdlsym/Orbis672.hpp | |
| #define KERN_ROOTVNODE 0x496030 | |
| #define KERN_PTRACE_CHECK 0x10F82F |