Jump to content

2 posts in this topic

Recommended Posts

Posted (edited)

iDevice: Jailbroken (checkra1n) iPhone 7 w/iOS 14.4

How can I change the returned value of a method to an expected string?

Below is the method as seen in dnSpy...

public string MatchEndReason
{
	[Token(Token = "0x6002EC5")]
	[Address(RVA = "0x15D2450", Offset = "0x15D2450", VA = "0x1015D2450")]
	[Attribute(Name = "CompilerGeneratedAttribute", RVA = "0x1A7C30", Offset = "0x1A7C30")]
	get
	{
		return null;
	}
	[Token(Token = "0x6002EC6")]
	[Address(RVA = "0x15D2458", Offset = "0x15D2458", VA = "0x1015D2458")]
	[Attribute(Name = "CompilerGeneratedAttribute", RVA = "0x1A7C40", Offset = "0x1A7C40")]
	set
	{
	}
}

The corresponding strings in global-metadata.dat include "PointsCaptured", "OpponentsDestroyed", "TimeWasUp", and "LeftGame" (all without quotes).

If I leave the game, I want to change the MatchEndReason from "LeftGame" to any of the other match end reasons so I can get an ad view for rewards.

Below are the corresponding ARM64 functions from IDA Pro...

il2cpp:00000001015D2450		; DATA XREF: __data:0000000104871DC8↓o
il2cpp:00000001015D2450		LDR		X0, [X0,#0x20]
il2cpp:00000001015D2454		RET
il2cpp:00000001015D2458		; DATA XREF: __data:0000000104871DD0↓o
il2cpp:00000001015D2458		STR		X1, [X0,#0x20]
il2cpp:00000001015D245C		RET

If I just try to patch LDR X0,[X0,#0x20] to a corresponding string list number for the Match End Reason (i.e. patch to MOV X0, #1 by hex-editing the binary at that offset to 200080D2), the game just crashes. I'm guessing it's looking for the actual string, but I don't know how to assign a string to a register.

Any insight you can provide would be greatly appreciated.

Updated by scatrmynd
clarification/reiteration at end of post
Posted
On 5/2/2022 at 11:03 PM, scatrmynd said:
Address(RVA = "0x15D2450", Offset = "0x15D2450", VA = "0x1015D2450")]
	[Attribute(Name = "CompilerGeneratedAttribute", RVA = "0x1A7C30", Offset = "0x1A7C30")]

Which Offset are you trying to patch? also, are you testing the offsets/patch on the go or are you compiling it as an IPA then seeing if the hacks worked.

 

 

On 5/2/2022 at 11:03 PM, scatrmynd said:
il2cpp:00000001015D2450		; DATA XREF: __data:0000000104871DC8↓o
il2cpp:00000001015D2450		LDR		X0, [X0,#0x20]
il2cpp:00000001015D2454		RET
il2cpp:00000001015D2458		; DATA XREF: __data:0000000104871DD0↓o
il2cpp:00000001015D2458		STR		X1, [X0,#0x20]
il2cpp:00000001015D245C		RET

This isn't really needed as DNSPY show's you all the offsets. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Hempire v2.41.1 +29 OP Jailed Cheats
      Modded/Hacked App: Hempire - Weed Growing Game By LBC Studios Inc.
      Bundle ID: ca.lbcstudios.hempire
      iTunes Store Link: https://apps.apple.com/us/app/hempire-weed-growing-game/id1139379843?uo=4



      Hack Features:
      - VIP Enabled<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- Infinite Cash<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- Infinite Diamonds<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- Infinite Resources<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- Buy Property (Any level)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- Infinite Storage

      Warning- if you don’t already have an account passed the tutorial you will freeze with the non jailbroken version. To get around this first download from the AppStore, then play the tutorial and then sign in/create a Facebook account to save progress. Re download this hack and your good to go


      Jailbreak required hack(s): 
        • Like
      • 320 replies
    • Hempire v2.41.1 +29 OP Cheats
      Modded/Hacked App: Hempire - Weed Growing Game By LBC Studios Inc.
      Bundle ID: ca.lbcstudios.hempire
      iTunes Store Link: https://apps.apple.com/us/app/hempire-weed-growing-game/id1139379843?uo=4


      Hack Features:
      - VIP Enabled
      - Infinite Cash
      - Infinite Diamonds
      - Infinite Resources
      - Buy Property (Any level)
      - Infinite Storage
      - Add 50 Items
      - Remove 50 Items (To complete quest if storage full)


      Non-Jailbroken & No Jailbreak required hack(s): 
      • 287 replies
    • X2 Blocks: 2048 Number Match v3.6.7 +2 Jailed Cheats [Currency Hack]
      Modded/Hacked App: X2 Blocks: 2048 Number Match By Inspired Square FZE
      Bundle ID: com.inspiredsquare.blocks
      iTunes Store Link: https://apps.apple.com/us/app/x2-blocks-2048-number-match/id1480338372?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:
      - No Ads
      - Infinite Currency


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


      • 40 replies
    • X2 Blocks: 2048 Number Match v3.6.7 +2 [Currency Hack]
      Modded/Hacked App: X2 Blocks: 2048 Number Match By Inspired Square FZE
      Bundle ID: com.inspiredsquare.blocks
      iTunes Store Link: https://apps.apple.com/us/app/x2-blocks-2048-number-match/id1480338372?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:
      - No Ads
      - Infinite Currency


      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/


      • 32 replies
    • Idle Brick Breaker v2.1.72 +3 Jailed Cheats [Currency Hack]
      Modded/Hacked App: Idle Brick Breaker - Breakout By Tech Tree Games LLC
      Bundle ID: com.TechTreeGames.IdleBrickBreaker
      iTunes Store Link: https://apps.apple.com/us/app/idle-brick-breaker-breakout/id1522164283?uo=4


      Hack Features:
      - Infinite Cash
      - Infinite Gems
      - No reset on Prestige


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 46 replies
    • Idle Brick Breaker v2.1.72 +3 [Currency Hack]
      Modded/Hacked App: Idle Brick Breaker - Breakout By Tech Tree Games LLC
      Bundle ID: com.TechTreeGames.IdleBrickBreaker
      iTunes Store Link: https://apps.apple.com/us/app/idle-brick-breaker-breakout/id1522164283?uo=4


      Hack Features:
      - Infinite Cash
      - Infinite Gems
      - No reset on Prestige


      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/
      • 38 replies
    • Brick Out - Shoot the ball v25.0730.00 +5 Jailed Cheats [Currency Hack]
      Modded/Hacked App: Brick Out - Shoot the ball By Puzzle1Studio,inc.
      Bundle ID: com.puzzle1studio.ap.brickoutshoottheball
      iTunes Store Link: https://apps.apple.com/us/app/brick-out-shoot-the-ball/id1489900957?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:
      - No Ads
      - Free Revives


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


        • Like
      • 116 replies
    • Brick Out - Shoot the ball v25.0730.00 +5 [Currency Hack]
      Modded/Hacked App: Brick Out - Shoot the ball By Puzzle1Studio,inc.
      Bundle ID: com.puzzle1studio.ap.brickoutshoottheball
      iTunes Store Link: https://apps.apple.com/us/app/brick-out-shoot-the-ball/id1489900957?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:
      - No Ads
      - Add 10000 Rubies
      - Free Revives


      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/


      • 117 replies
    • Heroes Crew: Strategy Defense v1.2.15 [+6 Cheats]
      Modded/Hacked App: Heroes Crew: Strategy Defense By AlohaFactory
      Bundle ID: com.overdogs.heroes
      App Store Link: https://apps.apple.com/us/app/heroes-crew-strategy-defense/id6744350078?uo=4



      🤩 Hack Features

      - Add Currency
      - Unlimited Items
      - Unlimited Property (Heroes, Relic etc)
      - Activate VVip (Use after tutorial and only in main menu)
      - Activate Premium Hunt Pass (Use after tutorial and only in main menu)
      - Unlimited Battle Currency (Always Will Increase)
      • 50 replies
    • Heroes Crew: Strategy Defense v1.2.15 [+6 Jailed Cheats]
      Modded/Hacked App: Heroes Crew: Strategy Defense By AlohaFactory
      Bundle ID: com.overdogs.heroes
      App Store Link: https://apps.apple.com/us/app/heroes-crew-strategy-defense/id6744350078?uo=4



      🤩 Hack Features

      - Add Currency
      - Unlimited Items
      - Unlimited Property (Heroes, Relic etc)
      - Activate VVip (Use after tutorial and only in main menu)
      - Activate Premium Hunt Pass (Use after tutorial and only in main menu)
      - Unlimited Battle Currency (Always Will Increase)
      • 32 replies
    • Jetpack Joyride 2 Cheats v3.12.10 +1
      Modded/Hacked App: Jetpack Joyride 2 By Halfbrick
      Bundle ID: com.halfbrick.jetpackjoyride2
      iTunes Store Link: https://apps.apple.com/us/app/jetpack-joyride-2/id1598096399?uo=4


      Hack Features:
      - Infinite Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/141408-jetpack-joyride-2-v0120-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/141406-jetpack-joyride-2-cheats-all-versions-1/
      • 107 replies
    • Jetpack Joyride Cheats v1.100.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

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

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

       

      Non-Jailbroken Hack: https://iosgods.com/topic/119791-jetpack-joyride-v1971-jailed-cheats-8/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/119788-jetpack-joyride-cheats-v1972-8/
        • Agree
      • 505 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