This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
// Metro module 4827 (f4828).
function $mk75042() {
return (a0) => String.fromCharCode(a0);
}
export function getStringValue(a0) {
return a0.map($mk75042()).join("");
}
export function getEncodedString(a0) {
if (a0.length >= 8) {
const r12 = a0.slice(0, 8).map($mk75042()).join("");
if (r12 === "ASCII\x00\x00\x00") {
return a0.slice(8).map($mk75042()).join("");
}
if (r12 === "JIS\x00\x00\x00\x00\x00") {
return "[JIS encoded text]";
}
if (r12 === "UNICODE\x00") {
return "[Unicode encoded text]";
}
if (r12 === "\x00\x00\x00\x00\x00\x00\x00\x00") {
return "[Undefined encoding]";
}
}
return "Undefined";
}
export function getCalculatedGpsValue(a0) {
return a0[0][0] / a0[0][1] + a0[1][0] / a0[1][1] / 60 + a0[2][0] / a0[2][1] / 3600;
}