How to modify EKF2 code?

Hello Dear Community,

I am having Pixhawk localization issues for a long time now and wondering that if someone can point me to the part of code where I would be able to modify the output of EKF2?

The issue is discussed in detail here:

Regards,
Kashish Dhal