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

35 lines
1.5 KiB
JavaScript

/* Metro module 4421; source: unknown; dependencies: [580] */
function _fun37873(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#37873, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4599:6, offset: 0x010b28fb, size: 149 bytes, params: 8, frame: 15
var exports;
const value = module;
const value2 = exports;
const r5 = typeof value2 === 'object' && value2 && !value2.nodeType && value2;
let r3 = r5 && typeof value === 'object' && value;
r3 = r3 && !value.nodeType && value;
const value7 = undefined;
const Buffer = r3 ? r3.exports !== r5 ? value7 : (require(580) /* metro dependency 580 */).Buffer : value7;
const env0_0 = Buffer ? Buffer.allocUnsafe : value7;
value.exports = exports_37874;
return value7;
function exports_37874(a0, a1) { // fn#37874, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4599:193, offset: 0x010b2990, size: 89 bytes, params: 3, frame: 13
var r0;
var constructor;
if (a1) {
return a0.slice();
}
const length = a0.length;
if (allocUnsafe) {
r0 = allocUnsafe(length);
} else {
constructor = a0.constructor;
constructor = new constructor(length);
r0 = constructor;
}
a0.copy(r0);
return r0;
}
}
global.__d(_fun37873, 4421, [580]) /* metro module 4421, dependencies: [580] */;