Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

@@ -0,0 +1,159 @@
/* Metro module 4266; source: modules/game_detection/RunningGameStore.native.tsx; dependencies: [6, 7, 15, 17, 18, 4267, 4270, 4280, 566, 694, 2] */
function _fun36017(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#36017, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4438:6, offset: 0x01081699, size: 349 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = importDefault(6) /* metro dependency 6 */;
const env0_3 = importDefault(7) /* metro dependency 7 */;
const env0_4 = importDefault(15) /* metro dependency 15 */;
const env0_5 = importDefault(17) /* metro dependency 17 */;
const env0_6 = importDefault(18) /* metro dependency 18 */;
const detectableGameStore = importDefault(4267) /* metro dependency 4267: DetectableGameStore */;
const libraryApplicationStore = importDefault(4270) /* metro dependency 4270: LibraryApplicationStore */;
const Store = (importDefault(566) /* metro dependency 566: flux */).Store;
let value = _fun36021(Store);
value.displayName = 'RunningGameStore';
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */, {});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/game_detection/RunningGameStore.native.tsx');
exports.default = value;
exports.gameKey = function() {
return '';
};
exports.getRawOverlayGameStatus = getRawOverlayGameStatus;
exports.isDetectionEnabled = function() {
return false;
};
exports.maybeTransformSubgame = function(a0) {
return a0;
};
exports.transformForGameSettings = function(a0) {
var r2;
var object = {};
copyDataProperties(object, a0, r2);
object['played'] = '';
object['overlay'] = false;
object['verified'] = false;
object['detectable'] = false;
return object;
};
}
function _isNativeReflectConstruct_36018() { // fn#36018, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4438:168, offset: 0x010817f6, size: 94 bytes, params: 1, frame: 18
var Boolean;
var prototype;
var valueOf;
var call;
var Reflect;
var construct;
var closure;
var value;
var error;
try {
Boolean = global.Boolean;
prototype = Boolean.prototype;
valueOf = prototype.valueOf;
call = valueOf.call;
Reflect = global.Reflect;
construct = Reflect.construct;
Boolean = global.Boolean;
closure = function() {
};
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
value = Reflect.apply(call, valueOf, [value]);
var result = !value;
} catch (error) {
}
return (_isNativeReflectConstruct_36018_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun36021(a0) { // fn#36021, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4438:367, offset: 0x01081854, size: 904 bytes, params: 2, frame: 16
const closure = RunningGameStore;
env0_6(closure, a0);
return env0_3(closure, [{key: 'initialize', value: function() {
}}, {key: 'getVisibleGame', value: function() {
return null;
}}, {key: 'getCurrentGameForAnalytics', value: function() {
return null;
}}, {key: 'getCurrentNonGameForAnalytics', value: function() {
return null;
}}, {key: 'getVisibleRunningGames', value: function() {
return [];
}}, {key: 'getRunningGames', value: function() {
return [];
}}, {key: 'getDebugRunningGame', value: function() {
return null;
}}, {key: 'getDetectionDebug', value: function() {
return null;
}}, {key: 'getRunningNonGames', value: function() {
return [];
}}, {key: 'getRunningDiscordApplicationIds', value: function() {
return [];
}}, {key: 'getRunningVerifiedApplicationIds', value: function() {
return [];
}}, {key: 'getGameForPID', value: function() {
return null;
}}, {key: 'getGameForName', value: function() {
return null;
}}, {key: 'getGameOrTransformedSubgameForPID', value: function() {
return null;
}}, {key: 'getLauncherForPID', value: function() {
return null;
}}, {key: 'getOverlayOptionsForPID', value: function() {
return null;
}}, {key: 'shouldElevateProcessForPID', value: function() {
return false;
}}, {key: 'shouldContinueWithoutElevatedProcessForPID', value: function() {
return false;
}}, {key: 'canCollectExecutableFingerprintsForRunningGames', value: function() {
return false;
}}, {key: 'getCandidateGames', value: function() {
return [];
}}, {key: 'isGamesSeenLoaded', value: function() {
return true;
}}, {key: 'isGameSeen', value: function() {
return false;
}}, {key: 'getGamesSeen', value: function() {
return [];
}}, {key: 'getSeenGameByName', value: function() {
return null;
}}, {key: 'isObservedAppRunning', value: function() {
return false;
}}, {key: 'getOverlayEnabledForGame', value: function() {
return false;
}}, {key: 'getOverrides', value: function() {
return [];
}}, {key: 'getOverrideForGame', value: function() {
return null;
}}, {key: 'getGameOverlayStatus', value: function() {
return null;
}}, {key: 'getObservedAppNameForWindow', value: function() {
return null;
}}, {key: 'canShowAdminWarning', get: function() {
return false;
}}, {key: 'isDetectionEnabled', value: function() {
return false;
}}, {key: 'addExecutableTrackedByAnalytics', value: function() {
}}, {key: 'getSystemServiceStatus', value: function() {
return {state: 'unknown'};
}}, {key: 'isSystemServiceInitialized', value: function() {
return false;
}}]);
}
function getRawOverlayGameStatus() { // fn#36059, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4438:2954, offset: 0x01081c59, size: 116 bytes, params: 1, frame: 14
if (a1 === undefined) {
[DetectableGameStore][1] = LibraryApplicationStore;
}
const object2 = {'source': null, 'enabledOOP': false, 'enabledLegacy': false, 'overlayMethod': null,
'reason': 'Dummy implementation'};
const OverlayGameStatusSource = (require(4280) /* metro dependency 4280: OverlayTypes */).OverlayGameStatusSource;
const UNKNOWN = OverlayGameStatusSource.UNKNOWN;
object2.source = UNKNOWN;
const OverlayMethod = (require(4280) /* metro dependency 4280: OverlayTypes */).OverlayMethod;
const Disabled = OverlayMethod.Disabled;
object2.overlayMethod = Disabled;
return object2;
}