You need the ESPHome addon and to adopt your devices within it. The C++ code will be in the device’s folder that ESPHome creates within the addon data directory.
Separate ESPHome setup would work well too, but is harder to explain.
I ended up installing python and esphome on my w10 pc and compiling one of my yaml files. Now I can see what is being generated on that pc.
On my Pi running Home Assistant and esphome I’m assuming since I’m not running a development version of esphome / home assistant that when I ssh in I’m not seeing some files. If I’ve read things right I’m seeing a docker container running Alpine that has limited mappings?