Advertisement
2much4u

PS4 GTA V Object Bypass

Jul 23rd, 2018
4,086
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.68 KB | None | 0 0
  1. /* The following is an object bypass for GTA 1.00 and 1.27. This allows for spawning numerous objects that couldn't previously be spawned such as buildings, sections of the map, and much more. Many of these objects require visiting their original locations before you can spawn them.
  2.  
  3. Replace the startExecution function inside main.c in your GTA payload with the following. The current address being used (0xF6EF75) is for 1.27, but the 1.00 addresses are also listed. Use the region checking done elsewhere in main.c to make sure you use the right address for the right region on 1.00. */
  4. void startExecution() {
  5.     procAttach(gamePID);
  6.  
  7.     void* executableSpace;
  8.     procReadBytes(gamePID, &gtaVars->executableSpace, &executableSpace, sizeof(executableSpace));
  9.  
  10.     procWriteBytes(gamePID, executableSpace, gtaPayload, gtaPayloadSize);
  11.  
  12.     u8 objectBypassASM[] = { 0x90, 0x90, 0x90, 0x90, 0x90, 0x90 };
  13.     procWriteBytes(gamePID, (void*)0xF6EF75, objectBypassASM, sizeof(objectBypassASM)); // 1.00: US - 0xD4A771, EU - 0xD4A781
  14.  
  15.     procDetach(gamePID);
  16. }
  17.  
  18. /* Here are a few fun objects you can now spawn with this patch:
  19. Zancudo UFO - dt1_tc_dufo_core - 0x7D79DAD4
  20. Sea UFO - cs1_09_sea_ufo - 0x14E592FA
  21. Hospital - dt1_01_build - 0x49A0B184
  22. Maze Bank - dt1_11_dt1_tower - 0x6D2FD079
  23. FIB Building - dt1_05_build1_h - 0xCDC10CF4
  24. Eclipse Towers - ss1_11_flats - 0x5ECB544E
  25. Downtown Area - dt1_lod_slod3 - 0xF977A5DD
  26. Airport Area - ap1_lod_slod4 - 0xC3DEA728
  27. Fort Zancudo Area - cs3_lod_1_slod3 - 0xBA3491F6
  28. Sandy Shores Area - cs4_lod_02_slod3 - 0xBC1C27CD
  29. Half Pipe - prop_skate_halfpipe - 0xF66F582F
  30. Quarter Pipe - prop_skate_quartpipe - 0x326D3DB1
  31. You can also spawn any vehicle model as an object. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement