Jump to content

26 posts in this topic

Recommended Posts

Posted (edited)

@@Ianouar3G

str r0, [r10, #56]

Change to

NOP

or change to

str r0, [r10, #0]

This is totally wrong ...

 

@@ian Finding another register in gdb which hold 0 value then change the str

 

For example: r6 hold 0 value then change the str r0 to r6

 

Look like you're hacking darkness reborn, trust me no hope for that game ;) cause no cooldown always is float value

Updated by Laxus
Posted

This is totally wrong ...

@@ian Finding another register in gdb which hold 0 value then change the str

For example: r6 hold 0 value then change the str r0 to r6

Im not an expert in IDA. Do you know where I can find information as to what the registers hold?
Posted (edited)

how Change to

NOP ???

 

 

crashed str r0, [r10, #0]

Im not an expert in IDA. Do you know where I can find information as to what the registers hold?

If you use nop the timer will free there and stop decreasing or worst it will crash. Type i r or info register and find out which R hold 0 value then change the str with that R Updated by Laxus
Posted

i find it 

 

str        r1, [r11, #4]

Another offset?

Posted

ldr        r0, [r10, #28]
Old value = 1
New value = 11
0x00256ba4 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = 131072
4: $r2 = 63166976
3: $r1 = 1
2: $r0 = 11
1: x/i $pc  0x256ba4:  38 00 8a e5                   str        r0, [r10, #56]
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00256ba8 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = 131072
4: $r2 = 63166976
3: $r1 = 1
2: $r0 = 11
1: x/i $pc  0x256ba8:  1c 00 9a e5                   ldr        r0, [r10, #28]

(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
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
Hardware watchpoint 1: *274333688

Old value = 11
New value = 10
0x00256ba4 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 11
2: $r0 = 10
1: x/i $pc  0x256ba4:  38 00 8a e5                   str        r0, [r10, #56]
(gdb) ldr        r0, [r10, #28]
Undefined command: "ldr".  Try "help".
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00256ba8 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 11
2: $r0 = 10
1: x/i $pc  0x256ba8:  1c 00 9a e5                   ldr        r0, [r10, #28]
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00256bac in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 11
2: $r0 = 275376128
1: x/i $pc  0x256bac:  20 00 8b e5                   str        r0, [r11, #32]
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00256bb0 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 11
2: $r0 = 275376128
1: x/i $pc  0x256bb0:  10 00 8b e2                   add        r0, r11, #16   ; 0x10
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00256bb4 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 11
2: $r0 = 63174216
1: x/i $pc  0x256bb4:  05 03 16 eb                   bl 0x7d77d0
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x007d77d0 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 11
2: $r0 = 63174216
1: x/i $pc  0x7d77d0:  00 c0 9f e5                   ldr        r12, [pc, #0]  ; 0x7d77d8
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x007d77d4 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 11
2: $r0 = 63174216
1: x/i $pc  0x7d77d4:  0c f0 9f e7                   ldr        pc, [pc, r12]
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00ec5204 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 11
2: $r0 = 63174216
1: x/i $pc  0xec5204:  0d c0 a0 e1                   mov        r12, sp
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00ec5208 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 11
2: $r0 = 63174216
1: x/i $pc  0xec5208:  80 40 2d e9                   push       {r7, lr}
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00ec520c in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 11
2: $r0 = 63174216
1: x/i $pc  0xec520c:  0d 70 a0 e1                   mov        r7, sp
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00ec5210 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 11
2: $r0 = 63174216
1: x/i $pc  0xec5210:  00 59 2d e9                   push       {r8, r11, r12, lr}
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00ec5214 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 11
2: $r0 = 63174216
1: x/i $pc  0xec5214:  08 d0 4d e2                   sub        sp, sp, #8     ; 0x8
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00ec5218 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 11
2: $r0 = 63174216
1: x/i $pc  0xec5218:  0d b0 a0 e1                   mov        r11, sp
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00ec521c in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 11
2: $r0 = 63174216
1: x/i $pc  0xec521c:  00 00 8b e5                   str        r0, [r11]
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00ec5220 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 11
2: $r0 = 63174216
1: x/i $pc  0xec5220:  00 00 9b e5                   ldr        r0, [r11]
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00ec5224 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 11
2: $r0 = 63174216
1: x/i $pc  0xec5224:  00 00 90 e5                   ldr        r0, [r0]
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00ec5228 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 11
2: $r0 = 10
1: x/i $pc  0xec5228:  00 10 a0 e3                   mov        r1, #0  ; 0x0
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00ec522c in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 0
2: $r0 = 10
1: x/i $pc  0xec522c:  97 48 09 eb                   bl 0x1117490
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x01117490 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 0
2: $r0 = 10
1: x/i $pc  0x1117490:  00 c0 9f e5                   ldr       r12, [pc, #0]  ; 0x1117498
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x01117494 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 0
2: $r0 = 10
1: x/i $pc  0x1117494:  0c f0 9f e7                   ldr       pc, [pc, r12]
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00eedd80 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 0
2: $r0 = 10
1: x/i $pc  0xeedd80:  0d c0 a0 e1                   mov        r12, sp
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00eedd84 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 0
2: $r0 = 10
1: x/i $pc  0xeedd84:  80 40 2d e9                   push       {r7, lr}
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00eedd88 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 0
2: $r0 = 10
1: x/i $pc  0xeedd88:  0d 70 a0 e1                   mov        r7, sp
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00eedd8c in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 0
2: $r0 = 10
1: x/i $pc  0xeedd8c:  60 59 2d e9                   push       {r5, r6, r8, r11, r12, lr}
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00eedd90 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 0
2: $r0 = 10
1: x/i $pc  0xeedd90:  08 d0 4d e2                   sub        sp, sp, #8     ; 0x8
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00eedd94 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 0
2: $r0 = 10
1: x/i $pc  0xeedd94:  0d b0 a0 e1                   mov        r11, sp
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00eedd98 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 0
2: $r0 = 10
1: x/i $pc  0xeedd98:  00 60 a0 e1                   mov        r6, r0
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00eedd9c in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 0
2: $r0 = 10
1: x/i $pc  0xeedd9c:  04 10 8b e5                   str        r1, [r11, #4]
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00eedda0 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 0
2: $r0 = 10
1: x/i $pc  0xeedda0:  e1 0c a0 e3                   mov        r0, #57600     ; 0xe100
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00eedda4 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 0
2: $r0 = 57600
1: x/i $pc  0xeedda4:  f5 08 80 e2                   add        r0, r0, #16056320       ; 0xf50000
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00eedda8 in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 0
2: $r0 = 16113920
1: x/i $pc  0xeedda8:  05 04 80 e2                   add        r0, r0, #83886080       ; 0x5000000
(gdb) stepi
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
0x00eeddac in dyld_stub_pthread_key_create ()
6: $r4 = 269659216
5: $r3 = -1012172162
4: $r2 = 63174056
3: $r1 = 0
2: $r0 = 100000000
1: x/i $pc  0xeeddac:  00 00 56 e1                   cmp        r6, r0

 

Posted

Lol i give up, don't understand what're you doing. What game are you hacking?

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