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

    • Guns Arena: PvP Shooting Games v1.32.49 [+5 Jailed Cheats]
      Modded/Hacked App: Guns Arena: PvP Shooting Games By VIVA GAMES S.L.
      Bundle ID: com.vivastudios.gunsatdawn.shooter
      iTunes Store Link: https://apps.apple.com/us/app/guns-arena-pvp-shooting-games/id1613912708?uo=4
       

      🚀 Hack Features

      - [VIP] Enemy Can't Attack

      - [VIP] High Damage / OHK

      - [VIP] Enemy Can't Attack Battle Royale

      - [VIP] Always can Enter Battle Royale (Enable go Royale tab and click get dawn pass)

      - Inf Coins (Can't use on Characters, Weapons and Dawnpass)

      - Inf Gold (Can't use on Characters, Weapons and Dawnpass)


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 49 replies
    • XP Hero v19.6.0 [+3 Jailed Cheats]
      Modded/Hacked App: XP Hero By Supercent Inc.
      Bundle ID: io.supercent.weaponrpg
      iTunes Store Link: https://apps.apple.com/us/app/xp-hero/id6740618570?uo=4



      🤩 Hack Features

      - Add Currency (Enable and You'll Recieve All Currency)
      - Add Xp
      - Enemy Can't Attack
        • Like
      • 34 replies
    • Darkest Hero! v0.0.95 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Darkest Hero! By MINIDRAGON LTD
      Bundle ID: com.minidragon.randomdungeon
      App Store Link: https://apps.apple.com/us/app/darkest-hero/id6746927122?uo=4

      🤩 Hack Features

      - Unlimited Gems / Earn
      - Unlimited Red Crystal / Earn
      - Unlimited Gold / Earn
      - Unlimited Keys / Earn
      • 20 replies
    • Darkest Hero! v0.0.95 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Darkest Hero! By MINIDRAGON LTD
      Bundle ID: com.minidragon.randomdungeon
      App Store Link: https://apps.apple.com/us/app/darkest-hero/id6746927122?uo=4

      🤩 Hack Features

      - Unlimited Gems / Earn
      - Unlimited Red Crystal / Earn
      - Unlimited Gold / Earn
      - Unlimited Keys / Earn
        • Like
      • 23 replies
    • Paradise Paws: Merge Animals v1.0.29 [ +12 Cheats ] Currency Max
      Modded/Hacked App: Animal Sanctuary By Wildlife Studios, Inc
      Bundle ID: com.wildlifestudios.merge.animal.sanctuary
      App Store Link: https://apps.apple.com/us/app/animal-sanctuary/id6741805691?uo=4
       

      🤩 Hack Features

      - Gems

      - Coins

      - Heart

      - Spin

      - LvL

      - Exp

      - Fog Auto Remove [ Linked With LvL ]

      - Premum Lands Unlocked [ Just Tap ]

      - Store Free [ IAP Not ]

      Note:- Game Close After Currency Hack Don't Worry
      • 46 replies
    • Paradise Paws: Merge Animals v1.0.29 [ +12 Jailed ] Currency Max
      Modded/Hacked App: Animal Sanctuary By Wildlife Studios, Inc
      Bundle ID: com.wildlifestudios.merge.animal.sanctuary
      App Store Link: https://apps.apple.com/us/app/animal-sanctuary/id6741805691?uo=4


      🤩 Hack Features

      - Gems

      - Coins

      - Heart

      - Spin

      - LvL

      - Exp

      - Fog Auto Remove [ Linked With LvL ]

      - Premum Lands Unlocked [ Just Tap ]

      - Store Free [ IAP Not ]

      Note:- Game Close After Currency Hack Don't Worry
        • Thanks
      • 66 replies
    • Fairyland - Merge & Match v2.1.0 [ +4 Cheats ] Auto Win
      Modded/Hacked App: Fairyland - Merge & Match By 程程 姚
      Bundle ID: com.mergematch.fairyland
      App Store Link: https://apps.apple.com/us/app/fairyland-merge-match/id6740663230?uo=4
       

      🤩 Hack Features

      - Auto Win
      - Gems
      - Coins
      - Moves 99
        • Informative
        • Like
      • 18 replies
    • Fairyland - Merge & Match v2.1.0 [ +4 Jailed ] Auto Win
      Modded/Hacked App: Fairyland - Merge & Match By 程程 姚
      Bundle ID: com.mergematch.fairyland
      App Store Link: https://apps.apple.com/us/app/fairyland-merge-match/id6740663230?uo=4


      🤩 Hack Features

      - Auto Win
      - Gems
      - Coins
      - Moves 99
      • 22 replies
    • Z Blast! v1.1.1 [ +6 Cheats ] Currency Max
      Modded/Hacked App: Z Blast! By UNIVERSAL MOBILE GAMES TECHNOLOGY CO., LIMITED
      Bundle ID: com.universal.mobile.fallen.city.game.ios
      App Store Link: https://apps.apple.com/ca/app/z-blast/id6752974187?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - DMG
      - Skill CD
      - Weapon CD
      - Skill Range
      - Weapon Range 
      • 10 replies
    • Z Blast! v1.1.1 [ +6 Jailed ] Currency Max
      Modded/Hacked App: Z Blast! By UNIVERSAL MOBILE GAMES TECHNOLOGY CO., LIMITED
      Bundle ID: com.universal.mobile.fallen.city.game.ios
      App Store Link: https://apps.apple.com/ca/app/z-blast/id6752974187?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - DMG
      - Skill CD
      - Weapon CD
      - Skill Range
      - Weapon Range
      • 6 replies
    • COTA Tower Defense - TD Game v1.0.7 [ +3 Cheats ] Currency Max
      Modded/Hacked App: COTA Tower Defense - TD Game By DAWNBRIGHT OYUN YAZILIM TEKNOLOJI ANONIM SIRKETI
      Bundle ID: games.dawnbright.cotatowerdefence
      App Store Link: https://apps.apple.com/ph/app/cota-tower-defense-td-game/id6752990977?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Star
      - Unlimited Base HP
      • 5 replies
    • COTA Tower Defense - TD Game v1.0.7 [ +3 Jailed ] Currency Max
      Modded/Hacked App: COTA Tower Defense - TD Game By DAWNBRIGHT OYUN YAZILIM TEKNOLOJI ANONIM SIRKETI
      Bundle ID: games.dawnbright.cotatowerdefence
      App Store Link: https://apps.apple.com/ph/app/cota-tower-defense-td-game/id6752990977?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Star
      - Unlimited Base HP
      • 6 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