Let N=pqN = pq be the product of two balanced prime numbers pp and qq. In 2023, Cotan and Te\c seleanu introduced a family of RSA-like cryptosystems based on the key equation edk(pn1)(qn1)=1ed - k(p^n - 1)(q^n - 1) = 1, where n1n \geq 1. Note that when n=1n = 1, we obtain the classical RSA scheme, while n=2n = 2 yields the variant proposed by Elkamchouchi, Elshenawy, and Shaban. In this paper, we present a novel attack that combines continued fractions with lattice-based methods for the case n=2in = 2^i, where i>2i > 2 is an integer. This represents a natural continuation of previous research, which successfully applied similar techniques for n=1,2,4n = 1, 2, 4.