I think it should be easy for me to guess how WOL is working based on current codebase of WOA. r18 should be reserved for TEB pointer on LoongArch I guess