Jump to content

Struggles with MSHook New way


Go to solution Solved by Rook,

43 posts in this topic

Recommended Posts

  • Replies 42
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted

you know how you gave me the thing with underscores? the one you found in the binary? can you tell me how the other ones are in that way?


the MSfindSymbol

Posted

you know how you gave me the thing with underscores? the one you found in the binary? can you tell me how the other ones are in that way?

the MSfindSymbol

What do you mean?

you know how you gave me the thing with underscores? the one you found in the binary? can you tell me how the other ones are in that way?

the MSfindSymbol

mean this?

 

bxinHkW.png

Posted

What do you mean?

 

you gave me this: (_bikeInfo_isReverse) for "isReverse"

and looking at your tweak.xm, i see you have other functions 

can you also give me those functions in this format?

Posted

you gave me this: (_bikeInfo_isReverse) for "isReverse"

and looking at your tweak.xm, i see you have other functions 

can you also give me those functions in this format?

oh yeah, it's actually the same almost

_bikeInfo_isAllWheel

_bikeInfo_isExtraChance

_bikeInfo_isGhost

_bikeInfo_isHog

_bikeInfo_isReverse

_bikeInfo_isReverse

Posted

oh yeah, it's actually the same almost

_bikeInfo_isAllWheel

_bikeInfo_isExtraChance

_bikeInfo_isGhost

_bikeInfo_isHog

_bikeInfo_isReverse

_bikeInfo_isReverse

 

oh okay so they're all in the same target class so you would type

%hook bikeinfo

-(bool) isAllWheel {

return TRUE;

}

-(bool) isExtraChance {

return TRUE;

}

etc etc

then when you're done type %end

Posted

oh okay so they're all in the same target class so you would type

%hook bikeinfo

-(bool) isAllWheel {

return TRUE;

}

-(bool) isExtraChance {

return TRUE;

}

etc etc

then when you're done type %end

like this? VgJsNLc.png

Posted

the whole point is, it isn't in Flex anymore. I opened the binary and found it was written here. so I followed shmoo's new MSHook tutorial, but that's not a MShook patcher but tweak

 

You did it right the first time for a tweak.

 

Let me get you some example code for a patcher

Posted

thats what id do and it'd work

You tried it ?

You did it right the first time for a tweak.

 

Let me get you some example code for a patcher

Alright, thanks :)

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