Ok here's what I got when I disassemble
section .text
section .data
section .bss
section .text.fnSetNewSerialMode
<fnSetNewSerialMode>:
<fnIKSClient>:
B570 push {r4-r6, lr}
B084 sub sp, #0x010
466D mov r5, sp
2301 movs r3, #0x01
722B strb r3, [r5, #0x08]
4B1B ldr r3, [pc, #0x06C]
681A ldr r2, [r3, #0x00]
1C93 adds r3, r2, #0x2
7FDB ldrb r3, [r3, #0x1F]
72EB strb r3, [r5, #0x0B]
2380 movs r3, #0x80
015B lsls r3, r3, #0x05
80EB strh r3, [r5, #0x06]
2640 movs r6, #0x40
2349 movs r3, #0x49
732B strb r3, [r5, #0x0C]
80AE strh r6, [r5, #0x04]
1C13 adds r3, r2, #0x0
334B adds r3, #0x4B
781B ldrb r3, [r3, #0x00]
736B strb r3, [r5, #0x0D]
1C13 adds r3, r2, #0x0
334C adds r3, #0x4C
781B ldrb r3, [r3, #0x00]
73AB strb r3, [r5, #0x0E]
0601 lsls r1, r0, #0x18
8B93 ldrh r3, [r2, #0x1C]
0E09 lsrs r1, r1, #0x18
2000 movs r0, #0x00
466A mov r2, sp
802B strh r3, [r5, #0x00]
F7FFFFFE bl 0x0000003E
4C0E ldr r4, [pc, #0x038]
7020 strb r0, [r4, #0x00]
2800 cmp r0, #0x00
D010 beq 0x0000006C
2105 movs r1, #0x05
2200 movs r2, #0x00
F7FFFFFE bl 0x0000004E
882B ldrh r3, [r5, #0x00]
4233 tst r3, r6
D009 beq 0x0000006C
4909 ldr r1, [pc, #0x024]
2200 movs r2, #0x00
7820 ldrb r0, [r4, #0x00]
F7FFFFFE bl 0x0000005E
7820 ldrb r0, [r4, #0x00]
2181 movs r1, #0x81
2200 movs r2, #0x00
F7FFFFFE bl 0x00000068
4B03 ldr r3, [pc, #0x00C]
7818 ldrb r0, [r3, #0x00]
B004 add sp, #0x010
BC70 pop {r4-r6}
BC02 pop {r1}
4708 bx r1
0000 lsls r0, r0, #0x00
0000 lsls r0, r0, #0x00
0000 lsls r0, r0, #0x00
0000 lsls r0, r0, #0x00
0404 lsls r4, r0, #0x10
0000 lsls r0, r0, #0x00
section .text.fnIKSClient
<fnSetNewSerialMode>:
<fnIKSClient>:
B510 push {r4, lr}
4C1E ldr r4, [pc, #0x078]
7823 ldrb r3, [r4, #0x00]
B081 sub sp, #0x004
2B00 cmp r3, #0x00
D125 bne 0x00000058
2003 movs r0, #0x03
F7FFFFFE bl 0x0000000E
7020 strb r0, [r4, #0x00]
E020 b 0x00000058
491A ldr r1, [pc, #0x068]
680A ldr r2, [r1, #0x00]
2A00 cmp r2, #0x00
D107 bne 0x0000002E
7822 ldrb r2, [r4, #0x00]
2A21 cmp r2, #0x21
D119 bne 0x00000058
2301 movs r3, #0x01
600B str r3, [r1, #0x00]
4B16 ldr r3, [pc, #0x058]
701A strb r2, [r3, #0x00]
E014 b 0x00000058
2A3F cmp r2, #0x3F
DD04 ble 0x0000003C
4A15 ldr r2, [pc, #0x054]
2300 movs r3, #0x00
6013 str r3, [r2, #0x00]
600B str r3, [r1, #0x00]
E00D b 0x00000058
7824 ldrb r4, [r4, #0x00]
4B11 ldr r3, [pc, #0x044]
1C50 adds r0, r2, #0x1
54D4 strb r4, [r2, r3]
6008 str r0, [r1, #0x00]
2803 cmp r0, #0x03
D102 bne 0x00000050
4A0F ldr r2, [pc, #0x03C]
1CE3 adds r3, r4, #0x3
6013 str r3, [r2, #0x00]
4B0D ldr r3, [pc, #0x034]
681B ldr r3, [r3, #0x00]
4298 cmp r0, r3
D00A beq 0x0000006E
4B08 ldr r3, [pc, #0x020]
466C mov r4, sp
3403 adds r4, #0x03
7818 ldrb r0, [r3, #0x00]
1C21 adds r1, r4, #0x0
2201 movs r2, #0x01
F7FFFFFE bl 0x00000064
2800 cmp r0, #0x00
D1D4 bne 0x00000016
E001 b 0x00000072
3001 adds r0, #0x01
D1F2 bne 0x00000058
B001 add sp, #0x004
BC10 pop {r4}
BC01 pop {r0}
4700 bx r0
0000 lsls r0, r0, #0x00
0000 lsls r0, r0, #0x00
0000 lsls r0, r0, #0x00
0000 lsls r0, r0, #0x00
0000 lsls r0, r0, #0x00
0000 lsls r0, r0, #0x00
0000 lsls r0, r0, #0x00
0000 lsls r0, r0, #0x00
0000 lsls r0, r0, #0x00
section .bss.SerialPortID
<fnSetNewSerialMode>:
<fnIKSClient>:
000C lsls r4, r1, #0x00
section .bss.ucSerialInput.2174
<fnSetNewSerialMode>:
<fnIKSClient>:
000C lsls r4, r1, #0x00
0000 lsls r0, r0, #0x00
FFFFFFFF undefined opcode
0001 lsls r1, r0, #0x00
7C01 ldrb r1, [r0, #0x10]
0C0E lsrs r6, r1, #0x10
000D lsls r5, r1, #0x00
0024 lsls r4, r4, #0x00
0000 lsls r0, r0, #0x00
0000 lsls r0, r0, #0x00
0000 lsls r0, r0, #0x00
0000 lsls r0, r0, #0x00
0000 lsls r0, r0, #0x00
0084 lsls r4, r0, #0x02
0000 lsls r0, r0, #0x00
0204 lsls r4, r0, #0x08
0000 lsls r0, r0, #0x00
0E00 lsrs r0, r0, #0x18
8410 strh r0, [r2, #0x20]
8504 strh r4, [r0, #0x28]
8603 strh r3, [r0, #0x30]
8E02 ldrh r2, [r0, #0x30]
0401 lsls r1, r0, #0x10
0002 lsls r2, r0, #0x00
0000 lsls r0, r0, #0x00
200E movs r0, #0x0E
0000 lsls r0, r0, #0x00
0020 lsls r0, r4, #0x00
0000 lsls r0, r0, #0x00
0000 lsls r0, r0, #0x00
0000 lsls r0, r0, #0x00
section .bss.iExpectedbytes.2153
<fnSetNewSerialMode>:
<fnIKSClient>:
000C lsls r4, r1, #0x00
0000 lsls r0, r0, #0x00
section .bss.iRxReceived.2152
<fnSetNewSerialMode>:
<fnIKSClient>:
000C lsls r4, r1, #0x00
0000 lsls r0, r0, #0x00
Still I'm unable to set breakpoints