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

    • Slayer Legend Cheats v600.0.1 +3
      Modded/Hacked App: Slayer Legend By GEAR2
      Bundle ID: com.gear2.growslayer
      iTunes Store Link: https://apps.apple.com/us/app/slayer-legend/id1635712706?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Freeze Currencies


      iOS Hack Download Link: https://iosgods.com/topic/186299-slayer-legend-cheats-v50084-3/
      • 56 replies
    • Rent Please! Landlord Sim Cheats v1.5.1 +2
      Modded/Hacked App: Rent Please! Landlord Sim By Shimmer Games Co., Ltd.
      Bundle ID: com.shimmergames.tenants.gb.en
      iTunes Store Link: https://apps.apple.com/us/app/rent-please-landlord-sim/id1645842987?uo=4


      Hack Features:
      - Infinite Currencies
      - No Ads


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/168311-rent-please-landlord-sim-v111-jailed-cheats-2/


      iOS Hack Download Link: https://iosgods.com/topic/168312-rent-please-landlord-sim-cheats-v111-2/
      • 120 replies
    • Battle Legion - Mass Battler Cheats v4.1.0 +4
      Modded/Hacked App: Battle Legion - Mass Battler By Traplight Ltd.
      Bundle ID: com.traplight.battleslides
      iTunes Store Link: https://apps.apple.com/us/app/battle-legion-mass-battler/id1435133042?uo=4&at=1010lce4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Instant Win
      - Enemies Don't Move
      - Enemies Don't Attack

      NOTE: This cheat will auto update itself so it work for all version. For Instant Win feature it will update in-game so it will freeze your game for few sec, just wait for it you only need to do this once. DO NOT QUIT THE GAME

      NOTE 2: I recommended turn on each features for each attack so the cheat can update itself smoothly


      iOS Hack Download Link: https://iosgods.com/topic/129669-battle-legion-mass-battler-cheats-all-versions-x-player-damage-more/
      • 513 replies
    • AdVenture Capitalist Cheats v9.5.0 +1
      Modded/Hacked App: AdVenture Capitalist By Hyper Hippo Publishing Ltd.
      Bundle ID: com.kongregate.mobile.adventurecapitalist
      iTunes Store Link: https://apps.apple.com/us/app/adventure-capitalist/id927006017?uo=4


      Hack Features:
      - Freeze Currencies

       
      Free Non-Jailbroken Hack:  https://iosgods.com/topic/82751-adventure-capitalist-v940-jailed-cheats-1/


      Hack Download Link: https://iosgods.com/topic/78370-adventure-capitalist-cheats-v940-1/
      • 1,171 replies
    • Travel Town - Merge Adventure Cheats v2.12.810 +1
      Modded/Hacked App: Travel Town By Magmatic Games Ltd
      Bundle ID: io.randomco.travel
      iTunes Store Link: https://apps.apple.com/us/app/travel-town/id1521236603?uo=4


      Hack Features:
      - Infinite Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/148953-travel-town-v231-jailed-cheats-1/

      iOS Hack Download Link: https://iosgods.com/topic/148951-travel-town-cheats-all-versions-1/
      • 116 replies
    • FarmVille 2: Country Escape Cheats v27.0 +1
      Modded/Hacked App: FarmVille 2: Country Escape by Zynga Inc.
      Bundle ID: com.zynga.FarmVille2CountryEscape
      iTunes Store Link: https://apps.apple.com/us/app/farmville-2-country-escape/id824318267?uo=4&at=1010lce4


      Hack Features:
      - Freeze Key


      iOS Hack Download Link: https://iosgods.com/topic/101607-arm64-farmville-2-country-escape-cheats-v1263984-1/
      • 1,959 replies
    • BitLife - Life Simulator Cheats v3.16.2 +2
      Modded/Hacked App: BitLife - Life Simulator by Candywriter, LLC
      Bundle ID: com.wtfapps.apollo16
      iTunes Store Link: https://apps.apple.com/us/app/bitlife-life-simulator/id1374403536?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash
      - Free Bitizen Purchase (Press Cancle) - Work for All Versions


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/84167-arm64-bitlife-life-simulator-v1412-jailed-cheats-2/


      Hack Download Link: https://iosgods.com/topic/84223-arm64-bitlife-life-simulator-cheats-all-versions-2/
      • 3,280 replies
    • Bloons TD 6 v45.3 +24 MEGA Cheats + [Free Paid IPA]
      Modded/Hacked App: Bloons TD 6 By Ninja Kiwi Limited
      Bundle ID: com.ninjakiwi.bloonstd6
      iTunes Store Link: https://apps.apple.com/us/app/bloons-td-6/id1118115766?uo=4


      Hack Features:
      - God Mode -updated- Clear Bloons -new
      - Auto Win Game -new
      - Set Round -new
      - Restart Game -new
      - Add Cash - new
      - Place towers anywhere
      - Multiple God Towers
      - Infinite Cash
      - Infinite Monkey Money
      - Infinite Powers
      - Unlock all Heros
      - Unlock all Knoledge
      - Unlock all towers
      - Unlock all upgrades 
      - Can unlock map (click locked map)
      - Skip tutorial (load the games first tutorial then exit app and start it. should skip tutorial) -new
      • 1,640 replies
    • Cat Snack Bar Cheats v1.0.148 +1
      Modded/Hacked App: Cat Snack Bar By treeplla Inc.
      Bundle ID: com.tree.idle.catsnackbar
      iTunes Store Link: https://apps.apple.com/us/app/cat-snack-bar/id6443895159?uo=4


      Hack Features:
      - Freeze Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/170232-cat-snack-bar-v1036-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/170233-cat-snack-bar-cheats-v1036-1/
      • 64 replies
    • Temple Run 2 Cheats v1.116.0 +8
      Modded/Hacked App: Temple Run 2 by Imangi Studios, LLC
      Bundle ID: com.imangi.templerun2
      iTunes Store Link: https://apps.apple.com/us/app/temple-run-2/id572395608?uo=4&at=1010lce4


      Hack Features:
      - No Ads Enabled
      - x2 Coin Enabled
      - Infinite Coin (Spend some)
      - Infinite Gem (Spend some)
      - All Characters Unlocked
      - Free iAP (Turn off all iap hacks before using this, also if itunes popup don't show then run ldrestart in terminal -- This is an issue with the jailbreak not the hack)
      - Auto Run
      - Coin Magnet


      iOS Hack Download Link: https://iosgods.com/topic/132609-arm64-temple-run-2-cheats-v1691-8/
      • 289 replies
    • Eatventure v1.26.1 Jailed Cheats +2
      Modded/Hacked App: Eatventure By Lessmore UG haftungsbeschraenkt
      Bundle ID: com.hwqgrhhjfd.idlefastfood
      iTunes Store Link: https://apps.apple.com/us/app/eatventure/id1600871388?uo=4


      Hack Features:
      - Freeze Currencies
      - Free iAP (Turn on inside iOSGods Mod Menu first)


      Jailbreak required hack(s): https://iosgods.com/topic/168170-eatventure-cheats-all-versions-1/


      iOS Hack Download IPA Link: https://iosgods.com/topic/168169-eatventure-v110-jailed-cheats-2/
      • 278 replies
    • Heavenly Demon IDLE RPG v1.052 +2 Jailed Cheats
      Modded/Hacked App: Heavenly Demon IDLE RPG By StandEgg Co., Ltd
      Bundle ID: com.standegg.glcheonma
      iTunes Store Link: https://apps.apple.com/us/app/heavenly-demon-idle-rpg/id6504672068?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:
      - Never Die
      - Reward Multiplier


      Jailbreak required hack(s): 


      iOS Hack Download IPA Link:

      Hidden Content

      Download via the iOSGods App








      PC Installation Instructions:
      STEP 1: If necessary, uninstall the app if you have it installed on your iDevice. Some hacked IPAs will install as a duplicate app. Make sure to back it up so you don't lose your progress.
      STEP 2: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see this tutorial topic.
      STEP 3: Download Sideloadly and install it on your PC.
      STEP 4: Open/Run Sideloadly on your computer, connect your iOS Device, and wait until your device name shows up.
      STEP 5: Once your iDevice appears, drag the modded .IPA file you downloaded and drop it inside the Sideloadly application.
      STEP 6: You will now have to enter your iTunes/Apple ID email login, press "Start" & then you will be asked to enter your password. Go ahead and enter the required information.
      STEP 7: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 8: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles/VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 9: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. Jailbroken iDevices can also use Sideloadly/Filza/IPA Installer to normally install the IPA with AppSync. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please 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
      • 65 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