a channel code's four channels, a hex digit each (x the highest)
function Ch(code : int, i : int) -> int = MOD(DIV(code, if i == 0 then 4096 else if i == 1 then 256 else if i == 2 then 16 else 1), 16)
Made from ScarletNX's Sail at 166ad3910f80. The Sail and the encodings' file are ScarletNX's (GPL-3.0-or-later); its encodings are from Vita3K's usse_translator_entry.cpp (GPL-2.0-or-later).