Jump to content

Unity IDA WriteData. What I'm doing wrong?


Piro

16 posts in this topic

Recommended Posts

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.  

Updated by Piro
Best layout
Link to comment
Share on other sites

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

  • Like 1
Link to comment
Share on other sites

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

Updated by Joey
  • Thanks 1
Link to comment
Share on other sites

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....

Updated by gogigogi1
  • Like 1
Link to comment
Share on other sites

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?

  • Like 1
Link to comment
Share on other sites

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

  • Like 1
Link to comment
Share on other sites

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

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • Modern Warships Cheats v0.84 +7
      Modded/Hacked App: Modern Warships By Sergiy Petrov
      Bundle ID: com.Shooter.ModernWarships
      iTunes Store Link: https://apps.apple.com/us/app/modern-warships/id1541751298?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Infinite Ammo
      - No Reload
      - Freeze Boosters
      - Free Subscription?
       + 10% EXP
       + 50% Cash + Gold


      iOS Hack Download Link: https://iosgods.com/topic/146309-modern-warships-cheats-v0450-6/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,188 replies
    • Pixel Heroes Idle Cheats v1.00.0048 +3
      Modded/Hacked App: Pixel Heroes Idle By Zero To One Games CO., LTD
      Bundle ID: com.ztogames.ppki
      iTunes Store Link: https://apps.apple.com/us/app/pixel-heroes-idle/id6476479696?uo=4


      Hack Features:
      - Damage Multiplier
      - Defense Multiplier
      - Freeze Resources


      Non-Jailbroken & No Jailbreak required hack(s): 


      iOS Hack Download Link: https://iosgods.com/topic/184508-pixel-heroes-idle-v1000043-5-cheats/
      • 132 replies
    • Shadow Hunter: Premium v11.117.6 +9 Cheats
      Modded/Hacked App: Shadow Hunter: Premium By ENIGMA SOFTWARE JOINT STOCK COMPANY
      Bundle ID: com.enigma.shadowhunter.paid
      iTunes Store Link: https://apps.apple.com/us/app/shadow-hunter-premium/id1588843797?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia or Sileo).


      Hack Features:
      - Free Equipment Level Up*
      - Free Merchant Shop*
      - Free Mystic Store*
      - Free Fragment Shop*
      - Free Video Shop*
      - No Awaken Dust Cost
      - No Ascend Requirements
      - No Evolve Requirements
      - 1 Item = 100 Items

      Notes:
      * under one switch. Do not purchase stuff that cost diamond, or your game becomes invalid. So, save from time to time to revert back if anything happens.
        • Agree
        • Winner
        • Like
      • 587 replies
    • Shadow Hunter: Lost Worlds v10.117.6 +9 Cheats
      Modded/Hacked App: Shadow Hunter: Lost Worlds By ENIGMA SOFTWARE JOINT STOCK COMPANY
      Bundle ID: com.enigma.shadowhunter.free
      iTunes Store Link: https://apps.apple.com/us/app/shadow-hunter-lost-worlds/id1559150590?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia or Sileo).


      Hack Features:
      - Free Equipment Level Up*
      - Free Merchant Shop*
      - Free Mystic Store*
      - Free Fragment Shop*
      - Free Video Shop*
      - No Awaken Dust Cost
      - No Ascend Requirements
      - No Evolve Requirements
      - 1 Item = 100 Items

      Notes:
      * under one switch. Do not purchase stuff that cost diamond, or your game becomes invalid. So, save from time to time to revert back if anything happens.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 731 replies
    • BitLife - Life Simulator Cheats v3.15.9 +2
      Modded/Hacked App: BitLife - Life Simulator by Candywriter, LLC
      Bundle ID: com.wtfapps.apollo16
      iTunes Store Link: https://apps.apple.com/us/app/bitlife-life-simulator/id1374403536?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash
      - Free Bitizen Purchase (Press Cancle) - Work for All Versions


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/84167-arm64-bitlife-life-simulator-v1412-jailed-cheats-2/


      Hack Download Link: https://iosgods.com/topic/84223-arm64-bitlife-life-simulator-cheats-all-versions-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 3,157 replies
    • [ Devil Summoners Idle ] 데빌 서머너 : 소환사 키우기 Cheats v1.2.1 +4
      Modded/Hacked App: 데빌 서머너 : 소환사 키우기 By LUNA GAMES Inc.
      Bundle ID: com.LunaGames.Summoner
      iTunes Store Link: https://apps.apple.com/kr/app/%EB%8D%B0%EB%B9%8C-%EC%84%9C%EB%A8%B8%EB%84%88-%EC%86%8C%ED%99%98%EC%82%AC-%ED%82%A4%EC%9A%B0%EA%B8%B0/id6468970223?uo=4


      Hack Features:
      - God Mode
      - Multiply Attack
      - Freeze Currencies (Some may not work, but most does. Cannot fully tested due to it's Korean)
      - Multiply 10x Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
       


      iOS Hack Download Link: https://iosgods.com/topic/186434-devil-summoners-idle-%EB%8D%B0%EB%B9%8C-%EC%84%9C%EB%A8%B8%EB%84%88-%EC%86%8C%ED%99%98%EC%82%AC-%ED%82%A4%EC%9A%B0%EA%B8%B0-cheats-v116-4/
      • 23 replies
    • Fable Town: Merge Games v1.6.4 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Fable Town: Merge Games By REEF GAMES LTD
      Bundle ID: com.reefgames.fabletown
      iTunes Store Link: https://apps.apple.com/us/app/fable-town-merge-games/id6478150057?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Fable Town: Merge Games v1.6.4 +1++ Cheat [ Unlimited Currencies ] - 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/
      • 0 replies
    • Fable Town: Merge Games v1.6.4 +1++ Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Fable Town: Merge Games By REEF GAMES LTD
      Bundle ID: com.reefgames.fabletown
      iTunes Store Link: https://apps.apple.com/us/app/fable-town-merge-games/id6478150057?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Fable Town: Merge Games v1.6.4 +1++ Jailed Cheat [ Unlimited Currencies ] - Free Non-Jailbroken IPA 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/
      • 2 replies
    • Sky Warriors: Airplane Games v4.19.2 +1 Jailed Cheat [ Free I-AP ]
      Modded/Hacked App: Sky Warriors: Airplane Games By Wildlife Studios, Inc
      Bundle ID: com.wildlifestudios.skywarriors
      iTunes Store Link: https://apps.apple.com/us/app/sky-warriors-airplane-games/id1572323748?uo=4


      Hack Features:
      - Free In-App Purchases -> Go to the Store page, enable this feature, purchase something then re-launch the game.


      Jailbreak required hack(s): [Mod Menu Hack] Sky Warriors: Airplane Games v4.18.6 +1 Cheat [ Free I-AP ] - 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/
      • 16 replies
    • Sky Warriors: Airplane Games v4.19.2 +1 Cheat [ Free I-AP ]
      Modded/Hacked App: Sky Warriors: Airplane Games By Wildlife Studios, Inc
      Bundle ID: com.wildlifestudios.skywarriors
      iTunes Store Link: https://apps.apple.com/us/app/sky-warriors-airplane-games/id1572323748?uo=4


      Hack Features:
      - Free In-App Purchases -> Go to the Store page, enable this feature, purchase something then re-launch the game.


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Sky Warriors: Airplane Games v4.18.6 +1 Jailed Cheat [ Free I-AP ] - Free Non-Jailbroken IPA 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/
      • 11 replies
    • Days After: Zombie Survival v11.7.1 +17 Cheats
      Modded/Hacked App: Days After: Zombie Survival By REACTGAMES STUDIO LIMITED
      Bundle ID: games.alternativa.zombie.survival.shooter
      iTunes Store Link: https://apps.apple.com/us/app/days-after-zombie-survival/id1498731586?uo=4

      Hack Features:
      - Disable Enemy Attacks
      - Custom Damage
      - Unlimited Durability
      - Stupid AI

      * more to come when I get more motivation

      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      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
        • Winner
        • Like
      • 818 replies
    • MERGE HAMSTER v1.0.8 +5++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: MERGE HAMSTER By DAERI SOFT
      Bundle ID: com.daerigame.hamster
      iTunes Store Link: https://apps.apple.com/us/app/merge-hamster/id6612023397?uo=4


      Hack Features:
      - God Mode
      - One-Hit Kill
      - Unlimited Currencies -> Will increase instead of decrease.
      - Merge Merge Pass Unlocked
      - No Ads


      Jailbreak required hack(s): [Mod Menu Hack] MERGE HAMSTER v1.0.5 +5++ Cheats [ Unlimited Currencies ] - 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/
      • 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