Jump to content

How to deal with fixed value in memory with LLDB


Curtain

6 posts in this topic

Recommended Posts

Posted

I want to find IDA address by LLDB.
New puzzle. Convert memory address to IDA address in any way
I found the correct memory address through other ways, but the value of this memory address does not change through the game, so the watchpoint will not be HIT when i set watchpoint, finally unable to find the IDA address.
I have tried to change the memory data, but watchpoint still does not HIT
I am grateful for any help

Edit:The Game Name is "Knives Out By NetEase Games"

Features::Characters become larger(easy to shoot)

search for 0.78(F64) with IGG ,then tap "neaby" and search for 1(auto or F64,in my case search use auto type),then search for 1.000(F64) ,you will get four or five results, change the last one(1.0000) to 5.000, characters will 5 times the size compared to the original.

 @DiDA 

 @shmoo 

 @xiaov 

 @Mayaxaya 

 @Joka 

Posted
19 hours ago, jayvee said:

modify it using memory editor? im sure your watchpoint hits as long as there is changes made

In general, the conditions of breakpoints triggered by the operation of the game changes, so modify the memory value can not trigger a breakpoint ,I have already tried.

Posted

but watchpoint triggers as long as theres a changes on that address. watchpoint and breakpoint are different thing

Posted
9 hours ago, Curtain said:

In general, the conditions of breakpoints triggered by the operation of the game changes, so modify the memory value can not trigger a breakpoint ,I have already tried.

I understand what you're saying. I've had this happen to me before, but it hasn't happened in a long time.

 

Player size must be held in some instance variable of the player class. Since your watchpoint isn't hitting because the value never changes, I believe your best bet would be to find any function that is apart of the player class, and find the register where the this/self pointer is stored. Set a breakpoint on any LDR or STR instruction with the register where the this pointer is stored, and let it hit. Then you can examine the instance variables of that object by doing

<register>+0xnumber

. Lets say you find R0 as the register thats holding the this pointer. In GDB, you would do

x/i $r0+0x4

to access the first instance variable, then

x/i $r0+0x8

to access the second, and so on. Keep counting by 0x4. You want to keep doing this until GDB spits out 1.0. The great thing about GDB is that you can tell what kind of format you want it to put the number in. In your case it would be a float, so you would do

x/f $r0+0x4

and so on until you see 1.0.

 

You can also see strings this way :D Just do

x/s $r0+0x4

. It doesn't apply to what you're doing right now, but its just a tip for things later on. GDB is amazing. Its like a weapon

 

Once you do find the register/number combination that gives back 1.0, write it down. Do a hex search in IDA for

LDR Rx, [<your register/number combination>

, for 0<=x<=12. Then if you dont come up with any results, do

VLDR Sx, [<your register/number combination>]

, for 0<=x<=18.

 

Its very far fetched but it may work. Good luck! And great idea about changing player size.

Posted
On 1/16/2018 at 2:55 PM, Guest said:

I understand what you're saying. I've had this happen to me before, but it hasn't happened in a long time.

 

Player size must be held in some instance variable of the player class. Since your watchpoint isn't hitting because the value never changes, I believe your best bet would be to find any function that is apart of the player class, and find the register where the this/self pointer is stored. Set a breakpoint on any LDR or STR instruction with the register where the this pointer is stored, and let it hit. Then you can examine the instance variables of that object by doing


<register>+0xnumber

. Lets say you find R0 as the register thats holding the this pointer. In GDB, you would do


x/i $r0+0x4

to access the first instance variable, then


x/i $r0+0x8

to access the second, and so on. Keep counting by 0x4. You want to keep doing this until GDB spits out 1.0. The great thing about GDB is that you can tell what kind of format you want it to put the number in. In your case it would be a float, so you would do


x/f $r0+0x4

and so on until you see 1.0.

 

You can also see strings this way :D Just do


x/s $r0+0x4

. It doesn't apply to what you're doing right now, but its just a tip for things later on. GDB is amazing. Its like a weapon

 

Once you do find the register/number combination that gives back 1.0, write it down. Do a hex search in IDA for


LDR Rx, [<your register/number combination>

, for 0<=x<=12. Then if you dont come up with any results, do


VLDR Sx, [<your register/number combination>]

, for 0<=x<=18.

 

Its very far fetched but it may work. Good luck! And great idea about changing player size.

Dont understand :( 

Archived

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

  • Our picks

    • Crossy Road +5 Mods [ Unlimited Coins ]
      Mod APK Game Name: Crossy Road By HIPSTER WHALE
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.yodo1.crossyroad

       

      🤩 Hack Features

      - Unlimited Coins -> Earn some.
      - God Mode
      - Score Hack -> Earn 100 points for every jump.
      -- All Characters Unlocked
      -- No Ads
      • 0 replies
    • Triple Fantasy: Card RPG +3 Mods [ Damage & Defence ]
      Mod APK Game Name: Triple Fantasy: Card RPG By Gameplete
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.Gameplete.CardFantasy

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 0 replies
    • Crossy Road +5 Jailed Cheats [ Unlimited Coins ]
      Modded/Hacked App: Crossy Road By Hipster Whale Pty Ltd
      Bundle ID: com.hipsterwhale.crossy
      iTunes Store Link: https://apps.apple.com/us/app/crossy-road/id924373886?uo=4


      Hack Features:
      - Unlimited Coins -> Earn some.
      - God Mode
      - Score Hack -> Earn 100 points for every jump.
      -- All Characters Unlocked
      -- No Ads


      Jailbreak required hack(s): [Mod Menu Hack] Crossy Road v6.5.0 +5 Cheats [ Unlimited Coins ] - 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/
      • 68 replies
    • Mini Soccer Star 2026 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mini Soccer Star 2026 By VIVA GAMES S.L.
      Bundle ID: com.touch2goal.soccer
      App Store Link: https://apps.apple.com/us/app/mini-soccer-star-2026/id1636072966?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Gems -> Earn or spend some.
      - Unlimited Energy -> Will not decrease.
      • 199 replies
    • Boom Karts Multiplayer Racing +2 Jailed Cheats [ Cars/Emotes Unlocked ]
      Modded/Hacked App: Boom Karts Multiplayer Racing By Fingersoft
      Bundle ID: com.fingersoft.boomkarts
      iTunes Store Link: https://apps.apple.com/us/app/boom-karts-multiplayer-racing/id1553445732
       

      Hack Features:
      - All Cars Unlocked
      - All Emotes Unlocked


      Jailbreak required hack(s): https://iosgods.com/topic/171957-boom-karts-multiplayer-racing-v1300-2-cheats-carsemotes-unlocked/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 40 replies
    • Triple Fantasy +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Triple Fantasy By Gameplete
      Bundle ID: com.Gameplete.CardFantasy
      iTunes Store Link: https://apps.apple.com/us/app/triple-fantasy/id1018725872?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      • 24 replies
    • Vampire Survivors +4 Mods [ Damage & Defence ]
      Mod APK Game Name: Vampire Survivors By Poncle
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.poncle.vampiresurvivors

       

      🤩 Hack Features

      - Damage Multiplier 
      - Defence Multiplier
      - God Mode
      - Unlock All Weapons -> Head over to Options and toggle the Sounds button.
      • 1 reply
    • Tattoo Studio Simulator +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Tattoo Studio Simulator By SKYLOFT YAZILIM BILISIM VE TICARET ANONIM SIRKETI
      Bundle ID: com.dmg.tattoo.studio.simulator
      App Store Link: https://apps.apple.com/us/app/tattoo-studio-simulator/id6743083378?uo=4

       
       

      🤩 Hack Features

      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Energy -> Will increase instead of decrease.
      -- No Ads
      • 11 replies
    • Lunar Order +3 Mods [ Damage & Defence ]
      Mod APK Game Name: Lunar Order By Now to Play Game Sucursal en España
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.n2pg.lo

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 3 replies
    • War Inc: Guard +2 Jailed Cheats [ One-Hit Kill ]
      Modded/Hacked App: War Inc: Guard By SamShui Corporation
      Bundle ID: com.i89trillion.strategy.guard
      App Store Link: https://apps.apple.com/us/app/war-inc-guard/id6747061394?uo=4

       
       

      🤩 Hack Features

      - One-Hit Kill
      - Attack Speed
      • 8 replies
    • Dynasty Warriors ( 真・三國無双 覇 ) +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: 真・三國無双 覇 By SUPERNOVA OVERSEAS LIMITED
      Bundle ID: com.supernova.ssgms.jp.ios
      App Store Link: https://apps.apple.com/jp/app/%E7%9C%9F-%E4%B8%89%E5%9C%8B%E7%84%A1%E5%8F%8C-%E8%A6%87/id6461309538?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 12 replies
    • Mystery Matters +6 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mystery Matters By Playrix
      Bundle ID: com.playrix.mystery-matters
      iTunes Store Link: https://apps.apple.com/us/app/mystery-matters/id6450447751
       

      Hack Features:
      - Freeze Coins
      - Freeze Stars
      - Freeze Lives
      - Freeze Moves

      VIP
      Note - These features will get you banned from teams/clans.
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Stars -> Earn some.
      • 64 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