Files
discord-decomp/sources/by-id/module-00116.js
T
2026-07-28 01:06:53 +03:00

60 lines
2.8 KiB
JavaScript

/* Metro module 116; source: unknown; dependencies: [117] */
function _fun1618(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#1618, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:141:6, offset: 0x00c63df9, size: 66 bytes, params: 8, frame: 16
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.default = function(a0) {
a0.supportedCommands.forEach(_fun1620);
return {};
};
function codegenNativeCommands({supportedCommands}) { // fn#1619, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:141:98, offset: 0x00c63e3b, size: 34 bytes, params: 2, frame: 12
supportedCommands.forEach(function(a0) {
a0[a0] = _fun1621;
});
return {};
function _fun1620(a0) { // fn#1620, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:141:177, offset: 0x00c63e5d, size: 29 bytes, params: 2, frame: 3
a0[a0] = _fun1621;
function _fun1621(a0) { // fn#1621, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:141:194, offset: 0x00c63e7a, size: 130 bytes, params: 2, frame: 19
var r1;
var value4;
var value7;
var value8;
let value = arguments.length;
const Array = global.Array;
const value2 = 1;
const value3 = 0;
reducibleJoin2: while (true) {
if (value > value2) {
value4 = value - value2;
r1 = value4;
break reducibleJoin2;
}
r1 = value3;
break reducibleJoin2;
}
const array = new Array();
if (value2 < value) {
r1 = value2;
reducibleLoop3: while (true) {
value7 = r1 - value2;
array[value7] = arguments[r1];
value8 = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1;
if (value8 < value) {
r1 = value8;
continue reducibleLoop3;
}
break reducibleLoop3;
}
}
value = environment.__proto__.__proto__;
require(dependencyMap[value3]).dispatchCommand(a0, env0_0, array);
}
}
}
}
global.__d(_fun1618, 116, [117]) /* metro module 116, dependencies: [117] */;