Files
discord-decomp/sources/by-id/module-07487.jsx
T
2026-07-27 16:20:00 +03:00

52 lines
2.3 KiB
React

/* Metro module 7487; source: unknown; dependencies: [7375, 7372, 7485] */
function _fun60381(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#60381, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7665:6, offset: 0x017022ea, size: 77 bytes, params: 8, frame: 16
let env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.callFrameToStackFrame = callFrameToStackFrame_60382;
exports.watchdogTimer = function(a0, a1, a2, a3) {
var env0_0 = a1;
var env0_1 = a2;
var env0_2 = a3;
var env0_3 = a0();
var env0_4 = false;
var env0_5 = true;
global.setInterval(_fun60384, 20);
return {poll: _fun60385, enabled: _fun60386};
};
}
function callFrameToStackFrame_60382(a0, a1, a2) { // fn#60382, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7665:103, offset: 0x01702337, size: 256 bytes, params: 4, frame: 21
let value = undefined;
const r6 = a1 ? a1.replace(RegExp('^file:\\/\\/', ''), '') : value;
const r5 = a0.location.columnNumber ? a0.location.columnNumber + 1 : value;
let r3 = a0.location.lineNumber ? a0.location.lineNumber + 1 : value;
const moduleValue = require(7375) /* metro dependency 7375 */;
const dropUndefinedKeys = moduleValue.dropUndefinedKeys;
const object2 = {filename: r6, module: a2(r6)};
object2.function = a0.functionName || (require(7372) /* metro dependency 7372 */).UNKNOWN_FUNCTION;
object2.colno = r5;
object2.lineno = r3;
if (r6) {
value = require(7485) /* metro dependency 7485 */;
value = value.filenameIsInApp(r6);
r3 = value;
} else {
r3 = value;
}
object2.in_app = r3;
return Reflect.apply(dropUndefinedKeys, moduleValue, [object2]);
}
function watchdogTimer_60383(a0, a1, a2, a3) { // fn#60383, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7665:483, offset: 0x01702437, size: 93 bytes, params: 5, frame: 14
const env0_0 = a1;
const env0_1 = a2;
const env0_2 = a3;
const env0_3 = a0();
global.setInterval(_fun60384, 20);
return {poll: poll, enabled: function(a0) {
env0_5 = a0;
}};
}