View Single Post
Old 12-30-2016, 04:04 PM   #120
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by kido.resuri View Post
I'm a Windows user by the way, Hex editor is not a problem, I also have python isntalled now (for the Kobo translation), I only need an objdump alternative, perhaps it also could be used from cygwin.
objdump will only really be useful if you know how to read the output it produces, i.e. ARM assembly language.
Spoiler:
Code:
008a21a8 <FrontLightPopup::decreaseBrightness()>:
  8a21a8:       6c03            ldr     r3, [r0, #64]   ; 0x40
  8a21aa:       b5b0            push    {r4, r5, r7, lr}
  8a21ac:       4604            mov     r4, r0
  8a21ae:       af00            add     r7, sp, #0
  8a21b0:       6b58            ldr     r0, [r3, #52]   ; 0x34
  8a21b2:       f764 e0d6       blx     406360 <_init+0xd018>
  8a21b6:       6c23            ldr     r3, [r4, #64]   ; 0x40
  8a21b8:       4605            mov     r5, r0
  8a21ba:       6b58            ldr     r0, [r3, #52]   ; 0x34
  8a21bc:       f77a e69a       blx     41cef4 <_init+0x23bac>
  8a21c0:       f1a0 010a       sub.w   r1, r0, #10
  8a21c4:       4620            mov     r0, r4
  8a21c6:       42a9            cmp     r1, r5
  8a21c8:       bfb8            it      lt
  8a21ca:       4629            movlt   r1, r5
  8a21cc:       46bd            mov     sp, r7
  8a21ce:       e8bd 40b0       ldmia.w sp!, {r4, r5, r7, lr}
  8a21d2:       f781 b35f       b.w     423894 <_init+0x2a54c>
  8a21d6:       bf00            nop


There is a lot you can do without a disassembler though, most of the current patches just modify the data, mainly strings, and dont need to know anything about the code that uses it.

Last edited by GeoffR; 12-30-2016 at 04:12 PM.
GeoffR is offline   Reply With Quote