Jump to content

App crashes when hooked function is called


princessXZ

10 posts in this topic

Recommended Posts

Hello everyone. 
I really need community's help now.

I am hacking using MSHookFunction and vm_writeData.
The game crashes when the function to hook is called in the case of MShookFunction, and when the function containing the rewritten instruction is called in the case of vm_writeData.
First, I thought that the processing after rewriting was bad. So I wrote the code to origin one with vm_writeData, but it still crashes when the function containing the instruction is called.
And now I think the offset is shifted:(

Here's how I get offset
1.Retrieve the desired binary decrypted using CrackerXI
2.Open it in IDA and find the desired function

I know there is an ASLR slide. I used iosgods' binarytool to remove aslr, but when opened in IDA the before and after offsets were the same.
I tried thinbinary as well. However, the process could not be completed normally due to an error on binarytool.

Below is an example of insturuction and offset:

15 00 38 1E

__text:00000001002B55F0                 FCVTZS          W21, S0

I write code like this

#import <substrate.h>
#import "vm_writeData.h"
%ctor {
	vm_writeData(0x1002B55F0, 0x1500381E); 
}

This only writes the original instruction but does not work. Crash when function containing this is called.

The game was made with cocos2dx
My phone is iphone8 and version is iOS13.3.1
Theos version is latest.

I would appreciate any advice.

Thank you.

Updated by mafusuke
Link to comment
Share on other sites

Hello boss. Thank you for your reply.

Is my way of getting the offset correct?(I'm worried about this)
and also depends on CyraSubstrate of checkra1n that MSHookFunction cannot be used properly?:c

I tried  MSHookMemory but I got this errror:c

Undefined symbols for architecture armv7:
  "_MSHookMemory", referenced from:
      _logosLocalCtor_7b309e66(int, char**, char**) in Tweak.xm.105cff38.o
ld: symbol(s) not found for architecture armv7


By the way I also tried LiveOffsetPatcher but crashed as well

I learned about the IOS hack for about a week but very defficult ( maybe the time to return to Android hack?:/ ) Sad Cartoon GIF

Updated by mafusuke
Link to comment
Share on other sites

59 minutes ago, mafusuke said:

Hello boss. Thank you for your reply.

Is my way of getting the offset correct?(I'm worried about this)
and also depends on CyraSubstrate of checkra1n that MSHookFunction cannot be used properly?:c
I tried MSHookMemory but got this error
error: use of undeclared identifier 'MSHookMemory'
( I got and copied Substrate.h from Cydia / Framework to / var / root / theos / include )
By the way I also tried LiveOffsetPatcher but crashed as well

I learned about the IOS hack for about a week but very defficult ( maybe the time to return to Android hack?:/ ) Sad Cartoon GIF

only took me 2 weeks to learn game hacking         is the game a unity game like does it have Global metadata file in it 

Link to comment
Share on other sites

3 minutes ago, Noctisx said:

start with unity first               non unity games are really hard to hack

Unable to hack neither Unity games nor NonUnity games without solving the problem that Anyway Hook function hook does not work:(

Updated by mafusuke
Link to comment
Share on other sites

11 hours ago, mafusuke said:

Hello boss. Thank you for your reply.

Is my way of getting the offset correct?(I'm worried about this)
and also depends on CyraSubstrate of checkra1n that MSHookFunction cannot be used properly?:c

I tried  MSHookMemory but I got this errror:c

Undefined symbols for architecture armv7:
  "_MSHookMemory", referenced from:
      _logosLocalCtor_7b309e66(int, char**, char**) in Tweak.xm.105cff38.o
ld: symbol(s) not found for architecture armv7


By the way I also tried LiveOffsetPatcher but crashed as well

I learned about the IOS hack for about a week but very defficult ( maybe the time to return to Android hack?:/ ) Sad Cartoon GIF

Sorry I forgot to mention boss @RooKiG

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

    • Good Pizza, Great Pizza v5.10.1 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Pizza, Great Pizza By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.pizzabusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-pizza-great-pizza/id911121200?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Diamonds


      Jailbreak required hack(s): [Mod Menu Hack] Good Pizza, Great Pizza v5.5.6 +2 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/
      • 55 replies
    • Good Pizza, Great Pizza v5.10.1 +2 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Pizza, Great Pizza By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.pizzabusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-pizza-great-pizza/id911121200?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Diamonds


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Good Pizza, Great Pizza v5.5.6 +2 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/
      • 30 replies
    • Ultimate Golf! v4.12.1 +1 Jailed Cheat [ Perfect Shot ]
      Modded/Hacked App: Ultimate Golf! By Miniclip.com
      Bundle ID: com.hypgames.ultimategolf
      iTunes Store Link: https://apps.apple.com/us/app/ultimate-golf/id1475163222
       

      Hack Features:
      - Perfect Shot -> Every ball hit will go straight.


      Jailbreak required hack(s): [Mod Menu Hack] Ultimate Golf! v4.4.3 +1 Cheat [ Perfect Shot ] - 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/
      • 122 replies
    • Ultimate Golf! v4.12.1 +1 Cheat [ Perfect Shot ]
      Modded/Hacked App: Ultimate Golf! By Miniclip.com
      Bundle ID: com.hypgames.ultimategolf
      iTunes Store Link: https://apps.apple.com/us/app/ultimate-golf/id1475163222


      Hack Features:
      - Perfect Shot -> Every ball hit will go straight.


      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/
      • 225 replies
    • Little Piggy Defense v1.05.10 +1 Jailed Cheat [ God Mode ]
      Modded/Hacked App: Little Piggy Defense By Game Duo Co.,Ltd.
      Bundle ID: net.gameduo.tbd
      iTunes Store Link: https://apps.apple.com/us/app/little-piggy-defense/id6467606457?uo=4


      Hack Features:
      - God Mode


      Jailbreak required hack(s): [Mod Menu Hack] Little Piggy Defense v1.00.11 +3 Cheats [ Damage & Defence ] - 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/
      • 37 replies
    • Little Piggy Defense v1.05.10 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: Little Piggy Defense By Game Duo Co.,Ltd.
      Bundle ID: net.gameduo.tbd
      iTunes Store Link: https://apps.apple.com/us/app/little-piggy-defense/id6467606457?uo=4


      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      - Tower Defence Multiplier


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Little Piggy Defense v1.00.11 +1 Jailed Cheat [ 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/
      • 65 replies
    • Family Life! v1.0.42 +2++ Jailed Cheats [ Cheat Menu ]
      Modded/Hacked App: Family Life! By SUPERSONIC STUDIOS LTD
      Bundle ID: com.xia.familylife
      iTunes Store Link: https://apps.apple.com/us/app/family-life/id6449919224?uo=4


      Hack Features:
      - Cheat Menu -> Head over to Features and toggle the ? button.
      -- Life Pass Purchased


      Jailbreak required hack(s): [Mod Menu Hack] Family Life! v1.0.32 +2++ Cheats [ Cheat Menu ] - 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/
      • 103 replies
    • Family Life! v1.0.42 +2++ Cheats [ Cheat Menu ]
      Modded/Hacked App: Family Life! By SUPERSONIC STUDIOS LTD
      Bundle ID: com.xia.familylife
      iTunes Store Link: https://apps.apple.com/us/app/family-life/id6449919224?uo=4


      Hack Features:
      - Cheat Menu -> Head over to Features and toggle the ? button.
      -- Life Pass Purchased


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Family Life! v1.0.32 +2++ Jailed Cheats [ Cheat Menu ] - 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/
      • 31 replies
    • Nine Chronicles M v170.1.0 +2 Cheats [ Damage & Defence ]
      Modded/Hacked App: Nine Chronicles M By Planetarium Labs Pte. Ltd.
      Bundle ID: com.planetariumlabs.ninechroniclesmobile
      iTunes Store Link: https://apps.apple.com/us/app/nine-chronicles-m/id6462364578?uo=4


      Hack Features:
      - Damage Multiplier
      - Defence Multiplier

      Note - Make sure you have Shad0w tweak enabled & set to Cydia Substrate.
      • 43 replies
    • [Heavens Red] ヘブンバーンズレッド v4.5.1 +2 Cheats
      Modded/Hacked App: ヘブンバーンズレッド By WFS, Inc.
      Bundle ID: com.heavenburnsred
      iTunes Store Link: https://apps.apple.com/jp/app/%E3%83%98%E3%83%96%E3%83%B3%E3%83%90%E3%83%BC%E3%83%B3%E3%82%BA%E3%83%AC%E3%83%83%E3%83%89/id1576831351?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 is downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy to Filza.
      STEP 3: If you copied to Filza tap on the file to being installation. Then, you will need to press on '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
      • 162 replies
    • Office Cat Tycoon: Idle games v1.0.7 +1 Cheat
      Modded/Hacked App: Office Cat Tycoon: Idle games By treeplla Inc.
      Bundle ID: com.tree.idle.cat.office
      iTunes Store Link: https://apps.apple.com/us/app/office-cat-tycoon-idle-games/id6471960010?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:
      - Reward Multiplier*

      *Turn Off When You Get Enough Currencies Otherwise It'll Go Negative


      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
      • 1 reply
    • Aether Gazer China - 深空之眼 v3.0.1 +2 Cheats
      Modded/Hacked App: 深空之眼 By Xiamen YongShi Technology Co.,Ltd.
      Bundle ID: com.yongshi.tenojo.ios
      iTunes Store Link: https://apps.apple.com/cn/app/%E6%B7%B1%E7%A9%BA%E4%B9%8B%E7%9C%BC/id1507863649?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
      • 42 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