Jump to content

Unity IDA WriteData. What I'm doing wrong?


Piro

16 posts in this topic

Recommended Posts

Posted

Hey masters \o/. First of all, sorry about my english, im brazillian  :lama:(it's green and yellow xD)

I'm trying to hack my own game lol, and what would you do if you could not hack your own game? Maybe kill yourself? I'm almost killing myself because that lol.

Let's go for what matter. I'm trying to be immortal in my own game (it's in development fase yet xD). I have a function that basically say "when balloon touch the spike, explode the balloon attached on my penguim".


This is my prototype game image.   ⬇️⬇️⬇️⬇️⬇️⬇️

 a892aCl.png

 

Im trying to hack some funtions that i think can work, like (get_life, set_life, onTriggerEnter2D, UpdateLifeCanvas).

I want it when balloon touches in thorns, they will not explode, in other words, i want to me immortal :fyea: hahaha

Look my  dump.cs    ⬇️⬇️⬇️⬇️⬇️⬇️


LuhGW74.png

 

I tried NOP in get_life, set_life, onTriggerEnter2D, UpdateLifeCanvas. But anyone worked =S.

Here is IDA  ⬇️⬇️⬇️⬇️⬇️⬇️

4g2bmnL.png

 

B1Wui5V.png

 

 

And here is my Tweak.xm    ⬇️⬇️⬇️⬇️⬇️⬇️

 

CTDD3ml.png

 

I think that i saw all tutorial about "how to hack" here, and i think that i have a lot of information at same time, and it was not so good for me lol. I'm a little lost about how many methods there are and when i'll use it for a specific case. Can you tell me what's the better way to hack unity and no unity games? Have a master method that i can use for both? 

I wrote in title tutorial "writedata", is this the only way to hack unity? Has another way, other than unity that is sub_x?

Please, remember that i'm starting and i'm a noob still lol. Be pattient and clear, because one day you were a newbie too xD. 

Thanks if you read this far, and thanks in advance if you'll help me.  

Posted

umm, get_Life is an int and looks hackable, dont NOP Ints, provide a value, idk how its done on arm64 but its something like
 

MOV W0, #0xfffff 

in hex its 

00FEBF12

try that

Posted

set_life and get_life work only for ur lifes
so u will not be immortal its just dont touch ur lifes
and if u nop function get_life this function anyway must return a value W0 and W0 will be zero (i think) better change NOP to MOV W0, 3 for example

Posted

for making immortal it more hard task and u need to look inside ur collision function better show here IDA code of collision

Posted

You have several things you can do:

 

1. get_live --> what you can do, is return a HUGE value (MOV W0, W29, RET) for example.

//original assembly code
 LDR W0, [X0, #0x18]
 RET
  
//patched code
  MOV W0, W29
  RET
   
/* how to do this with writeData:
  MOV W0, W29 = E0031D2A in HEX 
*/
   writeData(0x10081C830, 0xE0031D2A);

 

2. set_live --> this is setting your live when your live value changes

- NOP'ing the STR SHOULD work, since this will result in failing to Store (STR) a new value aka infinite health.

 

3. BalloonController_onTriggerEnter2D --> I THINK if you RET the top of the function right away (return), it will not know your 2D transform was hit, aka your health won't be effected.

- RET'ing the top of the function, is basically returning the function when it gets executed, so nothing will happen.

4. UpdateLiveCanvas --> I can't see the function, but I assume this handles your live when you get hit? If so, you'll likely see a branch of get_live or set_live & near that, you'll see a SUB
SUB means subtract, so if you change this to a ADD, or a NOP you health will also be hacked.

 

 

edit:

Oh also,

test without ifGetPrefBool first, sometimes one typo in the tweak.xm & .plist for the key will make you brain dead as f***.

I also suggest to use smaller key names, it's easier to spot a typo then.

 

edit 2:

You have my discord, I'm always open to help. Waiting for your topic to be approved may take so much time xD

Posted
3 minutes ago, Joey said:

 

3. onTriggerEnter2D --> I THINK if you RET the top of the function right away (return), it will not know your 2D transform was hit, aka your health won't be effected.

- RET'ing the top of the function, is basically returning the function when it gets executed, so nothing will happen.

 

not good idea becouse this trigger will work with coins etc... if u just put ret any other collision will be ignored too....

Posted
Just now, gogigogi1 said:

dont good idea becouse this trigger will work with coins etc... if u just put ret any other collision will be passed too....

But it says BalloonController_OnTriggerEnter2D, I don't see why this function should handle all collisions?

Posted
2 minutes ago, Joey said:

But it says BalloonController_OnTriggerEnter2D, I don't see why this function should handle all collisions?

ah lol im look inside PlayerController :D

Posted
1 minute ago, gogigogi1 said:

ah lol im look inside PlayerController :D

Ah, I didn't even see that one xD

10 minutes ago, Joka said:

No need to hide the content.

It wasn't actually hidden, I could see it without having replied u noob

Archived

This topic is now archived and is closed to further replies.

  • Our picks

    • Block Kingdom v0.04.70 [ +13 APK MOD ] Cheat Menu
      Mod APK Game Name: Block Kingdom
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.tripledot.blastroyale&hl=en_US

      🤩 Hack Features

      - Cheat Menu / Play Match Then Back Show Menu Button©️
      - Cheat Menu / Between playing Touch [ Goal ] Then Show©️
      - Set LvL
      - TuT Finished
      - ADD Coin
      - ADD Life
      - ADD Inf Life
      - ADS Remove
      - Power Inf
      - Power Freeze
      - Weekly Quest
      - Events
      - Auto Win
      - Auto Play 10x
      • 0 replies
    • Zombie Hunter: Shoot or Dead v0.0.2.9 [ +5 APK MOD ] Never Die
      Mod APK Game Name: Zombie Hunter: Shoot or Dead
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.horus.zombie.war&hl=en_US

       

      🤩 Hack Features

      - HP Max
      - Armor Max
      - M Gun Unlimited Ammo
      - M Gun Unlimited DMG
      - M Gun Fire Rate
      • 0 replies
    • Shadow Knights Idle RPG V53 [ +22 APK MOD ] Currency Max
      Mod APK Game Name: Shadow Knights : Idle RPG
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.cookapps.ShadowKnightsIdleRPG&hl=en

      🤩 Hack Features

      - Unlimited Gems / Achievements Reward
      - Unlimied Gems / Quest Reward
      - Unlimited Gold / Increase Instead Of Decrease
      - Unlimited Soul / Increase Instead Of Decrease
      - Unlimited Token / Earn Some
      - Unlimited Rebirth / Linked With Bounse
      - Unlimited Keys +3 / Increase Instead Of Decrease
      - Shadow Unlock Cost 0
      - Unlimited Gold Drop / Enemy
      - Unlimited Soul Drop / Enemy
      - Level Up Faster / Earn Some
      - Cost 0 / Token Shop
      - Unlimited Reward / Token Shop
      - Quest Claim
      - Dungeon Rewards / Gems Token Items
      - Cost 0 / Shadow LvL Up
      - Cost 0 / Lord LvL Up
      - Cost 0 / ARTIFACT LvL Up
      - Monster Status / DMG HP DEF ATK-Speed ATK-Range
      - Lord Status / DEF Critical ATK-Speed ATK-Range ATK-Splash / Just Upgrade
      - Shadow Status / DMG-Inc HP-Inc ATK-Speed ATK-Range ATK-Splash / Just Upgrade
      - Battle Pass Free / Claim Unlimited
      • 0 replies
    • Tales of Brave doomsday battle v2.1.21 [ +9 APK MOD ] Never Die
      Mod APK Game Name: Tales of Brave doomsday battle
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.tianyou.kingrush&hl=en_US

       

      🤩 Hack Features

      - ADS NO [ Rewards Free ]
      - Never Die
      - ONE HiT KiLL
      - Enemy Movement Speed
      - ATK Speed
      - Bullet Max 20
      - Bullet Size Big
      - Enemy Freeze
      - Wall No Hit Enemy
      • 0 replies
    • Pirate Captain Tides of War TD v2.3.2 [ +12 APK MOD  ] Auto Win
      Mod APK Game Name: Pirate Captain Tides of War TD
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.fanqu.b6&hl=en_US

      🤩 Hack Features

      - Diamond Card Active [ ViP ]
      - Ad Card Active
      - Diamond [ Max 10000 Earn With Battle Chest Cost ]
      - Avatar Unlocked
      - Frame unlocked
      - Battle Chest ADS Max [ Easy To Unlock ]
      - Daily Bundle [ Claim Unlimited Free Only ]
      - Weekly Bundle [ Claim Unlimited Free Only ]
      - Monthly Bundle [ Claim Unlimited Free Only ]
      - Golden Silver Premium Keys [ Easy To Get With Bundle ]
      - Attack [ Linked ] Auto Win Both Of Use
      - Auto Win
      • 0 replies
    • Good Coffee, Great Coffee v1.10.3 +8 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Good Coffee, Great Coffee By TAPBLAZE
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.tapblaze.coffeebusiness&hl=en_GB

       

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Brew Points
      - Unlimited Daily Rewards
      - All Decor Unlocked
      - All Equipment Unlocked
      - All Equipment Upgrades Unlocked
      - All Shop Upgrades Unlocked
      - Perfect Drinks
        • Like
      • 4 replies
    • Dragon Village Rumble v1.006.020 +3 Jailed Cheats [ God Mode + More ]
      Modded/Hacked App: Dragon Village Rumble By Highbrow
      Bundle ID: com.highbrow.games.dvb.apple
      App Store Link: https://apps.apple.com/us/app/dragon-village-rumble/id6754904783?uo=4

       


      🤩 Hack Features

      - God Mode
      - One-Hit Kill
      - Game Speed Multiplier
        • Informative
        • Winner
        • Like
      • 39 replies
    • Tasty Travels: Merge Game v45.0 +4 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Tasty Travels: Merge Game By Century Games Pte. Ltd.
      Bundle ID: com.fatmerge.global
      iTunes Store Link: https://apps.apple.com/us/app/tasty-travels-merge-game/id6471045672?uo=4

       


      🤩 Hack Features

      - Unlimited Currencies -> Earn some.
      - Unlimited Energy -> Earn some.
      - Unlock Full Board -> In-game, tap the Shop button.*
      - Level Up Once -> In-game, tap the Shop button.*

      * - Only 1 feature can be enabled at once.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 52 replies
    • Good Coffee, Great Coffee v1.10.2 +8 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Coffee, Great Coffee By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.coffeebusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-coffee-great-coffee/id1603584945?uo=4
       


      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Brew Points
      - Unlimited Daily Rewards
      - All Decor Unlocked
      - All Equipment Unlocked
      - All Equipment Upgrades Unlocked
      - All Shop Upgrades Unlocked
      - Perfect Drinks
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 136 replies
    • Merge Studio: Fashion Makeover v4.2.0 +50++ Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Merge Studio: Fashion Makeover By Paxie Games Oyun ve Yazilim Anonim Sirketi
      Bundle ID: com.paxiegames.mergestudio
      iTunes Store Link: https://apps.apple.com/us/app/merge-studio-fashion-makeover/id1615964753?uo=4


      Hack Features:
      - Debug Menu -> Head over to Settings and toggle the Sound button.


      Jailbreak required hack(s): [Mod Menu Hack] Merge Studio: Fashion Makeover v2.3.0 +50++ Cheats [ Debug Menu ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 97 replies
    • God Breaker: Roguelike ARPG v1.1.0 [ +3 Cheats ] Easy Win
      Modded/Hacked App: God Breaker: Roguelike ARPG By GrowKing Inc.
      Bundle ID: com.growking.godslayer
      App Store Link: https://apps.apple.com/us/app/god-breaker-roguelike-arpg/id6746064502?uo=4

      🤩 Hack Features

      - ATK MAX
      - HP MAX
      - DEF MAX
      • 0 replies
    • God Breaker: Roguelike ARPG v1.1.0 [ +3 Jailed ] Easy Win
      Modded/Hacked App: God Breaker: Roguelike ARPG By GrowKing Inc.
      Bundle ID: com.growking.godslayer
      App Store Link: https://apps.apple.com/us/app/god-breaker-roguelike-arpg/id6746064502?uo=4

      🤩 Hack Features

      - ATK MAX
      - HP MAX
      - DEF MAX
      • 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