Files
discord-decomp/sources/modules/game_console/native/getConsoleIcon.tsx
T
2026-07-28 01:06:53 +03:00

33 lines
2.3 KiB
TypeScript

/* Metro module 9436; source: modules/game_console/native/getConsoleIcon.tsx; dependencies: [661, 4299, 9416, 9437, 2] */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */
import * as CallConstantsModule from '../../calls/CallConstants.tsx'; /* Metro dependency 4299 */
function _fun73436(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#73436, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9622:6, offset: 0x01d6ca0c, size: 223 bytes, params: 8, frame: 21
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const PlatformTypes = (ConstantsModule).PlatformTypes;
object = {};
const XBOX = PlatformTypes.XBOX;
object[XBOX] = importDefault(9416) /* metro dependency 9416 */;
const PLAYSTATION = PlatformTypes.PLAYSTATION;
object[PLAYSTATION] = importDefault(9437) /* metro dependency 9437 */;
const PLAYSTATION_STAGING = PlatformTypes.PLAYSTATION_STAGING;
object[PLAYSTATION_STAGING] = importDefault(9437) /* metro dependency 9437 */;
(FileImportTrackerModule).fileFinishedImporting('modules/game_console/native/getConsoleIcon.tsx');
exports.default = getConsoleIcon;
exports.getConsoleIconForVoicePlatform = getConsoleIconForVoicePlatform;
function getConsoleIcon(a0) { // fn#73437, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9622:312, offset: 0x00e658b7, size: 16 bytes, params: 2, frame: 2
return env0_3[a0];
}
function getConsoleIconForVoicePlatform(a0) { // fn#73438, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9622:385, offset: 0x01d6caeb, size: 84 bytes, params: 2, frame: 13
const XBOX = VoicePlatforms.XBOX;
return a0 === XBOX ? importDefault(9416) /* metro dependency 9416 */ : a0 !== VoicePlatforms.PLAYSTATION ? null : importDefault(9437) /* metro dependency 9437 */;
}
}
global.__d(_fun73436, 9436, [661, 4299, 9416, 9437,
2]) /* metro module 9436, dependencies: [661, 4299, 9416, 9437, 2] */;