The HTC_Magician extended rom resides in normal flash memory. at offset 0x82c00000 ( that is in the device i examined, this may have changed in newer versions )
writing to this flash memory can be done in way very similar to how pnewbootloader flashes the bootloader. use extreme care when doing so. one typing mistake may destroy your device. there are no safeguards.