Jump to content

2 posts in this topic

Recommended Posts

As seen in the title i want to know if this even possible.  Essentially i only to edit a branch call to go to my own function sort of like a hook but only for this one time as the function gets called in a different place but i only want to edit it in this specific instance. for example.

UnityEngine.Random

offset blah blah 

public static Vector2 get_insideUnitCircle() 

This function in this game gets called in multiple areas in different functions and returns a random vector2 in a circle of radius of 1.

i guess you can say i would like to hook it? only for this specific case and let the regular function do it thing in the other methods its use in.

Might be tedious in alot of cases having to rehook branch after a game update but it wouldnt bother me at all :)

Now here what i was thinking.  using the get realoffset function for where the branch occurs let's say the var name is Blah so ( uint64_t Blah = GRL(0xWhatever)) . Now for the first problem which i think i figured out which is two ways i didn't try yet first setting a void* var to my function then casting it as let the var for both ideas is Target so first way (void *var = myfunction  next uint64_t  Target = cast the var). Now for the second way which kind of using the same thing but using kitty scanner findsymbol with the location of my dylib and name of my function. Now after getting both locations doing a simple calculation of target -  Blah and setting the value to a new var named NewBranchLoc. Now I'm stuck i know this newer version of kittymemory with asm and formater just for it. but what if i get a negative hex value for my NewBranchLoc because in arm converter it doesnt give a hexcode back so im overthinking that the asm wont work. When i tried find a example of a negative NewBranchLoc in ida such as 0x1523A54                 BL              sub_1309D9C (bl #0xffffffffffde6348 ) it gives out some crazy looking hex in this case 0xffffffffffde6348 so it using some time of bitwise operation im guessing... 

Anyways sorry for the blabbering basically i just want to ask if what im trying to do is even possible? if so am in the right direction and just overthinking it?

if not is there a alternative other than just hooking the value (i know in some cases you could unlink?(i think is the term ...basically doing the effect you want with some type of check when hooking but for this case that wouldnt really work.) if are they any source to them? 

If not is there a to hook in the middle of function i saw something called a midhook function for pc somewhere else but some of the stuff there needed is only for pc i think.

Anyways thank you for your time this just has been bugging me and im a noob coder well noob+ hahaha.

 

Link to comment
https://iosgods.com/topic/188498-branch-to-my-own-function-hooking/
Share on other sites

update after some think i think i figured out why  it's giving me that weird hex for backward branch jumps such as bl #0xffffffffffde6348  by using the Two's Complement to represent a negative hex value. does the compiler do this itself i don't know hahaha but i will try once i figure out this new problem. 

 

Which is trying use the new kitty memory with the asm

So @Rook  or maybe @Ted2

im using ted2 old mod menu template im ios 14.4 using dopamine

in my makefile i added 

$(TWEAK_NAME)_OBJ_FILES = $(KITTYMEMORY_PATH)/Deps/Keystone/libs-ios/$(THEOS_CURRENT_ARCH)/libkeystone.a ( for this i changed $(Tweak name) to my name so tweakname_OBJ_FILES so i believe i did the right thing

and

KITTYMEMORY_PATH = path/to/KittyMemory for this i simply did KITTYMEMORY_PATH = KittyMemory

i didnt add 

-DkNO_KEYSTONE Since i wanted to use the arm function.

Anyways i didnt even use the asm function i just wanted to compile my current mod with the new kittymemory

and the result were all some stuff recompiled

but at the tweak linking procress i got some warnings 1 of many examples 

ld: warning: object file (KittyMemory/Deps/KeyStone/libs-ios/arm64/libkeystone.a(X86MCTargetDesc.cpp.o)) was built for newer ios version (14.0) than being linked (9.0)

So it was spamming me this for different cpp.o's in libkeystone.a

another specific ld warning was this

 ld: warning: Could not find or use auto - linked framework 'UniformTypeIdentifiers' undefined symbols for architecture arm64:

"___chkstk_darwin", referenced from: getMemoryBufferForStream(int, llvm_ks::Twine const&) in libkeystone.a(MemoryBuffer.cpp.o)

llvm_ks::APFloat::roundSignificandWithExponent(unsigned long long const*, unsigned int, int, llvm_ks::APFloat::roundingmode) in  libkeystone.a(APFloat.cpp.o)

ld: symbol(s) not found for architecture arm64

clang-16: error: linker command failed with exit code 1(use -v to see invocation)

 

Some INFO like i said using a old reliable ted2 mode menu temp, Sdk 12.4, and i seen on the github it said c++11 or higher in my makefile myname_CCFLAGS  its has -std=c++11 i dont know if that its.

So I'm asking for help on this or a provided mod menu template with this new kitty memory please! I feel like I'm so close!!

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

    • [Exclusive] Archero 2 v1.0.13 +3++ Mod
      Modded/Hacked App: Archero 2 By HABBY PTE. LTD.
      Bundle ID: com.xq.archeroii
      iTunes Store Link: https://apps.apple.com/us/app/archero-2/id6502820653?uo=4

      ATTENTION!


      using cheats can lead to account ban
      USE IT ON UR OWN RISK

      CHEATS NOT TESTED FOR BANS

       

      🤩 Hack Features

      - Load Mod - after activation or deactivation need restart app
      - Boost Skill Quality - better quality skills for learn
      - Block Rush - disable rusher also works for boss rush
      - Spawn Center - mobs fixed spawn at center
      - Boost Knockback - much more powerful knockback
      - Replace skill on learn - replacing skill (if this skill not yet learned) on learning - u can activate one before learning or activate all and they will be learnt in order they are in list
      - Account Switcher - activate and u got 0-9 accounts
        • Winner
      • 3 replies
    • Top Troops: Adventure v2.2.3 +2 Jailed Cheats
      Modded/Hacked App: Top Troops: Adventure RPG By Zynga Inc.
      Bundle ID: game.socialempiresmerge
      iTunes Store Link: https://apps.apple.com/us/app/top-troops-adventure-rpg/id1574634455?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:
      - x4 currency earn
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 322 replies
    • Top Troops v2.2.3 Cheats +2 Cheats
      Modded/Hacked App: Top Troops: Adventure RPG By Zynga Inc.
      Bundle ID: game.socialempiresmerge
      iTunes Store Link: https://apps.apple.com/us/app/top-troops-adventure-rpg/id1574634455?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:
      - Frozen currency
      - x4 currency earn
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 278 replies
    • Disney Speedstorm v1.10.6 +2 Jailed Cheats [ Unlimited Nitro ]
      Modded/Hacked App: Disney Speedstorm By Gameloft
      Bundle ID: com.gameloft.disneyspeedstorm
      iTunes Store Link: https://apps.apple.com/us/app/disney-speedstorm/id6449708682?uo=4


      Hack Features:
      - Unlimited Nitro -> Will not decrease.
      - Instant Nitro Max


      Jailbreak required hack(s): [Mod Menu Hack] Disney Speedstorm v1.5.0 +2 Cheats [ Unlimited Nitro ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 72 replies
    • Disney Speedstorm v1.10.6 +2 Cheats [ Unlimited Nitro ]
      Modded/Hacked App: Disney Speedstorm By Gameloft
      Bundle ID: com.gameloft.disneyspeedstorm
      iTunes Store Link: https://apps.apple.com/us/app/disney-speedstorm/id6449708682?uo=4


      Hack Features:
      - Unlimited Nitro -> Will not decrease.
      - Instant Nitro Max


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Disney Speedstorm v1.5.0 +2 Jailed Cheats [ Unlimited Nitro ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 61 replies
    • Hot in Hollywood v1.12 +1++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Hot in Hollywood By SodeePI Labs, LLC
      Bundle ID: com.sodeepilabs.glamsquad
      iTunes Store Link: https://apps.apple.com/gb/app/hot-in-hollywood/id1604253094?uo=4


      Hack Features:
      - Unlimited Currencies


      Jailbreak required hack(s): [Mod Menu Hack] Hot in Hollywood v0.90 +1++ Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Like
      • 73 replies
    • Hot in Hollywood v1.12 +1++ Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Hot in Hollywood By SodeePI Labs, LLC
      Bundle ID: com.sodeepilabs.glamsquad
      iTunes Store Link: https://apps.apple.com/gb/app/hot-in-hollywood/id1604253094?uo=4


      Hack Features:
      - Unlimited Currencies


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Hot in Hollywood v0.90 +1++ Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Winner
        • Like
      • 26 replies
    • Kitty Keep v1.14.2 +2 Jailed Cheats [ God Mode ]
      Modded/Hacked App: Kitty Keep™ By Funovus LLC
      Bundle ID: com.funovus.wildcastle2
      iTunes Store Link: https://apps.apple.com/us/app/kitty-keep/id6476017989?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 Mana -> Will not decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Kitty Keep v1.1.3 +2 Cheats [ God Mode ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
        • Thanks
        • Winner
        • Like
      • 16 replies
    • Kitty Keep v1.14.2 +2 Cheats [ God Mode ]
      Modded/Hacked App: Kitty Keep™ By Funovus LLC
      Bundle ID: com.funovus.wildcastle2
      iTunes Store Link: https://apps.apple.com/us/app/kitty-keep/id6476017989?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 Mana -> Will not decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Kitty Keep v1.1.3 +2 Jailed Cheats [ God Mode ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Haha
        • Thanks
        • Winner
        • Like
      • 26 replies
    • Matchcreek Motors: Custom Cars v0.6.14498 +5 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Matchcreek Motors: Custom Cars By Hutch Games Ltd
      Bundle ID: com.hutchgames.carsm3
      iTunes Store Link: https://apps.apple.com/us/app/matchcreek-motors-custom-cars/id6566187035?uo=4

       
       

      🤩 Hack Features

      - Unlimited Currencies -> Will increase instead of decrease.
      - Freeze Lives
      - Freeze Pre-Game Boosters
      - Freeze Boosters
      - Freeze Moves
        • Like
      • 2 replies
    • Matchcreek Motors: Custom Cars v0.6.14498 +5 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Matchcreek Motors: Custom Cars By Hutch Games Ltd
      Bundle ID: com.hutchgames.carsm3
      iTunes Store Link: https://apps.apple.com/us/app/matchcreek-motors-custom-cars/id6566187035?uo=4

       
       

      🤩 Hack Features

      - Unlimited Currencies -> Will increase instead of decrease.
      - Freeze Lives
      - Freeze Pre-Game Boosters
      - Freeze Boosters
      - Freeze Moves
      • 0 replies
    • Cryptogram Word Brain Puzzle v2.6.0 [ +4 Cheats ] Auto Win
      Modded/Hacked App: Cryptogram: Word Brain Puzzle By Joyteractive Limited
      Bundle ID: com.puzzle.cryptogram
      iTunes Store Link: https://apps.apple.com/us/app/cryptogram-word-brain-puzzle/id1644099880?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:
      - Lives
      - Hint Max 
      - Auto Win [ Put Any Word ]
      - No ADS


      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
        • Like
      • 6 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