Skip to content
Guest Big Announcement

Modern Combat 4 v1.2.1 Functions + Offsets

Featured Replies

  • Replies 128
  • Views 26.8k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

Thanks @@shmoo, posting your offsets really helps :)

But what I don't understand is how you find those offsets...

I used gdb to find the ammo-function but it dropped me off at 0x1c1d74 which is nowhere near C1e24 (your offset). It would be nice if you showed me how you did it ;)

Updated by schlumpf peter

Thanks @@shmoo, posting your offsets really helps :)

But what I don't understand is how you find those offsets...

I used gdb to find the ammo-function but it dropped me off at 0x1c1d74 which is nowhere near C1e24 (your offset). It would be nice if you showed me how you did it ;)

For gameloft games, avoid using iGG and GDB watchpoints. It will only drop you off at the label instead of the actual value. You can see this effect by NOP'ing the instructions near the offset you got.

 

I used a technique called APK compare. An APK is the android app. Basically, what I do is I open the APK binary in Hopper, and have the iOS binary open in IDA. Then I look for things that stick out in the android functions. Mostly ADDW, LDR, and STR instructions.

 

The thing that would stick out is the #0xYYY in the instructions. For example, LDR R0, [R4, #0x454] would stick out. But not something like LDR R0, [R4, #0x8].

 

Now go to IDA, and text search for LDR. Then, after that is done, create a quick filter for 0x454. Then look for the function that looks like the android function for that :)

For gameloft games, avoid using iGG and GDB watchpoints. It will only drop you off at the label instead of the actual value. You can see this effect by NOP'ing the instructions near the offset you got.

 

I used a technique called APK compare. An APK is the android app. Basically, what I do is I open the APK binary in Hopper, and have the iOS binary open in IDA. Then I look for things that stick out in the android functions. Mostly ADDW, LDR, and STR instructions.

 

The thing that would stick out is the #0xYYY in the instructions. For example, LDR R0, [R4, #0x454] would stick out. But not something like LDR R0, [R4, #0x8].

 

Now go to IDA, and text search for LDR. Then, after that is done, create a quick filter for 0x454. Then look for the function that looks like the android function for that :)

so basically you need an android device for iOS hacking? Are there any other methods besides gdb, igg and APK compare for finding offsets in IDA?

so basically you need an android device for iOS hacking? Are there any other methods besides gdb, igg and APK compare for finding offsets in IDA?

Nope, you don't need an android device. You can find the apks on the internet just like ios apps. And yes there are other methods: strings, fuzzy, EOR, and some others I won't dive into :3

Nope, you don't need an android device. You can find the apks on the internet just like ios apps. And yes there are other methods: strings, fuzzy, EOR, and some others I won't dive into :3

Thanks! You really are a god ;) 

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.