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

    • Conquest Girls : AFK Idle RPG Cheats v2.11.59 +4
      Modded/Hacked App: Conquest Girls : AFK Idle RPG By Toast.Co.,Ltd
      Bundle ID: com.greenspring.conquestgirls
      iTunes Store Link: https://apps.apple.com/us/app/conquest-girls-afk-idle-rpg/id6670455686?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Attack Speed
      - Multiply Attack Range
      - Freeze Currencies (Some arena / section may not support this)

       


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/189660-conquest-girls-afk-idle-rpg-v21153-jailed-cheats-4/
       


      iOS Hack Download Link: https://iosgods.com/topic/186829-conquest-girls-afk-idle-rpg-cheats-v21153-4/
      • 21 replies
    • Jetpack Joyride Cheats v1.97.1 +8
      Modded/Hacked App: Jetpack Joyride by Halfbrick
      Bundle ID: com.halfbrick.jetpack
      iTunes Store Link: https://apps.apple.com/us/app/jetpack-joyride/id457446957?uo=4&at=1010lce4


      Hack Features:
      - Infinite Coins
      - High Score
      - God Mode
      - Free Shopping
      - Coin Magnet Enabled
      - Increased Magnet Range
      - All Items Owned
      - All Gadgets Unlocked


      iOS Hack Download Link: https://iosgods.com/topic/119788-arm64-jetpack-joyride-cheats-all-versions-8/
      • 490 replies
    • Idle MoonRabbit: AFK RPG Cheats v1.112.0 +4
      Modded/Hacked App: Idle MoonRabbit: AFK RPG By Able Games Co. ,Ltd.
      Bundle ID: com.TheAbleGames.DalToKi
      iTunes Store Link: https://apps.apple.com/us/app/idle-moonrabbit-afk-rpg/id1599684924?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Multiply Stats
      - Instant Kill


      iOS Hack Download Link: https://iosgods.com/topic/167497-idle-moonrabbit-afk-rpg-cheats-v1629-4/
      • 225 replies
    • Hollywood Story: Fashion Star Cheats v12.9.5 +4
      Modded/Hacked App: Hollywood Story By nanobitsoftware.com
      Bundle ID: com.nanobitsoftware.hollywoodstory
      iTunes Store Link: https://itunes.apple.com/us/app/hollywood-story/id876656488?mt=8&uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash
      - Infinite Gems
      - Infinite Energy
      - Infinite Stars Point
       


      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/
      • 768 replies
    • Warhammer 40,000: Tacticus v1.25.29 +4 Cheats
      Modded/Hacked App: Warhammer 40,000: Tacticus By Snowprint Studios AB
      Bundle ID: com.snowprintstudios.tacticus
      iTunes Store Link: https://apps.apple.com/us/app/warhammer-40-000-tacticus/id1599937506?uo=4

      Hack Features:
      - Always Win [ even if all your characters die, you win ]
      - Custom Ability Stats
      - Ability Always Available
      - Game Speed Multiplier

      Note: Use characters that do ability attack to multiple enemies like Varro Tigurius & Bellator


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/163492-warhammer-40000-tacticus-v1133-3-cheats-for-jailed-idevices/


      iOS Hack Download Link: https://iosgods.com/topic/163377-warhammer-40000-tacticus-v1133-4-cheats/
      • 277 replies
    • Penguin Isle Cheats v1.80.0 +1
      Modded/Hacked App: Penguin Isle By HABBY PTE. LTD.
      Bundle ID: com.fantome.penguinsisle
      iTunes Store Link: https://apps.apple.com/us/app/penguin-isle/id1474314811?uo=4


      Hack Features:
      - Infinite Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/148314-penguin-isle-v1363-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/148312-penguin-isle-cheats-all-versions-1/
      • 49 replies
    • My Cafe — Restaurant game Cheats v2025011.0.652 +3
      Modded/Hacked App: My Cafe — Restaurant game by Melsoft
      Bundle ID: com.Melesta.MyCafe
      iTunes Store Link: https://apps.apple.com/us/app/my-cafe-restaurant-game/id1068204657?uo=4&at=1010lce4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate or Substitute.
      - PreferenceLoader (from Cydia or Sileo).


      Hack Features:
      - Unlimited Gems
      - VIP Level 7 (probably visual)


      Notes:
      - To get unlimited gems, just get some gems from the customers.
      - If you purchase using gems from certain places like the VIP Store, it will cause you to restart the game
      - If you have "a lot" gems, you can turn off cheats to see if it works without the hax.
      - "a lot" means a lot of gems 

      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 iFile or Filza, browse to where you saved the downloaded .deb file and tap on it.
      STEP 4: Once you tap on the file, you will then need to press on 'Installer' or 'Install' from the options on your screen.
      STEP 5: Let iFile / Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 6: Now open your iDevice settings and scroll down until you see the settings for this cheat and tap on it. If the hack is a Mod Menu, the cheat features can be toggled in-game.
      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 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:
      - @Zahir


      Cheat Video/Screenshots:
      • 637 replies
    • The Battle Cats Cheats v14.1.0 +2
      Modded/Hacked App: The Battle Cats by ponos corporation
      Bundle ID: jp.co.ponos.battlecatsen
      iTunes Store Link: https://apps.apple.com/us/app/the-battle-cats/id850057092?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash
      - OHK Linked

      NOTE: Please don't ask me for currencies hack since this is the best I can do


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/124447-arm64-the-battle-cats-v940-jailed-cheats-2/


      iOS Hack Download Link: https://iosgods.com/topic/124448-arm64-the-battle-cats-cheats-v950-2/
      • 900 replies
    • Gran Saga Idle:KNIGHTSxKNIGHTS Cheats v1.24.2 +2
      Modded/Hacked App: Gran Saga Idle:KNIGHTSxKNIGHTS By Kakao Games Corp.
      Bundle ID: com.piedpixels.gransagaidle
      iTunes Store Link: https://apps.apple.com/us/app/gran-saga-idle-knightsxknights/id6482985104?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense


      iOS Hack Download Link: https://iosgods.com/topic/182761-gran-saga-idleknightsxknights-cheats-v101-2/
      • 252 replies
    • Cat Snack Bar Cheats v1.0.160 +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/
      • 67 replies
    • Dragons: Rise of Berk v1.93.5 +5 Cheats
      Modded/Hacked App: Dragons: Rise of Berk By Jam City, Inc.
      Bundle ID: com.ludia.dragons
      iTunes Store Link: https://apps.apple.com/us/app/dragons-rise-of-berk/id667461862?uo=4


      Hack Features:
      - Free Shopping (shows original cost but able to purchase regardless)
      - Free Skipping
      - Free Odin's Market Shopping
      - Odin's Market Packs Never Reduce
      - Currency Hack [Spend to Gain - reverts to zero on next launch]
      - Enable Rider's Club


      Non-Jailbroken & No Jailbreak required hack(s):  https://iosgods.com/topic/79228-dragons-rise-of-berk-v1794-4-cheats-for-jailed-idevices/


      iOS Hack Download Link: https://iosgods.com/topic/139612-dragons-rise-of-berk-v1794-6-cheats/
      • 665 replies
    • BitLife - Life Simulator Cheats v3.17.5 +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,414 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