I must be missing something but I don’t see any mention that the Battlefield 2042 source code got leaked, nor in this article nor from any other credible sources. There is a difference between the game engine and the game itself.
Unless... wouldn't it be funny if new FIFA releases were auto-generated from a config file? The developer would only need to update the roster and provide paths to new art assets. Boom, new retail game.
Would you expect those assets to be included in source code, though? Roosters are generally fully customizable and EA games vary little year to year, I wouldn't expect players to ever show up in source.