Jump to content

11 posts in this topic

Recommended Posts

Posted

IDA Code:

             loc_A1AAC0                              ; CODE XREF: Labyrinth$$EnterBattleZone+2C9C↑j
il2cpp:00A1AAC0 BB 30 D0 E5                 LDRB            R3, [R0,#0xBB]
il2cpp:00A1AAC4 02 00 13 E3                 TST             R3, #2
il2cpp:00A1AAC8 08 00 00 0A                 BEQ             loc_A1AAF0
il2cpp:00A1AACC 74 30 90 E5                 LDR             R3, [R0,#0x74]
il2cpp:00A1AAD0 00 00 53 E3                 CMP             R3, #0
il2cpp:00A1AAD4 05 00 00 1A                 BNE             loc_A1AAF0
il2cpp:00A1AAD8 8E 15 F8 EB                 BL              il2cpp_runtime_class_init
il2cpp:00A1AADC 34 08 9F E5                 LDR             R0, =(off_4840C38 - 0xA1AAE8)
il2cpp:00A1AAE0 00 00 9F E7                 LDR             R0, [PC,R0] ; off_4840C38 ; RestoreGameplay_TypeInfo
il2cpp:00A1AAE4 00 00 90 E5                 LDR             R0, [R0] ; RestoreGameplay_TypeInfo
il2cpp:00A1AAE8 5C 10 90 E5                 LDR             R1, [R0,#0x5C] ; method
il2cpp:00A1AAEC 1C 20 91 E5                 LDR             R2, [R1,#28]
il2cpp:00A1AAF0
il2cpp:00A1AAF0             loc_A1AAF0                              ; CODE XREF: Labyrinth$$EnterBattleZone+2D44↑j
il2cpp:00A1AAF0                                                     ; Labyrinth$$EnterBattleZone+2D50↑j
il2cpp:00A1AAF0 01 00 52 E3                 CMP             R2, #1
il2cpp:00A1AAF4 02 00 00 1A                 BNE             loc_A1AB04
il2cpp:00A1AAF8 04 00 9D E5                 LDR             R0, [SP,#0x28+var_24] ; this
il2cpp:00A1AAFC 9C 1E 00 EB                 BL              Labyrinth$$Victory
il2cpp:00A1AB00 4E 01 00 EA                 B               loc_A1B040

I want hook 0xA1AAF0 CMP return true.

My MSHOOK Code:

void (*old_Victory)(bool);

void Labyrinth$$Victory(bool value) {
    value = true;
    return (*old_Victory)(value);
}
    MSHookFunction((void *) getAbsoluteAddress(targetLibName, string2Offset(OBFUSCATE_KEY("0xA1AAF0", '?'))), (void *) Labyrinth$$Victory, (void **) &old_Victory);

But it will crash.

How to fix?

Posted

What if you hardcode return it true?

il2cpp:00A1AAEC 1C 20 91 E5                 LDR             R2, [R1,#28]

Set this to MOV R2, #1

Posted

You can’t hook at the middle of the function 

Posted

This tut may help you

 

Posted
On 4/19/2021 at 10:11 AM, FEDuo said:

How to this in the function header hook?

On 4/18/2021 at 11:24 PM, Zahir said:

What if you hardcode return it true?



il2cpp:00A1AAEC 1C 20 91 E5                 LDR             R2, [R1,#28]

Set this to MOV R2, #1

change to mov r2,#1???

Posted

basically if i need remove some compare

il2cpp:00A1AAF0 01 00 52 E3                 CMP             R2, #1
il2cpp:00A1AAF4 02 00 00 1A                 BNE             loc_A1AB04

Compare r2 with number int 1
if NotEqual -> branch to location loc_A1AB04

just NOP both lines and code will move next line

Posted
On 5/7/2021 at 2:19 PM, xiaov said:

change to mov r2,#1???

The CMP is comparing the R2 with 1

Above it is the load to R2 so instead of loading, you set to 1 right away, then CMP is always true

I think xD 

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

    • War Inc: Guard v2.1.9 +2 Jailed Cheats [ One-Hit Kill ]
      Modded/Hacked App: War Inc: Guard By SamShui Corporation
      Bundle ID: com.i89trillion.strategy.guard
      App Store Link: https://apps.apple.com/us/app/war-inc-guard/id6747061394?uo=4

       
       

      🤩 Hack Features

      - One-Hit Kill
      - Attack Speed
      • 3 replies
    • War Inc: Guard v2.1.9 +2 Cheats [ One-Hit Kill ]
      Modded/Hacked App: War Inc: Guard By SamShui Corporation
      Bundle ID: com.i89trillion.strategy.guard
      App Store Link: https://apps.apple.com/us/app/war-inc-guard/id6747061394?uo=4

       


      🤩 Hack Features

      - One-Hit Kill
      - Attack Speed
      • 3 replies
    • Hungry Shark World v7.0.3 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Hungry Shark World By Ubisoft
      Bundle ID: com.ubisoft.hungrysharkworld
      iTunes Store Link: https://apps.apple.com/us/app/hungry-shark-world/id1046846443?uo=4


      Hack Features:
      - ADS NO

      - Gems

      - Coins 

      - Pearls 

      - Premium Pass

      - Health Auto Drain [ OFF ]

      - Boost Max 

      - Score Multi 

      - Revive Max 


      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/
      • 55 replies
    • Hungry Shark Evolution v12.9.2 [ +9 Cheats ] Never Die
      Modded/Hacked App: Hungry Shark Evolution By Ubisoft
      Bundle ID: com.fgol.HungrySharkEvolution
      iTunes Store Link: https://apps.apple.com/us/app/hungry-shark-evolution/id535500008?uo=4



      Hack Features:

      - ADS NO

      - Gems Unlimited 

      - Coins Unlimited 

      - Health [ Auto Drain OFF ]

      - Booster Freeze 

      - Speed Hack 

      - Wall Break [ Only For Small Shark ]

      - Score Multi 

      - Invincible [ After Respawn ] Never Die
      • 71 replies
    • Alien Survivor: Survival Arena v1.41.0 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Alien Survivor: Survival Arena By IMPONILOX LIMITED
      Bundle ID: world.playme.x
      iTunes Store Link: https://apps.apple.com/us/app/alien-survivor-survival-arena/id1669761844?uo=4
       

      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Achievements Rewards Only One Get ]

      - Energy [ Just Buy ]

      - HP [ Just Equip & Unequip ]

      - ATK [ Just Equip & Unequip ]

      - DEF [ Just Equip & Unequip ]

      - Skill CD [ First Get Then Use ]


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 22 replies
    • Alien Survivor: Survival Arena v1.41.0 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Alien Survivor: Survival Arena By IMPONILOX LIMITED
      Bundle ID: world.playme.x
      iTunes Store Link: https://apps.apple.com/us/app/alien-survivor-survival-arena/id1669761844?uo=4


      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Achievements Rewards Only One Get ]

      - Energy [ Just Buy ]

      - HP [ Just Equip & Unequip ]

      - ATK [ Just Equip & Unequip ]

      - DEF [ Just Equip & Unequip ]

      - Skill CD [ First Get Then Use ]


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 36 replies
    • Dice Dreams™ V1.94.3 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Dice Dreams™ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dicedreams
      iTunes Store Link: https://apps.apple.com/us/app/dice-dreams/id1484468651?uo=4


      Hack Features:
      - Coins Max [ Disable Coins When Use Bet Multiplier ]

      - Rolls Unlimited 

      - Crowns [ Only For Card Upgrade ]

      - Shield [ Get Unlimited Rolls ]

      - Bet Multiplier [ Coins + Rewards ]

      - All Task Score + Rewards [ Linked Bet Multiplier ]

      - Next Kingdom [ Build One ]

      - Build Cost [ 0 ]

      - Premium Dreams Pass

      Warning:- Don't Blame Me Banned  Some Time Freeze Reopen Then Works


      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/
      • 94 replies
    • Dice Dreams™ V1.94.3 [ +9 Jailed ] Currency Max
      Modded/Hacked App: Dice Dreams™ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dicedreams
      iTunes Store Link: https://apps.apple.com/us/app/dice-dreams/id1484468651?uo=4


      Hack Features:

      - Coins Max [ Disable Coins When Use Bet Multiplier ]

      - Rolls Unlimited 

      - Crowns [ Only For Card Upgrade ]

      - Shield [ Get Unlimited Rolls ]

      - Bet Multiplier [ Coins + Rewards ]

      - All Task Score + Rewards [ Linked Bet Multiplier ]

      - Next Kingdom [ Build One ]

      - Build Cost [ 0 ]

      - Premium Dreams Pass

      Warning:- Don't Blame Me Banned  Some Time Freeze Reopen Then Works

       
      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/
      • 80 replies
    • Soul Knight Prequel v1.7.0 [+3 Cheats]
      Modded/Hacked App: Soul Knight Prequel By ChillyRoom Inc.
      Bundle ID: com.chillyroom.soulknightprequel.gl
      App Store Link: https://apps.apple.com/us/app/soul-knight-prequel/id6469258709?uo=4

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier
      - No Skill Cooldown
       
      • 6 replies
    • Soul Knight Prequel v1.7.0 [+3 Jailed Cheats]
      Modded/Hacked App: Soul Knight Prequel By ChillyRoom Inc.
      Bundle ID: com.chillyroom.soulknightprequel.gl
      App Store Link: https://apps.apple.com/us/app/soul-knight-prequel/id6469258709?uo=4

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier
      - No Skill Cooldown
      • 0 replies
    • Bud Farm: Munchie Match v1.56.5 +12 [Game Breaking]
      Modded/Hacked App: Bud Farm: Munchie Match By LDRLY (Technologies) Inc
      Bundle ID: com.LDRLY.budmatch
      iTunes Store Link: https://apps.apple.com/us/app/bud-farm-munchie-match/id1594712929?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
      - Win Level (Settings > Music Toggle)
      - Freeze Lives
      - Infinite Coins
      - Infinite Cash
      - Freeze Moves
      - Freeze Powerups
      - Infinite Boosters
      - Infinite Stars
      - Always Win if Lost
      - Reward Always Available


      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/


      • 78 replies
    • Bud Farm: Munchie Match v1.56.5 +12 [Game Breaking]
      Modded/Hacked App: Bud Farm: Munchie Match By LDRLY (Technologies) Inc
      Bundle ID: com.LDRLY.budmatch
      iTunes Store Link: https://apps.apple.com/us/app/bud-farm-munchie-match/id1594712929?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
      - Win Level
      - Freeze Lives
      - Infinite Coins
      - Infinite Cash
      - Freeze Moves
      - Freeze Powerups
      - Infinite Boosters
      - Infinite Stars
      - Always Win if Lost
      - Upgrade without Decorations
      - Reward Always Available


      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/


      • 77 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