Jump to content

9 posts in this topic

Recommended Posts

Posted

Hey there,

 

I am trying to understand IDA Game Hacking, but I am not really getting it.

Did read all tutorials like 947845874 times...

 

I think this function is hackable:

bool __cdecl -[CurrencyWallet spendValue:](struct CurrencyWallet *self, SEL, unsigned int)
__text:00071F40 __CurrencyWallet_spendValue__           ; DATA XREF: __objc_const:00DAA128o
__text:00071F40                 PUSH            {R4,R7,LR}
__text:00071F42                 ADD             R7, SP, #4
__text:00071F44                 MOV             R4, R0
__text:00071F46                 MOV             R0, #(_OBJC_IVAR_$_CurrencyWallet._quantity - 0x71F52) ; unsigned int _quantity;
__text:00071F4E                 ADD             R0, PC  ; unsigned int _quantity;
__text:00071F50                 LDR             R0, [R0] ; unsigned int _quantity;
__text:00071F52                 LDR             R1, [R4,R0]
__text:00071F54                 CMP             R1, R2

I though the 'MOV R4, R0' could be hacked or 'PUSH {R4,R7,LR}'

 

I have this problem with like any game, I've no idea what to do...

 

any help?

 

Thanks in advance,

 

:)

Posted

do u see any sub instruction

I see this:

bool __cdecl -[CurrencyWallet spendValue:](struct CurrencyWallet *self, SEL, unsigned int)
__text:00071F40 __CurrencyWallet_spendValue__
__text:00071F40                 PUSH            {R4,R7,LR}
__text:00071F42                 ADD             R7, SP, #4
__text:00071F44                 MOV             R4, R0
__text:00071F46                 MOV             R0, #(_OBJC_IVAR_$_CurrencyWallet._quantity - 0x71F52) ; unsigned int _quantity;
__text:00071F4E                 ADD             R0, PC  ; unsigned int _quantity;
__text:00071F50                 LDR             R0, [R0] ; unsigned int _quantity;
__text:00071F52                 LDR             R1, [R4,R0]
__text:00071F54                 CMP             R1, R2
__text:00071F56                 ITT CC
__text:00071F58                 MOVCC           R0, #0
__text:00071F5A                 POPCC           {R4,R7,PC}
__text:00071F5C                 MOVW            R3, #(:lower16:(selRef_notifyChanges - 0x71F6C))
__text:00071F60                 SUBS            R1, R1, R2
__text:00071F62                 MOVT.W          R3, #(:upper16:(selRef_notifyChanges - 0x71F6C))
__text:00071F66                 STR             R1, [R4,R0]
__text:00071F68                 ADD             R3, PC ; selRef_notifyChanges
__text:00071F6A                 MOV             R0, R4
__text:00071F6C                 LDR             R1, [R3] ; "notifyChanges"
__text:00071F6E                 BLX.W           _objc_msgSend
__text:00071F72                 MOV             R0, #(selRef_persistQuantity - 0x71F7E)
__text:00071F7A                 ADD             R0, PC ; selRef_persistQuantity
__text:00071F7C                 LDR             R1, [R0] ; "persistQuantity"
__text:00071F7E                 MOV             R0, R4
__text:00071F80                 BLX.W           _objc_msgSend
__text:00071F84                 MOVS            R0, #1
__text:00071F86                 POP             {R4,R7,PC}

I assumed that after "__text:00071F56 ITT CC" something else started.. not sure tho...

Posted

I see this:

bool __cdecl -[CurrencyWallet spendValue:](struct CurrencyWallet *self, SEL, unsigned int)
__text:00071F40 __CurrencyWallet_spendValue__
__text:00071F40                 PUSH            {R4,R7,LR}
__text:00071F42                 ADD             R7, SP, #4
__text:00071F44                 MOV             R4, R0
__text:00071F46                 MOV             R0, #(_OBJC_IVAR_$_CurrencyWallet._quantity - 0x71F52) ; unsigned int _quantity;
__text:00071F4E                 ADD             R0, PC  ; unsigned int _quantity;
__text:00071F50                 LDR             R0, [R0] ; unsigned int _quantity;
__text:00071F52                 LDR             R1, [R4,R0]
__text:00071F54                 CMP             R1, R2
__text:00071F56                 ITT CC
__text:00071F58                 MOVCC           R0, #0
__text:00071F5A                 POPCC           {R4,R7,PC}
__text:00071F5C                 MOVW            R3, #(:lower16:(selRef_notifyChanges - 0x71F6C))
__text:00071F60                 SUBS            R1, R1, R2
__text:00071F62                 MOVT.W          R3, #(:upper16:(selRef_notifyChanges - 0x71F6C))
__text:00071F66                 STR             R1, [R4,R0]
__text:00071F68                 ADD             R3, PC ; selRef_notifyChanges
__text:00071F6A                 MOV             R0, R4
__text:00071F6C                 LDR             R1, [R3] ; "notifyChanges"
__text:00071F6E                 BLX.W           _objc_msgSend
__text:00071F72                 MOV             R0, #(selRef_persistQuantity - 0x71F7E)
__text:00071F7A                 ADD             R0, PC ; selRef_persistQuantity
__text:00071F7C                 LDR             R1, [R0] ; "persistQuantity"
__text:00071F7E                 MOV             R0, R4
__text:00071F80                 BLX.W           _objc_msgSend
__text:00071F84                 MOVS            R0, #1
__text:00071F86                 POP             {R4,R7,PC}
I assumed that after "__text:00071F56 ITT CC" something else started.. not sure tho...

 

You can NOP the

sub r1, r1, r2

or just hook the method:

%hook CurrencyWallet
- (bool)spendValue:(unsigned int)value {
   return YES;
}
%end
Posted

 

You can NOP the

sub r1, r1, r2

or just hook the method:

%hook CurrencyWallet
- (bool)spendValue:(unsigned int)value {
   return YES;
}
%end

Hmm not working. Guess the function isn't hackable then?

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

    • Pixel Mage: Idle RPG +10 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Pixel Mage: Idle RPG By StreetComplete
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.streetcomplete.pixelmagician

       

      🤩 Hack Features

      - Damage Multiplier
      - Attack/Move Speed Multiplier
      - Freeze Gold
      - Unlimited Gold -> Will increase instead of decrease.
      - Freeze Blue Diamonds
      - Unlimited Blue Diamonds -> Will increase instead of decrease.
      - Freeze Red Diamonds
      - Unlimited Red Diamonds -> Will increase instead of decrease.
      - Freeze Purple Diamonds
      - Unlimited Purple Diamonds -> Will increase instead of decrease.
      • 0 replies
    • Pixel Mage: Idle RPG +10 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Pixel Mage: Idle RPG By YONGJIN JO
      Bundle ID: com.streetcomplete.pixelmagician
      App Store Link: https://apps.apple.com/us/app/pixel-mage-idle-rpg/id6741889270?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Attack/Move Speed Multiplier
      - Freeze Gold
      - Unlimited Gold -> Will increase instead of decrease.
      - Freeze Blue Diamonds
      - Unlimited Blue Diamonds -> Will increase instead of decrease.
      - Freeze Red Diamonds
      - Unlimited Red Diamonds -> Will increase instead of decrease.
      - Freeze Purple Diamonds
      - Unlimited Purple Diamonds -> Will increase instead of decrease.
      • 4 replies
    • Toy Brawlers: Arena Fight +3 Mods [ Damage & Defence ]
      Mod APK Game Name: Toy Brawlers: Arena Fight By Studıo Gamebıt Yazılım Ve Teknoloji Ltd. Şti.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.studiogamebit.toybrawlers

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 0 replies
    • Bullet Boy v41 [ +1 Cheats ] Gems Max
      Modded/Hacked App: Bullet Boy By Outbox SRL
      Bundle ID: com.pomelogames.BulletBoy
      App Store Link: https://apps.apple.com/us/app/bullet-boy/id899606169?uo=4

      🤩 Hack Features

      - Gems Max
      • 0 replies
    • Bullet Boy v41 [ +1 Jailed ] Gems Max
      Modded/Hacked App: Bullet Boy By Outbox SRL
      Bundle ID: com.pomelogames.BulletBoy
      App Store Link: https://apps.apple.com/us/app/bullet-boy/id899606169?uo=4

      🤩 Hack Features

      - Gems Max
      • 2 replies
    • AmaZeus: Merge & Shoot v1.4.37 [ +6 Jailed ] ATK MAX
      Modded/Hacked App: AmaZeus: Merge & Shoot By Geisha Tokyo Inc.
      Bundle ID: com.merge.shooter
      App Store Link: https://apps.apple.com/us/app/amazeus-merge-shoot/id6742771024?uo=4

      🤩 Hack Features

      - Energy Max
      - Always Last Wave
      - AKF Rewards
      Hero Stats
      - HP Freeze
      - ATK MAX
      Enemy Stats
      - ATK 0
      • 2 replies
    • AmaZeus: Merge & Shoot v1.4.37 [ +6 Cheats ] ATK MAX
      Modded/Hacked App: AmaZeus: Merge & Shoot By Geisha Tokyo Inc.
      Bundle ID: com.merge.shooter
      App Store Link: https://apps.apple.com/us/app/amazeus-merge-shoot/id6742771024?uo=4
      🤩 Hack Features

      - Energy Max
      - Always Last Wave
      - AKF Rewards
      Hero Stats
      - HP Freeze
      - ATK MAX
      Enemy Stats
      - ATK 0
      • 3 replies
    • Mini DAYZ 2 +4 Jailed Cheats [ ESP Boxes, Lines ]
      Modded/Hacked App: Mini DAYZ 2 By Bohemia Interactive AS
      Bundle ID: com.bistudio.minidayz2
      App Store Link: https://apps.apple.com/us/app/mini-dayz-2/id1482111801?uo=4

       


      🤩 Hack Features

      - Ally ESP Boxes
      - Ally ESP Lines
      - Ally ESP Health
      - Ally ESP Distance
      - Enemy ESP Boxes
      - Enemy ESP Lines
      - Enemy ESP Health
      - Enemy ESP Distance
      • 7 replies
    • Haikyuu!! ( ハイキュー!! ) TOUCH AND CONNECT +4 Mods [ Auto Win ]
      Mod APK Game Name: ハイキュー!! TOUCH AND CONNECT By G Holdings co., ltd.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.gholdings.haicone

       

      🤩 Hack Features

      - Unlimited Score
      - Freeze Moves
      - Freeze In-Game Timer
      - Auto Win
      • 0 replies
    • Haikyuu!! ( ハイキュー!! ) TOUCH AND CONNECT +4 Jailed Cheats [ Auto Win ]
      Modded/Hacked App: ハイキュー!! TOUCH AND CONNECT By G HOLDINGS CO., LTD.
      Bundle ID: com.gholdings.haicone
      App Store Link: https://apps.apple.com/jp/app/%E3%83%8F%E3%82%A4%E3%82%AD%E3%83%A5%E3%83%BC-touch-and-connect/id6755984289?uo=4

       

      🤩 Hack Features

      - Unlimited Score
      - Freeze Moves
      - Freeze In-Game Timer
      - Auto Win
      • 1 reply
    • Candle Knight +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Candle Knight By Youngdal Kim
      Bundle ID: com.TrueSoft.CandleKnight
      App Store Link: https://apps.apple.com/us/app/candle-knight/id6759582307?uo=4

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 3 replies
    • My Village Defense: Idle RPG ( 내마고: 방치형 마을 지키기 RPG ) +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: 내마고: 방치형 마을 지키기 RPG By YONGSOO KWON
      Bundle ID: com.DODO.M1
      iTunes Store Link: https://apps.apple.com/kr/app/내마고-방치형-마을-지키기-rpg/id6781181595

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 1 reply
×
  • 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