Jump to content

IDA/GDB issue code inject crash ,help


Curtain

19 posts in this topic

Recommended Posts

hey everybody,i need your help,please

I tried to hack Simcity via GDB/IDA .i found the offset is

0x498324  

orig:str r4, [r6, #152]

hack: str r7,[r6,#152]

as usually,i changed it to str r7,[r6,#152],   set *0x498324=E5867098

press c  enter return device make money change ,then app crash :wallbash: 

 

so,i tried to set $r4=oxVALUE,work now,

 

my quesion is :

1.is it possible to code inject directly like change r4 value ? if it is possible ,how to do.

2.why r4 to r7 will crash.

 

Hardware watchpoint 3: *257995816

Old value = 30
New value = 29
0x00498324 in g_s3e_code ()
3: x/i $pc 0x498324: 98 40 86 e5 str r4, [r6, #152]
2: $r0 = 484640170
1: x/i $pc 0x498324: 98 40 86 e5 str r4, [r6, #152]
(gdb) info r
r0 0x1ce305aa 484640170
r1 0xc6ef3720 -957401312
r2 0x88c110 8962320
r3 0x0 0
r4 0x1d 29
r5 0x88c118 8962328
r6 0xf60b390 257995664
r7 0x1 1
r8 0x6ce500cb 1826947275
r9 0x52ae977f 1387173759
r10 0x30317681 808547969
r11 0x0 0
r12 0x0 0
sp 0x52d1ab8 86842040
lr 0x4982d4 4817620
pc 0x498324 4817700
cpsr 0x280d0010 671940624
(gdb) set $r4=0x999999
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
(gdb) c
Continuing.
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
Hardware watchpoint 3: *257995816

Old value = 29
New value = 10066329 :p 
0x00498324 in g_s3e_code ()
3: x/i $pc 0x498324: 98 40 86 e5 str r4, [r6, #152]
2: $r0 = 484640170
1: x/i $pc 0x498324: 98 40 86 e5 str r4, [r6, #152]
(gdb) c
Continuing.
game running image

 

symbolstub1:004982AC ; ---------------------------------------------------------------------------
__symbolstub1:004982AC
__symbolstub1:004982AC loc_4982AC ; CODE XREF: sub_49828C+14j
__symbolstub1:004982AC ADD R4, R0, #0xA0
__symbolstub1:004982B0 ADD R5, R0, #0x98
__symbolstub1:004982B4 MOV R0, R5
__symbolstub1:004982B8 MOV R1, R4
__symbolstub1:004982BC BL loc_496AC4
__symbolstub1:004982C0 CMP R0, R7
__symbolstub1:004982C4 BCC loc_4982A4
__symbolstub1:004982C8 MOV R0, R5
__symbolstub1:004982CC MOV R1, R4
__symbolstub1:004982D0 BL loc_496AC4
__symbolstub1:004982D4 LDR R5, =0x3F3E38
__symbolstub1:004982D8 ADD R5, PC, R5
__symbolstub1:004982DC LDR R10, [R5]
__symbolstub1:004982E0 CMP R10, #0
__symbolstub1:004982E4 RSB R4, R7, R0
__symbolstub1:004982E8 BNE loc_4982F4
__symbolstub1:004982EC BL sub_3C39EC
__symbolstub1:004982F0 LDR R10, [R5]
__symbolstub1:004982F4
__symbolstub1:004982F4 loc_4982F4 ; CODE XREF: sub_49828C+5Cj
__symbolstub1:004982F4 LDR R1, =0x3F3E0C
__symbolstub1:004982F8 LDR R2, =0x3F3E04
__symbolstub1:004982FC LDR R3, =0x3F3DFC
__symbolstub1:00498300 ADD R1, PC, R1
__symbolstub1:00498304 ADD R2, PC, R2
__symbolstub1:00498308 ADD R3, PC, R3
__symbolstub1:0049830C LDR R9, [R1]
__symbolstub1:00498310 MOV R12, #0
__symbolstub1:00498314 LDR R8, [R2]
__symbolstub1:00498318 LDR R1, =0xC6EF3720
__symbolstub1:0049831C LDR R0, [R3]
__symbolstub1:00498320 MOV R3, R12
__symbolstub1:00498324 STR R4, [R6,#0x98]
__symbolstub1:00498328
__symbolstub1:00498328 loc_498328 ; CODE XREF: sub_49828C+E0j
__symbolstub1:00498328 ADD R3, R3, #0x9E000000
__symbolstub1:0049832C ADD R3, R3, #0x374000
__symbolstub1:00498330 ADD R3, R3, #0x3980
__symbolstub1:00498334 ADD R3, R3, #0x39
__symbolstub1:00498338 ADD R11, R10, R12,LSL#4
__symbolstub1:0049833C ADD R2, R9, R12,LSR#5
__symbolstub1:00498340 ADD R5, R12, R3
__symbolstub1:00498344 EOR R2, R11, R2
__symbolstub1:00498348 EOR R2, R2, R5
__symbolstub1:0049834C ADD R4, R4, R2
__symbolstub1:00498350 ADD R5, R4, R3
__symbolstub1:00498354 ADD R11, R8, R4,LSL#4
__symbolstub1:00498358 ADD R2, R0, R4,LSR#5
__symbolstub1:0049835C EOR R2, R11, R2
__symbolstub1:00498360 EOR R2, R2, R5
__symbolstub1:00498364 CMP R3, R1
__symbolstub1:00498368 ADD R12, R12, R2
__symbolstub1:0049836C BNE loc_498328
__symbolstub1:00498370 MOV R2, #0
__symbolstub1:00498374 LDR R1, [R6,#0xBC]
__symbolstub1:00498378 ORR R2, R2, R12
__symbolstub1:0049837C MOV R3, R4
__symbolstub1:00498380 CMP R1, #0
__symbolstub1:00498384 STRD R2, [R6,#0xA0]
__symbolstub1:00498388 BEQ loc_4982A4
__symbolstub1:0049838C CMP R7, R1
__symbolstub1:00498390 MOVCS R7, R1
__symbolstub1:00498394 MOV R0, R7
__symbolstub1:00498398 RSB R7, R7, R1
__symbolstub1:0049839C STR R7, [R6,#0xBC]
__symbolstub1:004983A0 LDMFD SP!, {R3-R11,PC}
__symbolstub1:004983A0 ; End of function sub_49828C
__symbolstub1:004983A0
__symbolstub1:004983A0 ; 

Link to comment
Share on other sites

Why u hided the topic...

giphy.gif\
THANKS to @Amuyea <3:hug:
 

Introducing the New iOSGods App+
Buy ViP to Support iOSGods. Click Me

=====================================

If my hacks don't work. Feel free to mention me or quote me and tell me the problem so I can fix it :) 

Only report hacks not working with all details (Screenshot / Screen Recorder your problem) instead of saying not working, you'll get blocked for wasting my time

Link to comment
Share on other sites

Did u try set $r4=$r7 wothout 0x dude 0x is for when u set it to a new hex like set *0xoffset=0xhex

Or try set $r4=99999

giphy.gif\
THANKS to @Amuyea <3:hug:
 

Introducing the New iOSGods App+
Buy ViP to Support iOSGods. Click Me

=====================================

If my hacks don't work. Feel free to mention me or quote me and tell me the problem so I can fix it :) 

Only report hacks not working with all details (Screenshot / Screen Recorder your problem) instead of saying not working, you'll get blocked for wasting my time

Link to comment
Share on other sites

Did u try set $r4=$r7 wothout 0x dude 0x is for when u set it to a new hex like set *0xoffset=0xhex

Or try set $r4=99999

i set $r4=0x99999 only 

 

whether "$r4=0x999" or "$r4=$r7"

how converted to just like [0xoffset,0xhex]

in this way ,make a patcher.

Link to comment
Share on other sites

Can u talk more specific bro?

giphy.gif\
THANKS to @Amuyea <3:hug:
 

Introducing the New iOSGods App+
Buy ViP to Support iOSGods. Click Me

=====================================

If my hacks don't work. Feel free to mention me or quote me and tell me the problem so I can fix it :) 

Only report hacks not working with all details (Screenshot / Screen Recorder your problem) instead of saying not working, you'll get blocked for wasting my time

Link to comment
Share on other sites

U mean u want to make it a tweak or a patcher?

giphy.gif\
THANKS to @Amuyea <3:hug:
 

Introducing the New iOSGods App+
Buy ViP to Support iOSGods. Click Me

=====================================

If my hacks don't work. Feel free to mention me or quote me and tell me the problem so I can fix it :) 

Only report hacks not working with all details (Screenshot / Screen Recorder your problem) instead of saying not working, you'll get blocked for wasting my time

Link to comment
Share on other sites

U mean u want to make it a tweak or a patcher?

yes,i think so 

 

because i learned code inject tut from DIDA/airmax  etc

 

they always found offset /funtion/data

 

then done such as :

 

offset:0xaddress

 

STR R4, [R6,#0x98] ----------->STR  R7, [R6,#0x98]

 

tweak like this:writeData(0xoffset, 0xhex)

 

because once run ,app will crash

_________________​_________________​_________________

if i want to change register value,(set $r4=0xhex  or set $r4=$r7) 

 

which is my offset and hex for make a patcher.

 

 

 

 

 

i am so sorry for pool english.

Link to comment
Share on other sites

Can u gimme the offsets and the hex in settings i will fix it for you :)

giphy.gif\
THANKS to @Amuyea <3:hug:
 

Introducing the New iOSGods App+
Buy ViP to Support iOSGods. Click Me

=====================================

If my hacks don't work. Feel free to mention me or quote me and tell me the problem so I can fix it :) 

Only report hacks not working with all details (Screenshot / Screen Recorder your problem) instead of saying not working, you'll get blocked for wasting my time

Link to comment
Share on other sites

Archived

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

  • Our picks

    • Modded/Hacked App: Volleyball Arena By Miniclip SA
      Bundle ID: com.miniclip.minivolley
      iTunes Store Link: https://apps.apple.com/us/app/volleyball-arena/id1563362742?uo=4


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


      Hack Features:
      - Unlimited Stamina
      - High Jumps
      - Hard Hits (be careful its hard to win with this sometimes lol)
      - Increased Movement Speed
      - Unlocks All Powers To Use (Must leave it on to keep it unlock and use them)
      - x99 Power Up Cards to Use In A Match (if you turn it off it will go back to normal, leave it on when you want to use any power ups)
      - Unlock Power Up Card Slots
      - Remove Ads After Playing a Match
      - Prevent Powers from running out (experimental need feed back, thanks).

      Note: DO NOT ASK FOR POWER COOL-DOWNS  TO KEEP USING AS THAT SEEMSS TO BE SYNC WITH SERVER TIME CLOCK.


      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/


      iOS Hack Download Link:

      Hidden Content
      Download Hack







      Installation Instructions:
      STEP 1: Download the .deb Cydia hack file from the link above. Use Safari/Google Chrome or other iOS browsers to download.
      STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
      STEP 3: If necessary, tap on the downloaded file, and then, you will need to press 'Install' from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 5: If the hack is a Mod Menu — which is usually the case nowadays — the cheat features can be toggled in-game. Some cheats have options that can be enabled from your iDevice settings.
      STEP 6: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue down below and we'll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - XxReddingtonxX


      Cheat Video/Screenshots:

      N/A
        • Informative
        • Winner
        • Like
      • 29 replies
    • Mighty DOOM v1.0.0 +2 Jailed Cheats [ One-Hit Kill ]
      Modded/Hacked App: Mighty DOOM By Bethesda
      Bundle ID: com.bethsoft.ubu
      iTunes Store Link: https://apps.apple.com/us/app/mighty-doom/id1535673981
       

      Hack Features:
      - Dumb Enemies
      - One-Hit Kill


      Jailbreak required hack(s): https://iosgods.com/topic/170017-mighty-doom-v100-2-cheats-damage-multiplier/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Like
      • 3 replies
    • Archero Cheats v4.11.1 +5 [ God Mode & More ]
      Modded/Hacked App: Archero by HABBY PTE. LTD.
      Bundle ID: com.habby.archero
      iTunes Store Link: https://apps.apple.com/us/app/archero/id1453651052?uo=4&at=1010lce4



      Hack Features:
      - Multiply Defense to
      - Multiply Damage to
      - God Mode
      - OHK (Must use with God Mode)
      - Freeze Enemies

      NOTE: If you want to use god mode and ohk turn off multiply damage and defense first. I added multiply damage and defense there to avoid ban


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/100710-archero-v210-enemies-dont-attack-x30-attack/


      Hack Download Link: https://iosgods.com/topic/96783-arm64-archero-cheats-v220-5/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 15,264 replies
    • Family Island — Farm game v2023123.0.28227 Jailed Cheats +1
      Modded/Hacked App: Family Island™ — Farm game by Melsoft
      Bundle ID: com.MelsoftGames.FamilyIsland
      iTunes Store Link: https://apps.apple.com/us/app/family-island-farm-game/id1464689103?uo=4&at=1010lce4


      Hack Features:
      - Cheat Engine Enabled


      iOS Hack Download Link: https://iosgods.com/topic/115337-arm64-family-island-%E2%80%94-farm-game-v20190824862-jailed-cheats-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,757 replies
    • Jane`s Story: Cooking & Hotel v23.1 +1 Jailed Cheat [ Unlimited Crystals ]
      Modded/Hacked App: Jane`s Story: Cooking & Hotel By BIT.GAMES PBL
      Bundle ID: games.bit.gymmania
      iTunes Store Link: https://apps.apple.com/us/app/jane-s-story-cooking-hotel/id6443793116
       

      Hack Features:
      - Unlimited Crystals -> Head over to Settings and toggle the Music button.


      Jailbreak required hack(s): [Mod Menu Hack] Gym Mania v20.4 +3 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/
        • Thanks
        • Like
      • 4 replies
    • Jane`s Story: Cooking & Hotel v23.1 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Jane`s Story: Cooking & Hotel By BIT.GAMES PBL
      Bundle ID: games.bit.gymmania
      iTunes Store Link: https://apps.apple.com/us/app/jane-s-story-cooking-hotel/id6443793116
       

      Hack Features:
      - Unlimited Coins*
      - Unlimited Crystals*
      - Unlimited Lives*

      * - Head over to Settings and toggle the Music button. Only enable 1 switch at once.


      Non-Jailbroken & No Jailbreak required hack(s): [No Jailbreak Required] Gym Mania v20.4 +1 Jailed Cheat [ Unlimited Crystals ] - ViP Non-Jailbroken Hacks & 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/
        • Thanks
        • Like
      • 9 replies
    • The Walking Zombie 2 v3.6.33 +6 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: The Walking Zombie 2 By Alda Games s.r.o.
      Bundle ID: com.aldagames.zombieshooter
      iTunes Store Link: https://apps.apple.com/us/app/the-walking-zombie-2/id1477794561


      Hack Features:
      - Unlimited Silver
      - Unlimited Gold
      - Unlimited Ammo -> Will not decrease.
      - No Weapon Recoil
      - No Weapon Spread
      - No Camera Shake


      Jailbreak required hack(s): [Mod Menu Hack] The Walking Zombie 2 v3.6.12 +12 Cheats [ God Mode, Damage, Speed ] - 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
        • Haha
        • Thanks
        • Winner
        • Like
      • 14 replies
    • The Walking Zombie 2 v3.6.33 +12 Cheats [ God Mode, Damage, Speed ]
      Modded/Hacked App: The Walking Zombie 2 By Alda Games s.r.o.
      Bundle ID: com.aldagames.zombieshooter
      iTunes Store Link: https://apps.apple.com/us/app/the-walking-zombie-2/id1477794561


      Hack Features:
      - Unlimited Silver
      - Unlimited Gold
      - God Mode
      - Custom Damage
      - Custom Move Speed
      - Custom Doctor
      - Unlimited Ammo -> Will not decrease.
      - Instant Reload
      - Insane Fire Rate
      - No Weapon Recoil
      - No Weapon Spread
      - No Camera Shake


      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/
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 23 replies
    • [Exclusive] Sword Art Online VS v1.0.31 +9 Cheats
      Modded/Hacked App: Sword Art Online VS By Bandai Namco Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0409
      iTunes Store Link: https://apps.apple.com/us/app/sword-art-online-vs/id1623994768?uo=4


      Hack Features:
      - No Skill Cooldown
      - No Switch Cooldown
      - Damage Multiplier
      - Defense Multiplier
      - Instant Special Gauge
      - Auto Win stages (does not. work on bosses)
      - Always Complete Stages 3 stars no matter what
      - Always Finish stages with S++ no matter what
      - Increased Drop Rate for materials on stages (its def more than 50-60% drop rate increase).


      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
        • Haha
        • Thanks
        • Winner
        • Like
      • 172 replies
    • Disney Heroes: Battle Mode Cheats v4.8 +5
      Modded/Hacked App: Disney Heroes: Battle Mode By PerBlue Entertainment, Inc.
      Bundle ID: com.perblue.disneyheroes.ios
      iTunes Store Link: https://apps.apple.com/us/app/disney-heroes-battle-mode/id1327925104?uo=4

      Hack Features:
      - Auto Win
      - Freeze Enemy
      - Instant Skill Energy
      - OneHit Kill (shared so use freeze enemy)
      - IgnoreShieldDodge


      iOS Hack Download Link: https://iosgods.com/topic/166893-disney-heroes-battle-mode-v45/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 57 replies
    • Yu-Gi-Oh! Duel Links v7.5.1 - [ Always Best Tactics & More ]
      Modded/Hacked App: Yu-Gi-Oh! Duel Links By KONAMI
      Bundle ID: jp.konami.yugiohmobile
      iTunes Store Link: https://itunes.apple.com/us/app/yu-gi-oh-duel-links/id1068378177


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      -- Always The Best Tactics
      - Shows
      -- Enemies Hand Card Show
      - Show Monster And Status
      -- Enemies Deck Card Shows
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,239 replies
    • Yu-Gi-Oh! Duel Links v7.5.1 - [ Auto-Play & More ]
      Modded/Hacked App: Yu-Gi-Oh! Duel Links By KONAMI
      Bundle ID: jp.konami.yugiohmobile
      iTunes Store Link: https://itunes.apple.com/us/app/yu-gi-oh-duel-links/id1068378177
       

      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - Auto-Play - Don't Work In PVP 
      -- Always The Best Tactics
      - Face Up Card
      -- Enemies Hand Card Show
      - Show Monster And Status
      -- Enemies Deck Card Shows
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,721 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