oh yes,
when I copied the decompressed file from emulated RAM. I also copied the last 0x48 bytes as well, because that is what it created.
* Now looking back... it appears that I decompressed 8 bytes too many, oooops - might have been a typo? *
I remember a different decompressor which output'ed a bit more data than expected. But luckily it does not matter because it will be ignored.
Also the decompressed size [0x18] is totally ignored anyway. So I just left the original value in there.
It finishes the decompression routine based on the value at [0x0] - the header size + compressed size.