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

49 lines
2.2 KiB
React

/* Metro module 55; source: unknown; dependencies: [56, 44] */
function _fun1381(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#1381, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:80:6, offset: 0x00c5ad5c, size: 110 bytes, params: 8, frame: 17
const env0_1 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_4 = global.__turboModuleProxy;
exports.get = function(a0) {
return requireModule(a0);
};
exports.getEnforcing = getEnforcing;
}
function requireModule(a0) { // fn#1382, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:80:119, offset: 0x00c5adca, size: 115 bytes, params: 2, frame: 14
if (__turboModuleProxy == null) {
if (env0_0.RN$Bridgeless !== true) {
return (require(56) /* metro dependency 56 */).default[a0] ?? null;
}
if (env0_0.RN$TurboInterop === true) {
return (require(56) /* metro dependency 56 */).default[a0] ?? null;
}
if (env0_0.RN$UnifiedNativeModuleProxy !== true) {
return null;
}
} else {
var value2 = __turboModuleProxy(a0);
if (value2 != null) {
return value2;
}
if (env0_0.RN$Bridgeless !== true) {
return (require(56) /* metro dependency 56 */).default[a0] ?? null;
}
if (env0_0.RN$TurboInterop === true) {
return (require(56) /* metro dependency 56 */).default[a0] ?? null;
}
if (env0_0.RN$UnifiedNativeModuleProxy !== true) {
return null;
}
}
return (require(56) /* metro dependency 56 */).default[a0] ?? null;
}
function getEnforcing(a0) { // fn#1384, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:80:392, offset: 0x00c5ae50, size: 82 bytes, params: 2, frame: 17
const value2 = requireModule(a0);
(importDefault(44) /* metro dependency 44 */)(value2 != null,
"TurboModuleRegistry.getEnforcing(...): '" + a0 + "' could not be found. Verify that a module by this name is registered in the native binary.");
return value2;
}