Advertisement
Guest User

Untitled

a guest
Oct 13th, 2013
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.01 KB | None | 0 0
  1. .text:0003D404 ; =============== S U B R O U T I N E =======================================
  2. .text:0003D404
  3. .text:0003D404
  4. .text:0003D404 EXPORT mctl_send_ctrl_cmd_done
  5. .text:0003D404 mctl_send_ctrl_cmd_done ; CODE XREF: sub_32748+1BEp
  6. .text:0003D404 ; config_proc_event_message_0+3Cp ...
  7. .text:0003D404
  8. .text:0003D404 var_20 = -0x20
  9. .text:0003D404 var_10 = -0x10
  10. .text:0003D404
  11. .text:0003D404 ADD.W R0, R0, #0x15000
  12. .text:0003D408 PUSH {R4,R5,LR}
  13. .text:0003D40A MOV R4, R2
  14. .text:0003D40C LDR.W R2, [R0,#0x1E0]
  15. .text:0003D410 SUB SP, SP, #0x14
  16. .text:0003D412 MOV R5, R1
  17. .text:0003D414 CBZ R2, loc_3D424
  18. .text:0003D416 LDR R3, [R2]
  19. .text:0003D418 CBZ R3, loc_3D424
  20. .text:0003D41A CBZ R5, loc_3D41E
  21. .text:0003D41C LDR R1, [R5,#4]
  22. .text:0003D41E
  23. .text:0003D41E loc_3D41E ; CODE XREF: mctl_send_ctrl_cmd_done+16j
  24. .text:0003D41E LDR R0, [R2,#8]
  25. .text:0003D420 BLX R3
  26. .text:0003D422 B loc_3D452
  27. .text:0003D424 ; ---------------------------------------------------------------------------
  28. .text:0003D424
  29. .text:0003D424 loc_3D424 ; CODE XREF: mctl_send_ctrl_cmd_done+10j
  30. .text:0003D424 ; mctl_send_ctrl_cmd_done+14j
  31. .text:0003D424 CBNZ R4, loc_3D452
  32. .text:0003D426 ADD R2, SP, #0x20+var_10
  33. .text:0003D428 LDR R0, [R5,#0x10] ; fd
  34. .text:0003D42A LDR R1, =0xC00456C4 ; request
  35. .text:0003D42C STR.W R5, [R2,#-4]!
  36. .text:0003D430 BLX ioctl
  37. .text:0003D434 CMP R0, #0
  38. .text:0003D436 BGE loc_3D452
  39. .text:0003D438 LDRH R3, [R5]
  40. .text:0003D43A MOVS R0, #6
  41. .text:0003D43C LDR R1, =(aMmCamera - 0x3D446)
  42. .text:0003D43E LDR R2, =(aDIoctlMsm_cam_ - 0x3D448)
  43. .text:0003D440 STR R3, [SP,#0x20+var_20]
  44. .text:0003D442 ADD R1, PC ; "mm-camera"
  45. .text:0003D444 ADD R2, PC ; "(%d)IOCTL MSM_CAM_V4L2_IOCTL_CTRL_CMD_D"...
  46. .text:0003D446 MOVW R3, #0x68C
  47. .text:0003D44A BLX __android_log_print
  48. .text:0003D44E MOV R0, R4
  49. .text:0003D450 B loc_3D454
  50. .text:0003D452 ; ---------------------------------------------------------------------------
  51. .text:0003D452
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement