The aircraft is not written off, the aircraft is stuck as no hangar facilities are available in PEN.
I heard there is no structural damage but some gear components have exceeded their design limitations and need replacement, from the initial inspections CX would rather fly the aircraft to HKG or XMN for repair rather than ship the A/C jack and other stuff to support.