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

@@ -0,0 +1,25 @@
// Metro module 5692 (f5693).
import ApplicationRecord from "../../../records/ApplicationRecord";
import { deserialize, has } from "../../../_bundle/HighLow";
const getApplicationFlags = function getApplicationFlags(application) {
let r24;
if (application == null) {
r24 = deserialize(0);
} else if (application != null && (application instanceof ApplicationRecord || "flags" in application && typeof application.flags === "bigint" || "flags" in application && application.flags != null && typeof application.flags === "object" && "parts" in application.flags)) {
r24 = application.flags;
} else {
let flags_new = application.flags_new;
if (flags_new == null) {
flags_new = application.flags;
}
if (flags_new == null) {
flags_new = 0;
}
r24 = deserialize(flags_new);
}
return r24;
};
export { getApplicationFlags };
export function hasApplicationFlag(a0, a1) {
return has(getApplicationFlags(a0), a1);
}