Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .text:0003D404 ; =============== S U B R O U T I N E =======================================
- .text:0003D404
- .text:0003D404
- .text:0003D404 EXPORT mctl_send_ctrl_cmd_done
- .text:0003D404 mctl_send_ctrl_cmd_done ; CODE XREF: sub_32748+1BEp
- .text:0003D404 ; config_proc_event_message_0+3Cp ...
- .text:0003D404
- .text:0003D404 var_20 = -0x20
- .text:0003D404 var_10 = -0x10
- .text:0003D404
- .text:0003D404 ADD.W R0, R0, #0x15000
- .text:0003D408 PUSH {R4,R5,LR}
- .text:0003D40A MOV R4, R2
- .text:0003D40C LDR.W R2, [R0,#0x1E0]
- .text:0003D410 SUB SP, SP, #0x14
- .text:0003D412 MOV R5, R1
- .text:0003D414 CBZ R2, loc_3D424
- .text:0003D416 LDR R3, [R2]
- .text:0003D418 CBZ R3, loc_3D424
- .text:0003D41A CBZ R5, loc_3D41E
- .text:0003D41C LDR R1, [R5,#4]
- .text:0003D41E
- .text:0003D41E loc_3D41E ; CODE XREF: mctl_send_ctrl_cmd_done+16j
- .text:0003D41E LDR R0, [R2,#8]
- .text:0003D420 BLX R3
- .text:0003D422 B loc_3D452
- .text:0003D424 ; ---------------------------------------------------------------------------
- .text:0003D424
- .text:0003D424 loc_3D424 ; CODE XREF: mctl_send_ctrl_cmd_done+10j
- .text:0003D424 ; mctl_send_ctrl_cmd_done+14j
- .text:0003D424 CBNZ R4, loc_3D452
- .text:0003D426 ADD R2, SP, #0x20+var_10
- .text:0003D428 LDR R0, [R5,#0x10] ; fd
- .text:0003D42A LDR R1, =0xC00456C4 ; request
- .text:0003D42C STR.W R5, [R2,#-4]!
- .text:0003D430 BLX ioctl
- .text:0003D434 CMP R0, #0
- .text:0003D436 BGE loc_3D452
- .text:0003D438 LDRH R3, [R5]
- .text:0003D43A MOVS R0, #6
- .text:0003D43C LDR R1, =(aMmCamera - 0x3D446)
- .text:0003D43E LDR R2, =(aDIoctlMsm_cam_ - 0x3D448)
- .text:0003D440 STR R3, [SP,#0x20+var_20]
- .text:0003D442 ADD R1, PC ; "mm-camera"
- .text:0003D444 ADD R2, PC ; "(%d)IOCTL MSM_CAM_V4L2_IOCTL_CTRL_CMD_D"...
- .text:0003D446 MOVW R3, #0x68C
- .text:0003D44A BLX __android_log_print
- .text:0003D44E MOV R0, R4
- .text:0003D450 B loc_3D454
- .text:0003D452 ; ---------------------------------------------------------------------------
- .text:0003D452
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement