Well, you are unlikely go get a documentation from Philips, so you basically have to "reverse engineer", which basically amount to guessing. I did this in the xcf importer in IrScrutinizer, and it was not terribly hard, and it worked! Much easier than the silly indentation based files called .yaml, that I am currently swearing at (Homeassistant!)
If you want to look at the IrScrutinizer code, it is
here. It imports the commands of a given xcf file, while respecting the partitioning in devices and pages.