Jump to content

[Cydia Substrate Code Injection]SAS 3 Tweak.xm


209 posts in this topic

Recommended Posts

Posted

ty


 

 

 

 

Question:

 

MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN7profile16isArmorPurchasedEib")),(void*)armorPurchased, NULL);

 

this part (void*)armorPurchased, NULL);

can i put any name where is armorPurchased?

So it`s easier to call  it?

 

Like I can put like this too?

 

 
MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN7profile16isArmorPurchasedEib")),(void*)__ZN7profile16isArmorPurchasedEib, NULL); ?
 
Thank you <3
Posted

 

ty

 

 

 

 

Question:

 

MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN7profile16isArmorPurchasedEib")),(void*)armorPurchased, NULL);

 

this part (void*)armorPurchased, NULL);

can i put any name where is armorPurchased?

So it`s easier to call  it?

 

Like I can put like this too?

 

 
MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN7profile16isArmorPurchasedEib")),(void*)__ZN7profile16isArmorPurchasedEib, NULL); ?
 
Thank you <3

 

It'd be easier to call it "armorPurchased" rather than the symbol xD

Posted

 

ty

 

 

 

 

Question:

 

MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN7profile16isArmorPurchasedEib")),(void*)armorPurchased, NULL);

 

this part (void*)armorPurchased, NULL);

can i put any name where is armorPurchased?

So it`s easier to call  it?

 

Like I can put like this too?

 

 
MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN7profile16isArmorPurchasedEib")),(void*)__ZN7profile16isArmorPurchasedEib, NULL); ?
 
Thank you <3

 

There's no need to do that.

 

The first one is okay and it works. :)

 

Don't forget: http://armconverter.com/mshookgenerator/

Posted

It'd be easier to call it "armorPurchased" rather than the symbol xD

yeah that is what I wanted to know, so I don`t need to call the symbol I can put any name right?

 

so it will be easier to type the function to return...

instead of writing all that *****

:)

Posted

yeah that is what I wanted to know, so I don`t need to call the symbol I can put any name right?

 

so it will be easier to type the function to return...

instead of writing all that *****

:)

Yeah, any name will do :)

×
  • 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