Jump to content

Help ! x64-bit code injection


Go to solution Solved by Rook,

13 posts in this topic

Recommended Posts

Posted

We know that 32 of the code injection, 

 

 

if(GetPrefBool(@"infattack"))

{
writeData(IDA offset, HEX offset);
} else {
 
}

 

 

and Its length is eight characters, like 0x12345678

 
However, in 64 of the IDA offset is 9, as 0x123456789,
I try to write directly to the  IDA offset ,just like
 
 

 

if(GetPrefBool(@"infattack"))

{
writeData(0x123456789, 0xHEX);
} else {
 
}

 

 

Problem is ,Compile errors

 

Preprocessing Tweak.xm...

 Compiling Tweak.xm (armv7)...

Tweak.xm:15:11: error: implicit conversion from 'long long' to 'vm_address_t'

      (aka 'unsigned int') changes value from 4886718345 to 591751049

      [-Werror,-Wconstant-conversion]

writeData(0x123456789, 0xC0035FD6);

~~~~~~~~~ ^~~~~~~~~~~

1 error generated.

 

 

So,How can I fix it?

  • Solution
Posted

You need to modify writeData to support x64 bit offsets.

Posted

We know that 32 of the code injection, 

 

 

 

and Its length is eight characters, like 0x12345678

 
However, in 64 of the IDA offset is 9, as 0x123456789,
I try to write directly to the  IDA offset ,just like
 
 

 

 

Problem is ,Compile errors

 

 

So,How can I fix it?

Here: https://www.dropbox.com/s/4wje39wuc17l5oi/writeData.h?dl=0

 

Happy Hacking ^_^

Posted (edited)

I edited a line of code to allow to support a cast from unsigned int to long long

I tried your WriteData
Still an error
 
Have you tried yet?
Updated by Curtain
Posted

Btw 32 is 6 characters

sometimes only 5 characters 

 

What's the difference?

 

That looks like it won't support x64 offsets.

did you know how to modify WriteData  :D

Posted

sometimes only 5 characters 

 

 

did you know how to modify WriteData  :D

I have writeData which supports arm64 offsets and I tried to make it support 8 byte instructions also but it crashed :p

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

    • Idle Army: Trading Weapons v1.12.2 [+5 Jailed Cheats]
      Modded/Hacked App: Idle Army: Trading Weapons By UNIMOB VIET NAM COMPANY LIMITED
      Bundle ID: com.unimob.idle.army
      App Store Link: https://apps.apple.com/us/app/idle-army-trading-weapons/id6670773625?uo=4



      🤩 Hack Features

      - Always Enough Resources (Gem, Skip Ads etc.)
      - Max Gold (Enable inside game)
      - 2x Game Speed (Enable inside game)
      - Kill Monster (Enable inside game)
      - Add All Pet

      • 1 reply
    • Idle Army: Trading Weapons v1.12.2 [+5 Cheats]
      Modded/Hacked App: Idle Army: Trading Weapons By UNIMOB VIET NAM COMPANY LIMITED
      Bundle ID: com.unimob.idle.army
      App Store Link: https://apps.apple.com/us/app/idle-army-trading-weapons/id6670773625?uo=4

       

      🤩 Hack Features

      - Always Enough Resources (Gem, Skip Ads etc.)
      - Max Gold (Enable inside game)
      - 2x Game Speed (Enable inside game)
      - Kill Monster (Enable inside game)
      - Add All Pet

      • 1 reply
    • Margonem Adventures v1.16.2 [+3 Jailed Cheats]
      Modded/Hacked App: Margonem Adventures By GARMORY sp. z o.o. sp. k.
      Bundle ID: pl.Garmory.MargonemAdventures
      iTunes Store Link: https://apps.apple.com/us/app/margonem-adventures/id6444410609?uo=4

       

      🤩 Hack Features

      - Enemy Can't Move
      - Enemy Can't Attack
      - Unlimited Mana
      • 18 replies
    • Margonem Adventures v1.16.2 [+3 Cheats]
      Modded/Hacked App: Margonem Adventures By GARMORY sp. z o.o. sp. k.
      Bundle ID: pl.Garmory.MargonemAdventures
      iTunes Store Link: https://apps.apple.com/us/app/margonem-adventures/id6444410609?uo=4



      🤩 Hack Features

      - Enemy Can't Move
      - Enemy Can't Attack
      - Unlimited Mana
      • 11 replies
    • XP Hero v9.0.0 [+3 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
       
      • 7 replies
    • XP Hero v9.0.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
      • 6 replies
    • Townfall: Zombie Tower Defense v20.2.5 [+4 Cheats]
      Modded/Hacked App: Townfall: Zombie Tower Defense By Sugarscone
      Bundle ID: com.nmg.townfall.ios
      App Store Link: https://apps.apple.com/us/app/townfall-zombie-tower-defense/id6476259669?uo=4



      🤩 Hack Features

      - No Reload
      - Add Gold (Enable inside battle and finish stage)
      - Add Wood (Enable inside battle)
      - Skip Wave (Enable inside wave)
      • 11 replies
    • Townfall: Zombie Tower Defense v20.2.5 [+4 Jailed Cheats]
      Modded/Hacked App: Townfall: Zombie Tower Defense By Sugarscone
      Bundle ID: com.nmg.townfall.ios
      App Store Link: https://apps.apple.com/us/app/townfall-zombie-tower-defense/id6476259669?uo=4



      🤩 Hack Features

      - No Reload
      - Add Gold (Enable inside battle and finish stage)
      - Add Wood (Enable inside battle)
      - Skip Wave (Enable inside wave)
      • 16 replies
    • Endless Wander - Roguelike RPG v2.4.22 [+3 Jailed Cheats]
      Modded/Hacked App: Endless Wander - Roguelike RPG By First Pick Studios
      Bundle ID: com.FirstPickStudios.Endless-Wander
      App Store Link: https://apps.apple.com/us/app/endless-wander-roguelike-rpg/id6473157705?uo=4



      🤩 Hack Features

      - Never Die
      - Always Enough Currency
      - Unlimited Currency (Will Always Increase)
      • 11 replies
    • Endless Wander - Roguelike RPG v2.4.22 [+3 Cheats]
      Modded/Hacked App: Endless Wander - Roguelike RPG By First Pick Studios
      Bundle ID: com.FirstPickStudios.Endless-Wander
      App Store Link: https://apps.apple.com/us/app/endless-wander-roguelike-rpg/id6473157705?uo=4



      🤩 Hack Features

      - Never Die
      - Always Enough Currency
      - Unlimited Currency (Will Always Increase)
       
      • 10 replies
    • Once Upon A Match v0.6.110 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Once Upon A Match By CRAZY LABS BY TABTALE , G.P.
      Bundle ID: com.funnyigames.puzzleblastrpg
      App Store Link: https://apps.apple.com/us/app/once-upon-a-match/id1503025062?uo=4


      🤩 Hack Features

      - Gems

      - Energy

      - Energy PvP

      - Gold

      - Food

      - Recuits

      - Attack

      - Enemy 1 [ Every Wave ]

      - NO Turn [ Enemy ]

      Note:- Currency Visual But Works
      • 4 replies
    • Once Upon A Match v0.6.110 [ +9 Jailed ] Currency Max
      Modded/Hacked App: Once Upon A Match By CRAZY LABS BY TABTALE , G.P.
      Bundle ID: com.funnyigames.puzzleblastrpg
      App Store Link: https://apps.apple.com/us/app/once-upon-a-match/id1503025062?uo=4



      🤩 Hack Features

      - Gems

      - Energy

      - Energy PvP

      - Gold

      - Food

      - Recuits

      - Attack

      - Enemy 1 [ Every Wave ]

      - NO Turn [ Enemy ]

      Note:- Currency Visual But Works
      • 0 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