Jump to content

Help With Ted Menu Hooking


Tay-K 47
Go to solution Solved by bR34Kr,

7 posts in this topic

Recommended Posts

So basically I need some help, I've been making a menu using ted's template but when I hook the function and test it in game it does nothing. Can one of y'all tell me what I'm missing or messed up. 

 

function used: 

// RVA: 0x18A5568 Offset: 0x18A5568 VA: 0x1018A5568

public float get_WalkSpeed { }

field used:

//private float walkSpeed; //0xB4

 

code: 

 

#import "Macros.h"

#import <CoreFoundation/CoreFoundation.h>

#import <substrate.h>

#import <Foundation/Foundation.h>

 

void (* ThirdPersonController_WalkSpeed)(void *ThirdPersonController);void _ThirdPersonController_WalkSpeed(void *ThirdPersonController) {

 

    if([switches isSwitchOn:@"Super Speed"]) {

    //private float walkSpeed; // 0xB4

*(float *)((uint64_t)ThirdPersonController + 0xB4) = 200.0f;

 

return ThirdPersonController_WalkSpeed(ThirdPersonController);}

}

void setup() {

 

MSHookFunction((void *)getRealOffset(0x1018A5568), (void *)_ThirdPersonController_WalkSpeed, (void**)&ThirdPersonController_WalkSpeed);

 

        [switches addSwitch:@"Super Speed"

                description:@"extra speed"];

                

                

}

Updated by Tay-K 47
forgot to add something
Link to comment
Share on other sites

wait @bR34Kr I got this compile error when I did that. 

Tweak.xm:26:39: error: expected '(' for function-style cast or type construction

ThirdPersonController_WalkSpeed(float , value);

 

I was looking on google about this and found it's a syntax error. Ive tried the fixed but I can't get (float value) to stop tripping.

 

code where error occurs:

{

 

ThirdPersonController_WalkSpeed(float value);

 

    shouldactivateSuperSpeed = false;

    

    }

Link to comment
Share on other sites

1 hour ago, Tay-K 47 said:

wait @bR34Kr I got this compile error when I did that. 

Tweak.xm:26:39: error: expected '(' for function-style cast or type construction

ThirdPersonController_WalkSpeed(float , value);

 

I was looking on google about this and found it's a syntax error. Ive tried the fixed but I can't get (float value) to stop tripping.

 

code where error occurs:

{

 

ThirdPersonController_WalkSpeed(float value);

 

    shouldactivateSuperSpeed = false;

    

    }

Share the full code and put it in a code block as this is unreadbale

Link to comment
Share on other sites

23 hours ago, bR34Kr said:

Share the full code and put it in a code block as this is unreadbale

#import "Macros.h"
#import <CoreFoundation/CoreFoundation.h>
#import <substrate.h>
#import <Foundation/Foundation.h>

//public void set_WalkSpeed(float value); // RVA: 0x18A5724 Offset: 0x18A5724 VA: 1018A5724

void (* ThirdPersonController_WalkSpeed) (void *ThirdPersonController, float value) = (void (*) (void *, float))getRealOffset(0x1018A5724);

    bool shouldactivateSuperSpeed = true;
    
void (*old_ThirdPersonController_Update) (void *ThirdPersonController);

void ThirdPersonController_Update (void *Update){

int item = [[switches getValueFromSwitch:@"SuperSpeed:"]intValue];

if([switches isSwitchOn:@"SuperSpeed:"])

{

if(shouldactivateSuperSpeed)

{

ThirdPersonController_WalkSpeed(float value);

    shouldactivateSuperSpeed = false;
    
    }

}

else

{

    shouldactivateSuperSpeed = true;

    }
}

void setup() {

MSHookFunction((void *)getRealOffset(0x1018A607C), (void *)ThirdPersonController_Update, (void**)&ThirdPersonController_Update);
        
        [switches addTextfieldSwitch:@"SuperSpeed:"
            description:@"Here you can enter your own speed amount"
              inputBorderColor:UIColorFromHex(0xffffff)];
                
                
}

Ok there, the error occurs here.

ThirdPersonController_WalkSpeed(float value); <--- here

Link to comment
Share on other sites

On 3/8/2021 at 11:41 PM, Tay-K 47 said:

#import "Macros.h"
#import <CoreFoundation/CoreFoundation.h>
#import <substrate.h>
#import <Foundation/Foundation.h>

//public void set_WalkSpeed(float value); // RVA: 0x18A5724 Offset: 0x18A5724 VA: 1018A5724

void (* ThirdPersonController_WalkSpeed) (void *ThirdPersonController, float value) = (void (*) (void *, float))getRealOffset(0x1018A5724);

    bool shouldactivateSuperSpeed = true;
    
void (*old_ThirdPersonController_Update) (void *ThirdPersonController);

void ThirdPersonController_Update (void *Update){

int item = [[switches getValueFromSwitch:@"SuperSpeed:"]intValue];

if([switches isSwitchOn:@"SuperSpeed:"])

{

if(shouldactivateSuperSpeed)

{

ThirdPersonController_WalkSpeed(float value);

    shouldactivateSuperSpeed = false;
    
    }

}

else

{

    shouldactivateSuperSpeed = true;

    }
}

void setup() {

MSHookFunction((void *)getRealOffset(0x1018A607C), (void *)ThirdPersonController_Update, (void**)&ThirdPersonController_Update);
        
        [switches addTextfieldSwitch:@"SuperSpeed:"
            description:@"Here you can enter your own speed amount"
              inputBorderColor:UIColorFromHex(0xffffff)];
                
                
}

Ok there, the error occurs here.

ThirdPersonController_WalkSpeed(float value); <--- here

ThirdPersonWalkSpeed just gets the current speed probably. In the update function, you need to actually change the value of the speed by maybe setting the speed variable or smth else.

Link to comment
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.

  • Our picks

    • Tiny Island Survival v1.0.22 Cheats +3
      Modded/Hacked App: Tiny Island Survival By GAME START LLC
      Bundle ID: jp.gamestart.pixelsurvival
      iTunes Store Link: https://apps.apple.com/us/app/tiny-island-survival/id1569917324?uo=4

       

      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - God mode
      - Unlimited heart
      - Unlimited coin
      • 0 replies
    • Tiny Island Survival v1.0.22 Cheats +3
      Modded/Hacked App: Tiny Island Survival By GAME START LLC
      Bundle ID: jp.gamestart.pixelsurvival
      iTunes Store Link: https://apps.apple.com/us/app/tiny-island-survival/id1569917324?uo=4

       

      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - God mode
      - Unlimited heart
      - Unlimited coin
      • 1 reply
    • Cooking Diary Restaurant Game v2.26.0 Jailed Cheats +3
      Modded/Hacked App: Cooking Diary® Restaurant Game by MyTona Pte Ltd
      Bundle ID: com.mytonallc.cookingdiary
      iTunes Store Link: https://apps.apple.com/us/app/cooking-diary-restaurant-game/id1214763610?uo=4&at=1010lce4


      Hack Features:
      - Infinite Currencies (Get some)
      - Freeze Boosters


      iOS Hack Download Link: https://iosgods.com/topic/110310-arm64-cooking-diary-restaurant-game-v1160-3/
        • Agree
      • 584 replies
    • Zombie Forest 3: Underground v1.0.13 Cheats +6
      Modded/Hacked App: Zombie Forest 3: Underground By Alexander Tavintsev
      Bundle ID: com.tavintsev.zf3
      iTunes Store Link: https://apps.apple.com/us/app/zombie-forest-3-underground/id6478110126?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Unlimited point
      - God mode
      - 500 slot inventory
      - Max level
      - Unlimited stamina
      - Loot multiply
      • 7 replies
    • Zombie Forest 3: Underground v1.0.13 Cheats +6
      Modded/Hacked App: Zombie Forest 3: Underground By Alexander Tavintsev
      Bundle ID: com.tavintsev.zf3
      iTunes Store Link: https://apps.apple.com/us/app/zombie-forest-3-underground/id6478110126?uo=4

       

      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Unlimited point
      - God mode
      - 500 slot inventory
      - Max level
      - Unlimited stamina
      - Loot multiply
      • 18 replies
    • MY HERO ULTRA IMPACT v2.23.0 +1 Cheat
      Modded/Hacked App: MY HERO ULTRA IMPACT By BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0379
      iTunes Store Link: https://apps.apple.com/us/app/my-hero-ultra-impact/id1548871462?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia or Sileo).


      Hack Features:
      - Weak Enemies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


      iOS Hack Download Link:

      Hidden Content
      Download Hack







      Installation Instructions:
      STEP 1: Download the .deb Cydia hack file from the link above.
      STEP 2: Copy the file over to your iDevice using any of the file managers mentioned above or skip this step if you're downloading from your iDevice.
      STEP 3: Using Filza or iFile, browse to where you saved the downloaded .deb file and tap on it.
      STEP 4: Once you tap on the file, you will need to press on 'Install' or 'Installer' from the options on your screen.
      STEP 5: Let Filza / iFile finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 6: If the hack is a Mod Menu, which is usually the case nowadays, the cheat features can be toggled in-game. Some cheats have options that can be enabled from your iDevice settings.
      STEP 7: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue down below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - AlyssaX64


      Cheat Video/Screenshots:

      N/A
      • 245 replies
    • Tower of God: Great Journey v2.1.38 +2 Cheats
      Modded/Hacked App: Tower of God: Great Journey By Co., Ltd. NGELGAMES
      Bundle ID: global.ngelgames.tog
      iTunes Store Link: https://apps.apple.com/us/app/tower-of-god-great-journey/id1638087959?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - x Dmg
      - x Def


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


      iOS Hack Download Link:

      Hidden Content
      Download Hack







      Installation Instructions:
      STEP 1: Download the .deb Cydia hack file from the link above. Use Safari/Google Chrome or other iOS browsers to download.
      STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
      STEP 3: If necessary, tap on the downloaded file, and then, you will need to press 'Install' from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 5: If the hack is a Mod Menu — which is usually the case nowadays — the cheat features can be toggled in-game. Some cheats have options that can be enabled from your iDevice settings.
      STEP 6: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue down below and we'll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - AlyssaX64


      Cheat Video/Screenshots:

      N/A
      • 139 replies
    • SwordArtOnline: IntegralFactor v2.4.9 +3 Cheats
      Modded/Hacked App: SwordArtOnline: IntegralFactor By Bandai Namco Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0335
      iTunes Store Link: https://apps.apple.com/us/app/swordartonline-integralfactor/id1347075404?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing / or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Attack Multiplier
      - No Skill Cooldown
      - No Skill Cost 


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


      iOS Hack Download Link:

      Hidden Content
      Download Hack







      Installation Instructions:
      STEP 1: Download the .deb Cydia hack file from the link above. Use Safari/Google Chrome or other iOS browsers to download.
      STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
      STEP 3: If necessary, tap on the downloaded file, and then, you will need to press 'Install' from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 5: If the hack is a Mod Menu — which is usually the case nowadays — the cheat features can be toggled in-game. Some cheats have options that can be enabled from your iDevice settings.
      STEP 6: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue down below and we'll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - Zahir


      Cheat Video/Screenshots:

      N/A
      • 174 replies
    • Vigilante : Thunder Bits Saga v1.1.36 +2 Cheats
      Modded/Hacked App: Vigilante : Thunder Bits Saga By TheSalt Co.,Ltd.
      Bundle ID: com.thesalt.vigilante.ios
      iTunes Store Link: https://apps.apple.com/us/app/vigilante-thunder-bits-saga/id6449689272?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Damage Multiplier
      - God Mode


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


      iOS Hack Download Link:

      Hidden Content
      Download Hack







      Installation Instructions:
      STEP 1: Download the .deb Cydia hack file from the link above. Use Safari/Google Chrome or other iOS browsers to download.
      STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
      STEP 3: If necessary, tap on the downloaded file, and then, you will need to press 'Install' from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 5: If the hack is a Mod Menu — which is usually the case nowadays — the cheat features can be toggled in-game. Some cheats have options that can be enabled from your iDevice settings.
      STEP 6: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue down below and we'll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - AlyssaX64


      Cheat Video/Screenshots:

      N/A
      • 26 replies
    • Genshin Impact Cheats v4.6.0 +3
      Modded/Hacked App: Genshin Impact by miHoYo Limited
      Bundle ID: com.miHoYo.GenshinImpact
      iTunes Store Link: https://apps.apple.com/us/app/genshin-impact/id1517783697?uo=4&at=1010lce4


      Hack Features:
      - Instant Skill
      - Instant Special Skill (Elemental Burst)
      - Infinite Stamina
        + Infinite Sprint Time
        + Infinite Swim Time
        + Infinite Fly Time


      iOS Hack Download Link: https://iosgods.com/topic/134035-genshin-impact-cheat-v101-3-instant-skill-more/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 3,530 replies
    • Genius Shooter: Monster Killer v4.1.0 Cheats +2
      Modded/Hacked App: Genius Shooter: Monster Killer By SAGI GAMES PTE. LTD.
      Bundle ID: com.sagi.barrett
      iTunes Store Link: https://apps.apple.com/us/app/genius-shooter-monster-killer/id1484026163?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - OHK & God mode
      - God mode only
      • 35 replies
    • OUTERPLANE - Strategy Anime v1.2.0 Cheats +4
      Modded/Hacked App: OUTERPLANE - Strategy Anime By Smilegate Holdings, Inc.
      Bundle ID: com.smilegate.outerplane.stove.ios
      iTunes Store Link: https://apps.apple.com/us/app/outerplane-strategy-anime/id1630880836?uo=4

       

      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - God mode
      - OHK
      - Unlimited AP
      - No CD skill
        • Winner
      • 82 replies
×
  • 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