293 lines
6 KiB
TypeScript
293 lines
6 KiB
TypeScript
// Module ID: 4151
|
|
// Function ID: 35026
|
|
// Name: _isNativeReflectConstruct
|
|
// Dependencies: [6, 7, 15, 17, 18, 4152, 4163, 4166, 4177, 566, 686, 2]
|
|
// Exports: gameKey, getRawOverlayGameStatus, isDetectionEnabled, maybeTransformSubgame, transformForGameSettings
|
|
|
|
// Module 4151 (_isNativeReflectConstruct)
|
|
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
|
|
import closure_3 from "_isNativeReflectConstruct";
|
|
import _possibleConstructorReturn from "_possibleConstructorReturn";
|
|
import _getPrototypeOf from "_getPrototypeOf";
|
|
import _inherits from "_inherits";
|
|
import closure_7 from "_isNativeReflectConstruct";
|
|
import closure_8 from "_isNativeReflectConstruct";
|
|
import closure_9 from "_isNativeReflectConstruct";
|
|
|
|
const require = arg1;
|
|
function _isNativeReflectConstruct() {
|
|
let closure_0 = !valueOf.call(Reflect.construct(Boolean, [], () => {
|
|
|
|
}));
|
|
function _isNativeReflectConstruct() {
|
|
return closure_0;
|
|
}
|
|
const result = _isNativeReflectConstruct();
|
|
}
|
|
let tmp2 = ((Store) => {
|
|
class RunningGameStore {
|
|
constructor() {
|
|
self = this;
|
|
tmp = outer1_2(this, RunningGameStore);
|
|
obj = outer1_5(RunningGameStore);
|
|
tmp2 = outer1_4;
|
|
if (outer1_10()) {
|
|
tmp6 = globalThis;
|
|
_Reflect = Reflect;
|
|
tmp7 = outer1_5;
|
|
tmp8 = arguments;
|
|
constructResult = Reflect.construct(obj, arguments, outer1_5(self).constructor);
|
|
} else {
|
|
tmp3 = arguments;
|
|
tmp4 = arguments;
|
|
constructResult = obj(...arguments);
|
|
}
|
|
return tmp2(self, constructResult);
|
|
}
|
|
}
|
|
callback2(RunningGameStore, Store);
|
|
let obj = {
|
|
key: "initialize",
|
|
value() {
|
|
|
|
}
|
|
};
|
|
const items = [obj, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ];
|
|
obj = {
|
|
key: "getVisibleGame",
|
|
value() {
|
|
return null;
|
|
}
|
|
};
|
|
items[1] = obj;
|
|
obj = {
|
|
key: "getCurrentGameForAnalytics",
|
|
value() {
|
|
return null;
|
|
}
|
|
};
|
|
items[2] = obj;
|
|
items[3] = {
|
|
key: "getCurrentNonGameForAnalytics",
|
|
value() {
|
|
return null;
|
|
}
|
|
};
|
|
items[4] = {
|
|
key: "getVisibleRunningGames",
|
|
value() {
|
|
return [];
|
|
}
|
|
};
|
|
items[5] = {
|
|
key: "getRunningGames",
|
|
value() {
|
|
return [];
|
|
}
|
|
};
|
|
items[6] = {
|
|
key: "getDebugRunningGame",
|
|
value() {
|
|
return null;
|
|
}
|
|
};
|
|
items[7] = {
|
|
key: "getDetectionDebug",
|
|
value() {
|
|
return null;
|
|
}
|
|
};
|
|
items[8] = {
|
|
key: "getRunningNonGames",
|
|
value() {
|
|
return [];
|
|
}
|
|
};
|
|
items[9] = {
|
|
key: "getRunningDiscordApplicationIds",
|
|
value() {
|
|
return [];
|
|
}
|
|
};
|
|
items[10] = {
|
|
key: "getRunningVerifiedApplicationIds",
|
|
value() {
|
|
return [];
|
|
}
|
|
};
|
|
items[11] = {
|
|
key: "getGameForPID",
|
|
value() {
|
|
return null;
|
|
}
|
|
};
|
|
items[12] = {
|
|
key: "getGameForName",
|
|
value() {
|
|
return null;
|
|
}
|
|
};
|
|
items[13] = {
|
|
key: "getGameOrTransformedSubgameForPID",
|
|
value() {
|
|
return null;
|
|
}
|
|
};
|
|
items[14] = {
|
|
key: "getLauncherForPID",
|
|
value() {
|
|
return null;
|
|
}
|
|
};
|
|
items[15] = {
|
|
key: "getOverlayOptionsForPID",
|
|
value() {
|
|
return null;
|
|
}
|
|
};
|
|
items[16] = {
|
|
key: "shouldElevateProcessForPID",
|
|
value() {
|
|
return false;
|
|
}
|
|
};
|
|
items[17] = {
|
|
key: "shouldContinueWithoutElevatedProcessForPID",
|
|
value() {
|
|
return false;
|
|
}
|
|
};
|
|
items[18] = {
|
|
key: "canCollectExecutableFingerprintsForRunningGames",
|
|
value() {
|
|
return false;
|
|
}
|
|
};
|
|
items[19] = {
|
|
key: "getCandidateGames",
|
|
value() {
|
|
return [];
|
|
}
|
|
};
|
|
items[20] = {
|
|
key: "isGamesSeenLoaded",
|
|
value() {
|
|
return true;
|
|
}
|
|
};
|
|
items[21] = {
|
|
key: "isGameSeen",
|
|
value() {
|
|
return false;
|
|
}
|
|
};
|
|
items[22] = {
|
|
key: "getGamesSeen",
|
|
value() {
|
|
return [];
|
|
}
|
|
};
|
|
items[23] = {
|
|
key: "getSeenGameByName",
|
|
value() {
|
|
return null;
|
|
}
|
|
};
|
|
items[24] = {
|
|
key: "isObservedAppRunning",
|
|
value() {
|
|
return false;
|
|
}
|
|
};
|
|
items[25] = {
|
|
key: "getOverlayEnabledForGame",
|
|
value() {
|
|
return false;
|
|
}
|
|
};
|
|
items[26] = {
|
|
key: "getOverrides",
|
|
value() {
|
|
return [];
|
|
}
|
|
};
|
|
items[27] = {
|
|
key: "getOverrideForGame",
|
|
value() {
|
|
return null;
|
|
}
|
|
};
|
|
items[28] = {
|
|
key: "getGameOverlayStatus",
|
|
value() {
|
|
return null;
|
|
}
|
|
};
|
|
items[29] = {
|
|
key: "getObservedAppNameForWindow",
|
|
value() {
|
|
return null;
|
|
}
|
|
};
|
|
items[30] = {
|
|
key: "canShowAdminWarning",
|
|
get() {
|
|
return false;
|
|
}
|
|
};
|
|
items[31] = {
|
|
key: "isDetectionEnabled",
|
|
value() {
|
|
return false;
|
|
}
|
|
};
|
|
items[32] = {
|
|
key: "addExecutableTrackedByAnalytics",
|
|
value() {
|
|
|
|
}
|
|
};
|
|
items[33] = {
|
|
key: "getSystemServiceStatus",
|
|
value() {
|
|
return { state: "unknown" };
|
|
}
|
|
};
|
|
items[34] = {
|
|
key: "isSystemServiceInitialized",
|
|
value() {
|
|
return false;
|
|
}
|
|
};
|
|
return callback(RunningGameStore, items);
|
|
})(require("initialize").Store);
|
|
tmp2.displayName = "RunningGameStore";
|
|
tmp2 = new tmp2(require("dispatcher"), {});
|
|
let result = require("_possibleConstructorReturn").fileFinishedImporting("modules/game_detection/RunningGameStore.native.tsx");
|
|
|
|
export default tmp2;
|
|
export function gameKey() {
|
|
return "";
|
|
}
|
|
export const getRawOverlayGameStatus = function getRawOverlayGameStatus() {
|
|
if (arg1 === undefined) {
|
|
const items = [closure_8, closure_9, closure_7];
|
|
}
|
|
const obj = { source: require(4177) /* DevToolsFocusedPidsTrackMode */.OverlayGameStatusSource.UNKNOWN, enabledOOP: false, enabledLegacy: false, overlayMethod: require(4177) /* DevToolsFocusedPidsTrackMode */.OverlayMethod.Disabled, reason: "Dummy implementation" };
|
|
return obj;
|
|
};
|
|
export function isDetectionEnabled(value) {
|
|
return false;
|
|
}
|
|
export function maybeTransformSubgame(arg0) {
|
|
return arg0;
|
|
}
|
|
export const transformForGameSettings = function transformForGameSettings(arg0) {
|
|
const obj = {};
|
|
const merged = Object.assign(arg0);
|
|
obj["played"] = "";
|
|
obj["overlay"] = false;
|
|
obj["verified"] = false;
|
|
obj["detectable"] = false;
|
|
return obj;
|
|
};
|