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

    • Graveyard Empire v1.0.6 Debug Menu [+3 Cheats]
      Modded/Hacked App: Graveyard Empire By 24 HIT Riga SIA
      Bundle ID: com.graveyard.empire
      iTunes Store Link: https://apps.apple.com/us/app/graveyard-empire/id6680186576?uo=4

       

      🤩 Hack Features

      - Debug Menu (Enable and Click Settings Button)
      • 1 reply
    • Graveyard Empire v1.0.6 Debug Menu [+3 Jailed Cheats]
      Modded/Hacked App: Graveyard Empire By 24 HIT Riga SIA
      Bundle ID: com.graveyard.empire
      iTunes Store Link: https://apps.apple.com/us/app/graveyard-empire/id6680186576?uo=4

       

      🤩 Hack Features

      - Debug Menu (Enable and Click Settings Button)
      • 2 replies
    • Hex Warriors v2.2.1 Cheat Menu [+10 Jailed Cheats]
      Modded/Hacked App: Hex Warriors By Voodoo
      Bundle ID: com.dong.hexwarriors
      App Store Link: https://apps.apple.com/us/app/hex-warriors/id6736930021?uo=4


       

      🤩 Hack Features

      Cheat Menu (Currency, Auto Win, Cards and more)
      • 9 replies
    • Hex Warriors v2.2.1 Cheat Menu [+10 Cheats]
      Modded/Hacked App: Hex Warriors By Voodoo
      Bundle ID: com.dong.hexwarriors
      App Store Link: https://apps.apple.com/us/app/hex-warriors/id6736930021?uo=4



      🤩 Hack Features

      - Cheat Menu (Currency, Auto Win, Cards and more)
      • 7 replies
    • Draft Showdown v1.1.4 [+3 Jailed Cheats]
      Modded/Hacked App: Draft Showdown By Quest Lab Games Korlatolt Felelossegu Tarsasag
      Bundle ID: com.questlab.draftwar
      App Store Link: https://apps.apple.com/us/app/draft-showdown/id6743368869?uo=4



      🤩 Hack Features

      - Unlimited Resources
      - Never Die
      - One Hit Kill
      • 2 replies
    • Draft Showdown v1.1.4 [+3 Cheats]
      Modded/Hacked App: Draft Showdown By Quest Lab Games Korlatolt Felelossegu Tarsasag
      Bundle ID: com.questlab.draftwar
      App Store Link: https://apps.apple.com/us/app/draft-showdown/id6743368869?uo=4



      🤩 Hack Features

      - Unlimited Resources
      - Never Die
      - One Hit Kill
       
      • 3 replies
    • Endless Wander - Roguelike RPG v2.4.15 [+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)
      • 4 replies
    • Endless Wander - Roguelike RPG v2.4.15 [+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)
       
      • 5 replies
    • Pal Go: Tower Defense TD v0.3.73 [+7 Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      🚀 Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       


      🍏 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/
      • 46 replies
    • Pal Go: Tower Defense TD v0.3.73 [+7 Jailed Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       

      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 71 replies
    • Derailed: Survival Adventure v1.8.0 [+3 Jailed Cheats]
      Modded/Hacked App: Derailed: Survival Adventure By Kwalee Ltd
      Bundle ID: com.kwalee.derailed
      iTunes Store Link: https://apps.apple.com/us/app/derailed-survival-adventure/id6670252580?uo=4



      🤩 Hack Features

      - Free Shop (IAP, No Ads, Chest)
      - Never Die
      - Always Can Unlock Tiles
      • 8 replies
    • Derailed: Survival Adventure v1.8.0 [+3 Cheats]
      Modded/Hacked App: Derailed: Survival Adventure By Kwalee Ltd
      Bundle ID: com.kwalee.derailed
      iTunes Store Link: https://apps.apple.com/us/app/derailed-survival-adventure/id6670252580?uo=4

       

      🤩 Hack Features

      - Free Shop (IAP, No Ads, Chest)
      - Never Die
      - Always Can Unlock Tiles
      • 7 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