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

35 lines
1.2 KiB
JavaScript

/* Metro module 752; source: unknown; dependencies: [] */
function _fun8778(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#8778, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:879:6, offset: 0x00d5423e, size: 20 bytes, params: 8, frame: 2
module.exports = function(a0, a1) {
var r1;
var r3;
var length;
var value = 0;
reducibleJoin2: while (true) {
if (a0 == null) {
r1 = value;
break reducibleJoin2;
}
length = a0.length;
r1 = length;
break reducibleJoin2;
}
var value2 = (0, global.Array)(r1);
if (value < r1) {
r3 = value;
reducibleLoop3: while (true) {
value2[r3] = a1(a0[r3], r3, a0);
value = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
if (value < r1) {
r3 = value;
continue reducibleLoop3;
}
break reducibleLoop3;
}
}
return value2;
};
}
global.__d(_fun8778, 752, []) /* metro module 752 */;