We study functions related to the classical Brjuno function, namely k-Brjuno functions and the Wilton function. Both appear in the study of boundary regularity properties of (quasi) modular forms and their integrals. We consider various possible versions of them, based on the a-continued fraction developments. We study their BMO regularity properties and their behaviour near rational numbers of their finite truncations. We then complexify the functional equations which they fulfill and we construct analytic extensions of the kBrjuno and Wilton functions to the upper half-plane. We study their boundary behaviour using an extension of the continued fraction algorithm to the complex plane. We also prove that the harmonic conjugate of the real k-Brjuno function is continuous at all irrational numbers and has a decreasing jump of p/q(k) at rational points p/q.