Jump to content

10 posts in this topic

Recommended Posts

So i'm trying to add a new feature in my subway surfers modmenu,

and i found the method in dnspy, but its a public void with no arguments.

Here's a screenshot

https://imgur.com/a/pknS8x6

This hack allows me to press a 'Music Button' in settings to give me 10,000 of coins/keys/tokens, its more like a debug setting.

so im guessing i would need it to be bool? but its not a bool argument.

 

I know this hack is possible as I've seen it before, but I've had little experience with voids,

but i cant get it to work so far with my attempts.

Also i'm trying to implement this into the ted2 mod menu if that means anything?

Updated by Jacksonlane24
  • Like 1
Link to comment
https://iosgods.com/topic/129751-hacking-voids/
Share on other sites

Learn about functions first. This should be handled like any other type, the only difference is their prototype and required arguments. You don't actually want to hack those, you want to call these functions. Read Guest's tutorials about Function Pointers etc. it'll serve you for this. If you only want to press the music button to do that you just need to patch and you have no use for a menu. The new assembly would be to branch to one of those functions on click. If you want to execute them all then do two BLs and make sure you branch to the link register at the end of each of the functions you BL to and then do a normal branch.

  • Informative 1
Link to comment
https://iosgods.com/topic/129751-hacking-voids/#findComment-4092171
Share on other sites

59 minutes ago, bR34Kr said:

Learn about functions first. This should be handled like any other type, the only difference is their prototype and required arguments. You don't actually want to hack those, you want to call these functions. Read Guest's tutorials about Function Pointers etc. it'll serve you for this. If you only want to press the music button to do that you just need to patch and you have no use for a menu. The new assembly would be to branch to one of those functions on click. If you want to execute them all then do two BLs and make sure you branch to the link register at the end of each of the functions you BL to and then do a normal branch.

Thanks for the detailed reply, I was actually able to branch the functions and offsets and got the cheat to work when pressing the music button, of course I want to try to do multiple branches at a time, because; i put these into a modmenu as there’s a lot, but the thing is I can only enable one at a time, like I can’t do ... give 10k coins and give 10k gems ... at the same time so is it possible to branch multiple functions to the same offset (music button) and for them to both work at the same time? Also I’ll read into guest’s topic on function pointers, Thank you bR34Kr

Updated by Jacksonlane24
Typo
Link to comment
https://iosgods.com/topic/129751-hacking-voids/#findComment-4092253
Share on other sites

9 minutes ago, Jacksonlane24 said:

Thanks for the detailed reply, I was actually able to branch the functions and offsets and got the cheat to work when pressing the music button, of course I want to try to do multiple branches at a time, because; i put these into a modmenu as there’s a lot, but the thing is I can only enable one at a time, like I can’t do ... give 10k coins and give 10k gems ... at the same time so is it possible to branch multiple functions to the same offset (music button) and for them to both work at the same time? Also I’ll read into guest’s topic on function pointers, Thank you bR34Kr

Ah wait no I was wrong. Do a BL for two of the functions so it branches with a link to the function and then for the last call do a regular branch

Link to comment
https://iosgods.com/topic/129751-hacking-voids/#findComment-4092268
Share on other sites

17 minutes ago, bR34Kr said:

Ah wait no I was wrong. Do a BL for two of the functions so it branches with a link to the function and then for the last call do a regular branch

Just so I’m thinking right, what exactly is a BL?

and thanks 

Link to comment
https://iosgods.com/topic/129751-hacking-voids/#findComment-4092295
Share on other sites

9 minutes ago, bR34Kr said:

BL = Branch with Link

B = Branch

 

Learn about it on the instruction set

Thanks very much, also I know it’s off topic for this but, what’re the steps of making a chams or esp? 

Link to comment
https://iosgods.com/topic/129751-hacking-voids/#findComment-4092308
Share on other sites

15 minutes ago, bR34Kr said:

Make a new topic ;) Also, read the tuts. That stuff you learn by yourself

Alright thanks haha I just made a topic so jsut waiting for approval :) 

Link to comment
https://iosgods.com/topic/129751-hacking-voids/#findComment-4092354
Share on other sites

On 7/7/2020 at 8:28 PM, Jacksonlane24 said:

Alright thanks haha I just made a topic so jsut waiting for approval :) 

Try finding some sort of function to hook onto and then call it with some basic function pointers

Link to comment
https://iosgods.com/topic/129751-hacking-voids/#findComment-4113822
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines