MiFa

Untitled

Jul 28th, 2011
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;W902 SW-R3EG004;W595 SW-R3EF001
  2. ;In the case of outgoing and incoming caller's photo shows a full area of the screen.
  3. ;The best option - to make photos near the size and assign the appropriate contacts.
  4. ;v. 2.5
  5. ;Added background, and better viewing caller's photo when viewing SMS's
  6. ;(c) jamesbond22
  7. ;(p) MiFa
  8.  
  9. include "x.inc"
  10. include "lib\w902_r3eg004.asm"
  11.  
  12. org 0x10E0ED4E;10e06dfe
  13. ;pg_SetupCall__0xF+5Ej
  14.                 ldr     R3, off_address1
  15.                 blx     R3
  16.  
  17. org 0x10E0EDF4;10e06ea4
  18. ;pg_SetupCall__0xF+BCr
  19. off_address1    dw settings1+1
  20.  
  21. org 0x10E105D8;10e08688
  22.                 beq     0x10E105F4;10E086A4
  23.  
  24. org 0x10E105E8;10e08698
  25.                 bne     0x10E105F4;10E086A4
  26.  
  27. org 0x10E10654;10e08704
  28. dword_10E08704  dw 0x78000020
  29.  
  30. org 0x10E11D5A;10e09e16
  31. ;pg_AskAnswer__0xF+A4j
  32.                 blx     R2
  33.  
  34. org 0x10E12004;10e0a0c0
  35. ;pg_AskAnswer__0xF
  36.                 dw settings2+1
  37.  
  38. org 0x10A42A64;10a3a3f4
  39.  
  40.                 bx      LR
  41.  
  42. settings1:
  43.                                        
  44.                 push    {R0-R7,LR}
  45.                 ldr     R0, [R4,0x38]
  46.                 mov     R1, 4
  47.                 bl      GUIObject_SetStyle
  48.                 ldr     R0, [R4,0x38]
  49.                 bl      GUIObject_SoftKeys_RemoveBackground
  50.                 ldr     R0, [R4,0x38]
  51.                 ldr     R1, icon_pic_background
  52.                 bl      settings3
  53.                 pop     {R0-R7}
  54.                 ldr     R0, [R4,0x38]
  55.                 ldr     R1, off_jump_setupcall_h2
  56.                 pop     {PC}
  57.  
  58.  
  59. settings2:
  60.                 push    {R0-R7,LR}
  61.                 ldr     R0, [R5,0x18]
  62.                 mov     R1, 4
  63.                 bl      GUIObject_SetStyle
  64.                 ldr     R0, [R5,0x18]
  65.                 bl      GUIObject_SoftKeys_RemoveBackground
  66.                 ldr     R0, [R5,0x18]
  67.                 ldr     R1, icon_pic_background
  68.                 bl      settings3
  69.                 pop     {R0-R7}
  70.                 ldr     R2, off_jump_askanswer
  71.                 ldr     R0, [R5,0x18]
  72.                 pop     {PC}
  73.  
  74.  
  75.  
  76.  
  77. settings3:
  78.                                        
  79.                 push    {R4,LR}
  80.                 add     R4, R1, 0
  81.                 bl      GUIObject_GetDispObject
  82.                 add     R1, R4, 0
  83.                 ;SetBackgroundImage
  84.                 bl      0x108DCEE8;108D4388
  85.                 pop     {R4,PC}
  86. ;--------------------------------------------------------------------------------
  87. align 4
  88. off_jump_setupcall_h2    dw 0x10E0EE50+1;10E06F00+1
  89. off_jump_askanswer       dw 0x10E12300+1;10E0A3BC+1
  90. icon_pic_background      dw 0xF327
Advertisement
Add Comment
Please, Sign In to add comment