Jump to content

Help with IDA Pro - How do I modify & test a function?


Go to solution Solved by Rook,

5 posts in this topic

Recommended Posts

Posted (edited)

I'm a n00b/beginner, so I'm sorry if this is a dumb question. I have IDA Pro 7.0 (Windows) and I can't figure out how to modify a function. I already tried all the edit options and patch (assembler), but it doesn't work. Can someone guide me on what I'm doing wrong or I just simply can't edit it? I'm trying to edit a function so I can extract the offset and then try it out on the live offset patcher.

Updated by cybergeisha
Grammar
  • Solution
Posted

There are a few ways to test the function you're trying to modify:

  1. The easiest being Live Offset Patcher - this is highly recommended if you're a newbie, but it does have its limitations. Currently if your game is using UnityFramework, LOP won't support it. An update for this is being worked on. :)
  2. Hex editing the binary and placing the modded binary into the app replacing the original
  3. Compiling a .deb with the function(s) you're testing.
  4. Via LLDB
  • Like 1
Posted
35 minutes ago, Rook said:

There are a few ways to test the function you're trying to modify:

  1. The easiest being Live Offset Patcher - this is highly recommended if you're a newbie, but it does have its limitations. Currently if your game is using UnityFramework, LOP won't support it. An update for this is being worked on. :)
  2. Hex editing the binary and placing the modded binary into the app replacing the original
  3. Compiling a .deb with the function(s) you're testing.
  4. Via LLDB

I think with this you should have setting built in to the preference loader to support this

Posted (edited)

Thank you so much for the replies! I actually figured out all of this like two hours after I submitted it, and I didn't know how to cancel! I didn't need to modify anything on IDA, I just had to find the right offset and match it to the HEXES.

Updated by cybergeisha
Posted
On 10/31/2021 at 6:18 PM, cybergeisha said:

Thank so much for the replies! I actually figured out all of this like two hours after I submitted it and I didn't knew how to cancel! I didn't need to modify anything on IDA I just had to find the right offset and match it to the HEXES. 

The best why I’ve tried testing is literally RET each function and just see what happens or what triggered something unusual to happen, or breakpoint

  • Thanks 1

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
×
  • 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