In the first basic block IDA successfully identified R7 as stack pointer and created the variables. But then, after 40123C, there's still code which references stack variables via R7, and IDA didn't create the variables. If I press K on [R7,#4] it creates the stack variable at +4 offset:
Where in fact, it should have created the variable at -0x14.
Is there any way I can make IDA create stack variable at those LDR R3, [R7,#4] properly?