35 lines
1.5 KiB
React
35 lines
1.5 KiB
React
/* Metro module 998; source: unknown; dependencies: [] */
|
|
function _fun10472(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#10472, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1125:6, offset: 0x00d8ec42, size: 64 bytes, params: 8, frame: 16
|
|
const Object = global.Object;
|
|
const defineProperty = Object.defineProperty;
|
|
const Symbol = global.Symbol;
|
|
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
|
exports.replaceExports = replaceExports;
|
|
}
|
|
|
|
function replaceExports(a0, a1, a2) { // fn#10473, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1125:108, offset: 0x00d8ec82, size: 175 bytes, params: 4, frame: 20
|
|
var error;
|
|
var Object;
|
|
const property = a0[a1];
|
|
if (typeof property === 'function') {
|
|
try {
|
|
a0[a1] = a2;
|
|
} catch (error) {
|
|
Object = global.Object;
|
|
Object.defineProperty(a0, a1, {'value': null, 'writable': true, 'configurable': true, 'enumerable': true,
|
|
value: a2});
|
|
}
|
|
if (a0.default === property) {
|
|
try {
|
|
a0.default = a2;
|
|
} catch (error) {
|
|
Object = global.Object;
|
|
Object.defineProperty(a0, 'default', {'value': null, 'writable': true, 'configurable': true,
|
|
'enumerable': true,
|
|
value: a2});
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|