You need to fix the disassembly. For example, this is a call to a location which is not a proper function:
And this call does not return, so all code after it is removed as dead code by the decompiler:
.text:00CA5E6B call sub_4E5CE9
You can see it by the dashed line added by IDA after the call (these lines are added to show breaks in code flow. You can also probably see the break in the code flow in the graph view as well.
You can remove the no-return flag from the target function by editing its properties, and for the first call you need to check why IDA could not create a function at
loc_11B4460 and fix it.
The decompiler relies on IDA for the disassembly, so if your disassembly is bad you’ll get bad decompilation (aka garbage in-garbage out).
Check also the FAQ for some of the other common problems.