Jump to content

8 posts in this topic

Recommended Posts

Posted

Is it possible to fishhook the methods that are found in global-meta?

Ive tried using the symbols like Var$$GetGems for example but it doesn't work.

 

#include <substrate.h>
#import <fishhook.h>

static int (*orig_gems)();

int my_gems() {
        return 9999;
}

%ctor {
	rebind_symbols((struct rebinding[1]){{"Var$$GetGems", (void *)my_gems, (void **)&orig_gems}},1);
}

 

Posted
  On 3/13/2020 at 7:27 AM, lockdownderp said:

@Ted2 Or @DanYal you know?

Expand  

What is a fishhook?

Also, note that "Var$$GetGems" is NOT a symbol, this is il2cppdumper's way of outputting it, which means you can't hook by that!

Originally it's sub_x, so there are no symbols which means you gotta hook by it's offset. 

Posted
  On 3/13/2020 at 6:48 PM, Ted2 said:

What is a fishhook?

Also, note that "Var$$GetGems" is NOT a symbol, this is il2cppdumper's way of outputting it, which means you can't hook by that!

Originally it's sub_x, so there are no symbols which means you gotta hook by it's offset. 

Expand  

Fishhook is the theos-jailed version of mshookfunction. 
 

Ok so its not possible to do then as you cant hook sub_x on theos-jailed :(

Posted
  On 3/15/2020 at 6:59 AM, lockdownderp said:

@Zahir i saw @Ted2 mentioned you in one of his other posts about sub_x and theos-jailed.

Is it possible to hack sub_x on theos-jailed? If so can you please share how so i can release some hacks :) 

Expand  

You can, by directly patching the binary.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • 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