• Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

PS3 [1.26] BOOST GUN EBOOT (PPC) [1.26]

Information
BLES ONLY
. Any vehicle you aim and shoot at, will force the vehicle to boost. Doesn't have network requests so won't work on vehicles where online players are the driver.

Preview
giphy.gif


Downloads

How to install?
1. Download the EBOOT.BIN for your firmware type.
2. Copy it to your USB, or run a FTP application such as Filezilla.
3. Copy EBOOT.BIN into /dev_hdd0/game/BLES01807/USRDIR/

How does this work?
First off, we edit an existing GTA function, and make it execute our own code. Below is a breakdown of C++ to PPC, with as much commenting as possible to hopefully help you understand it. If you have any questions just ask but note i am learning myself, so if i don't know the answer your next person to ask is Sabotage.

C++
Code:
int Target = 0; //Stored At 0x1C7DDE4
float Speed = 100f; //Stored At 0x1C7DDE8
if (_GET_AIMED_ENTITY(PLAYER_ID(), &Target))
{

if (IS_PED_SHOOTING(PLAYER::PLAYER_PED_ID())
{

if (IS_ENTITY_A_PED(Target))
{

if (IS_PED_IN_ANY_VEHICLE(Target, false))
{

Target = GET_VEHICLE_PED_IS_IN(Target, false);
}
}
if (IS_ENTITY_A_VEHICLE(Target))
{

SET_VEHICLE_FORWARD_SPEED(Target, Speed);
}
}}

Power PC

Hook
PLAYER_PED_ID + 3 Instructions (0x424224):
lis %r11, 0x1BF //r11 = 0x1BF0000
ori %r11, %r11, 0xA7E0 //r11 = 0x1BFA7E0
mtctr %r11 //Changes the program counter to 0x1BFA7E0 (Jumps to that address)
bctrl

Our Custom Function
__0x1BFA7E0: //Our custom function
stdu %r1, -0x70(%r1) //Set up the function
mflr %r0 //Set up the function
std %r0, 0x80(%r1) //Set up the function

lis %r11, 0x42 //r11 = 0x420000
ori %r11, %r11, 0x41D4 //r11 = 0x421D4 (PLAYER_ID)
mtctr %r11 //Call PLAYER_ID
bctrl //Call PLAYER_ID (r3 now contains our player_id)

lis %r4, 0x1C7 //r4 = 0x1C70000
addic %r4, %r4, 0x6DE4 //r4 = 0x1C76DE4 Don't know a better way to do this? ori?
addic %r4, %r4, 0x7000 //r4 = 0x1C7DDE4 Target Address

lis %r11, 0x42 //r11 = 0x420000
ori %r11, %r11, 0x3974 //r11 = 0x423974 (_GET_AIMED_ENTITY)
mtctr %r11 //Call _GET_AIMED_ENTITY
bctrl //Call _GET_AIMED_ENTITY (r3 now contains true or false if you are aiming at an entity)

cmpwi %r3, 0 //See if the return was false
beq :[END] //If its false, jump to end of this function, otherwise carry on.

lis %r11, 0x42 //r11 = 0x420000
ori %r11, %r11, 0x41D4 //r11 = 0x4241D4 (PLAYER_ID)
mtctr %r11 //Call PLAYER_ID
bctrl //Call PLAYER_ID (r3 now contains our player_id)

lis %r11, 0x42 //r11 = 0x420000
ori %r11, %r11, 0x19C8 //r11 = 0x4219C8 (GET_PLAYER_PED)
mtctr %r11 //Call GET_PLAYER_PED
bctrl //Call GET_PLAYER_PED (r3 now contains our Ped ID)

lis %r11, 0x40 //r11 = 0x400000
ori %r11, %r11, 0x79DC //r11 = 0x4079DC
mtctr %r11 //Call IS_PED_SHOOTING
bctrl //Call IS_PED_SHOOTING (r3 now contains true or false if we are shooting)

cmpwi %r3, 0 //See if it returns false
beq :[END] //If it did return false, meaning we are not shooting, jump to end of function

lis %r11, 0x1C7 //r11 = 0x1C70000
addic %r11, %r11, 0x6DE4 //r11 = 0x1C76DE4
addic %r11, %r11, 0x7000 //r11 = 0x1C7DDE4 target address
lwz %r3, 0(%r11) //r3 = readint32(0x1C7DDE4) so r3 = target

lis %r11, 0x3A //r11 = 0x3A0000
ori %r11, %r11, 0xD408 //r11 = 0x3AD408 (IS_ENTITY_A_PED)
mtctr %r11 //Call IS_ENTITY_A_PED
bctrl //Call IS_ENTITY_A_PED (r3 contains true/false if target is ped)

cmpwi %r3, 0 //see if entity is ped
beq :[VehCheck] //if its not a ped, jump to check if its a vehicle


lis %r11, 0x1C7 //r11 = 0x1C70000
addic %r11, %r11, 0x6DE4 //r11 = 0x1C76DE4
addic %r11, %r11, 0x7000 //r11 = 0x1C7DDE4 target address
lwz %r3, 0(%r11) //r3 = readint32(0x1C7DDE4) so r3 = target

li %r4, 0 //r4 = 0
lis %r11, 0x40 // r11 = 0x400000
ori %r11, %r11, 0x56A8 //r11 = 0x4056A8(IS_PED_IN_ANY_VEHICLE)
mtctr %r11 //Call IS_PED_IN_ANY_VEHICLE
bctrl //Call IS_PED_IN_ANY_VEHICLE returns true/false

cmpwi %r3, 0 //See if it returns false
beq :[END] //If ped isn't in vehicle, go to end of function


lis %r11, 0x1C7 //r11 = 0x1C70000
addic %r11, %r11, 0x6DE4 //r11 = 0x1C76DE4
addic %r11, %r11, 0x7000 //r11 = 0x1C7DDE4 target address
lwz %r3, 0(%r11) //r3 = readint32(0x1C7DDE4) so r3 = target

li %r4, 0 //r4 = 0
lis %r11, 0x40 //r11 = 0x400000
ori %r11, %r11, 0x8DA8 //r11 = 0x408DA8 (GET_VEHICLE_PED_IS_IN)
mtctr %r11 //Call GET_VEHICLE_PED_IS_IN
bctrl //Call GET_VEHICLE_PED_IS_IN r3 = vehicle ID

lis %r11, 0x1C7 //r11 = 0x1C0000
addic %r11, %r11, 0x6DE4 //r11 = 0x1C76DE4
addic %r11, %r11, 0x7000 //r11 = 0x1C7DDE4 target address
stw %r3, 0(%r11) //write new target (vehicle) to target address

lis %r11, 0x1C7 [VehCheck] //r11 = 0x1C70000
addic %r11, %r11, 0x6DE4 //r11 = 0x1C76DE4
addic %r11, %r11, 0x7000 //r11 = 0x1C7DDE4 target address
lwz %r3, 0(%r11) //r3 = readint32(0x1C7DDE4) so r3 = target

lis %r11, 0x3A //r11 = 0x3A0000
ori %r11, %r11, 0xD4E4 //r11 = 0x3AD4E4
mtctr %r11 //Call IS_ENTITY_A_VEHICLE
bctrl //Call IS_ENTITY_A_VEHICLE returns true/false into r3

cmpwi %r3, 0 //See if entity isn't vehiclebeq :[END] //Jump to end if its not a vehicle

lis %r11, 0x1C7 //r11 = 0x1C0000
addic %r11, %r11, 0x6DE4 //r11 = 0x1C76DE4
addic %r11, %r11, 0x7000 //r11 = 0x1C7DDE4 target address
lwz %r3, 0(%r11) //r3 = readint32(0x1C7DDE4) so r3 = target

lfs %f1, 4(%r11) //f1 (float register) = readFloat(0x1C7DDE4 + 4) so f1 = 100f

lis %r11, 0x45 //r11 = 0x450000
ori %r11, %r11, 0x1600 //r11 = 0x451600 (SET_VEHICLE_FORWARD_SPEED)
mtctr %r11 //Call SET_VEHICLE_FORWARD_SPEED
bctrl //Call SET_VEHICLE_FORWARD_SPEED

lis %r4, 0x1CE :[END] //r4 = 0x1CE0000 We broke PLAYER_PED_ID, so the following lines fix it
addic %r4, %r4, 0x4CF8 //r4 = 0x1CE4CF8
addic %r4, %r4, 0x4000 //r4 = 0x1CE8CF8
li %r3, 0 //r3 = 0
lwz %r4, 0x7000(%r4) //r4 = read4bytes(0x1CE8CF8 + 0x7000)
lwz %r4, 0x04(%r4) //r4 = read4bytes(r4 + 4)ld %r0, 0x80(%r1) //end function
mtlr %r0 //end function
addi %r1, %r1, 0x70 //end function
blr //end function return

Machine Code
Hook
(0x424224) - 3D 60 01 BF 61 6B A7 E0 7D 69 03 A6 4E 80 04 21
Custom Function (0x1BFA7E0) - F8 21 FF 91 7C 08 02 A6 F8 01 00 80 3D 60 00 42 61 6B 41 D4 7D 69 03 A6 4E 80 04 21 3C 80 01 C7 30 84 6D E4 30 84 70 00 3D 60 00 42 61 6B 39 74 7D 69 03 A6 4E 80 04 21 2C 03 00 00 41 82 01 10 3D 60 00 42 61 6B 41 D4 7D 69 03 A6 4E 80 04 21 3D 60 00 42 61 6B 19 C8 7D 69 03 A6 4E 80 04 21 3D 60 00 40 61 6B 79 DC 7D 69 03 A6 4E 80 04 21 2C 03 00 00 41 82 00 D8 3D 60 01 C7 31 6B 6D E4 31 6B 70 00 80 6B 00 00 3D 60 00 3A 61 6B D4 08 7D 69 03 A6 4E 80 04 21 2C 03 00 00 41 82 00 64 3D 60 01 C7 31 6B 6D E4 31 6B 70 00 80 6B 00 00 38 80 00 00 3D 60 00 40 61 6B 56 A8 7D 69 03 A6 4E 80 04 21 2C 03 00 00 41 82 00 84 3D 60 01 C7 31 6B 6D E4 31 6B 70 00 80 6B 00 00 38 80 00 00 3D 60 00 40 61 6B 8D A8 7D 69 03 A6 4E 80 04 21 3D 60 01 C7 31 6B 6D E4 31 6B 70 00 90 6B 00 00 3D 60 01 C7 31 6B 6D E4 31 6B 70 00 80 6B 00 00 3D 60 00 3A 61 6B D4 E4 7D 69 03 A6 4E 80 04 21 2C 03 00 00 41 82 00 28 3D 60 01 C7 31 6B 6D E4 31 6B 70 00 80 6B 00 00 C0 2B 00 04 3D 60 00 45 61 6B 16 00 7D 69 03 A6 4E 80 04 21 3C 80 01 CE 30 84 4C F8 30 84 40 00 38 60 00 00 80 84 70 00 80 84 00 04 E8 01 00 80 7C 08 03 A6 38 21 00 70 4E 80 00 20

Credits to NGU for the Thread
 
Last edited:
General chit-chat
Help Users
  • @ God:
    Nah you still have a long great life left, you are a good person bro. You are one of the most active person on this site maybe the top active one. I want to get the site back going like it was in the good ole days you remember I have resources and ways to get it back going
  • @ QM|T_JinX:
    i do remember and that would be awesome if that works
  • @ QM|T_JinX:
    yea i like to be active staff should always be online right and befor that i was active bc i wanted to be staff like you guys hahah
  • @ QM|T_JinX:
    i try to get it active again with xploit on ps4 but it didnt go all that well so here we are lol
  • @ God:
    You are right bro Staff should definitely be active and doing all they can to help and promote the site! I know I did I always done giveaways Premium fourms and I stayed active. Maybe we can bring it back that would be amazing! I think I can and we all can together as one
  • @ QM|T_JinX:
    im in for that bro
  • @ QM|T_JinX:
    yea i saw the giveaways back then great job on that too
  • @ God:
    Thank you for the kind words, but I do it just for the people and community I love to help out anyway I can and give back to this amazing community!
  • @ God:
    What time is It for you bro? You live in the UK right
  • @ QM|T_JinX:
    22:26 no the netherlands
  • @ QM|T_JinX:
    yea i always found you a great staff member doing giveaways and stuff you guys made me want to be staff hahaha
  • @ QM|T_JinX:
    the fun you guys had as staff members joking around hahah
  • @ QM|T_JinX:
    did you speak to younis about maybe a plan or something to get this working again ?
  • @ God:
    I remember now it’s been a while you know lol but I remember you live in the Netherlands. You are a great Super Moderator bro as wel you are always active helping and trying to do what you can respect for you as well! I’m in the United States it’s 4:32pm here. What you going to do tonight?
  • @ QM|T_JinX:
    thanks bro appreciate that nothing mutch thinking about after the movie playing some red dead 2 almost have it on platinum haha
  • @ QM|T_JinX:
    so you thinking about become staff again or no great to have you back on here hto
  • @ QM|T_JinX:
    tho
  • @ God:
    That’s the truth I see I come on here often here lately, sometimes I don’t chat! But yes I really want to help out and do everything I can bring the site back like it should be bro! Maybe we could work something out, I think I have the resources and community to help
  • @ QM|T_JinX:
    yea i have seen you on here just like unbound and some others but they didnt stick haha yea would be great to see this site grow again like you said like it should be
  • @ God:
    We will see we gotta talk to the boss man Younis
  • @ QM|T_JinX:
    for sure haha well lets hope right
  • @ QM|T_JinX:
    i still think if there was a jailbreak for ps4 this site would have been back for sure
  • @ God:
    That would be awesome I’m sure it will happen before long, technology now a days is crazy! If we can work out a deal and plans I’ll be spreading the word and doing a lot to make it better more attractive and helpful fourms tips giveaways and all
  • @ God:
    I’ve been messing and working with trying to make great CSS for the names. Like Staff Premium news writer etc..
  • @ QM|T_JinX:
    ok so hows that going /
      @ QM|T_JinX: ok so hows that going /
      Back
      Top