Jump to content

8 posts in this topic

Recommended Posts

Posted (edited)

hi again,

so i finally have a debugger working,

i got my first offset for assassin creed unity, that the health offset.

Spoiler

(lldb) w s e -- 0x118696d90

Watchpoint created: Watchpoint 1: addr = 0x118696d90 size = 8 state = enabled type = w

    new value: 1132476854

(lldb) c

Process 5331 resuming

 

Watchpoint 1 hit:

old value: 1132476854

new value: 1127244276

Process 5331 stopped

* thread #1: tid = 0x91ca, 0x000000010048866c acier`___lldb_unnamed_function18218$$acier + 4, queue = 'com.apple.main-thread', stop reason = watchpoint 1

    frame #0: 0x000000010048866c acier`___lldb_unnamed_function18218$$acier + 4

acier`___lldb_unnamed_function18218$$acier:

->  0x10048866c <+4>: ret    

 

acier`___lldb_unnamed_function18219$$acier:

    0x100488670 <+0>: stp    x29, x30, [sp, #-16]!

    0x100488674 <+4>: mov    x29, sp

    0x100488678 <+8>: mov    x8, x0

(lldb)

the problem i have is when i open the binary in ida, the last offset is 0271EB2C...

i also looked at 0x00488670.. but it doesnt match.

what have i done wrong?  there is not much tuto with lldb, its mainly gdb on iosgods

thank you

 

edit: ida show that

Spoiler

__text:00488660                 MOV             R1, #(off_2421FA8 - 0x48866C)
__text:00488668                 ADD             R1, PC ; off_2421FA8
__text:0048866A                 LDR             R1, [R1] ; unk_2632754
__text:0048866C                 STR             R0, [R1]
__text:0048866E                 MOV             R0, #0x8000165E
__text:00488676                 BL.W            sub_E09F44
__text:0048867A                 MOV             R1, #(off_2421FB8 - 0x488686)
__text:00488682                 ADD             R1, PC ; off_2421FB8
__text:00488684                 LDR             R1, [R1] ; unk_2632758
__text:00488686                 STR             R0, [R1]
__text:00488688                 MOVS            R0, #1
__text:0048868A                 STRB            R0, [R5]

 

Updated by Anonymonk
Posted (edited)

 

5 hours ago, Ted2 said:

Removed ASLR?

yes, thinned and removed

i will try again later to see if i get the same offset, and to type "dis"

Updated by Anonymonk
Posted
19 minutes ago, Anonymonk said:

 

yes, thinned and removed

i will try again later to see if i get the same offset, and to type "dis"

U loaded same binay in IDA too?

Posted (edited)
2 hours ago, Ted2 said:

U loaded same binay in IDA too?

oh sh!t, thats true, i just reinstall the game because i had some loggin problem and i forgot to paste the thinned bin...

hahaha, i feel ashamed ^^ thank you 

Updated by Anonymonk
Posted
13 hours ago, Anonymonk said:

/delete

you have the 32 bit binary disassembled in IDA not the 64 bit one. The 64 bit one contains that health offset.

Posted

Yep, as pointed Ted2

when i put the thinned bin in assassin creed and debugg from that one, it was all right

:)

but still the journey seems to be long

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