decord/source/3884_callDispose.js

48 lines
1.1 KiB
JavaScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 3884
// Function ID: 32174
2026-07-20 16:05:17 +00:00
// Name: callDispose
// Dependencies: []
2026-07-25 08:10:48 +00:00
// Module 3884 (callDispose)
2026-07-23 10:11:24 +00:00
arg5.callDispose = function callDispose(c0) {
let obj = c0;
2026-07-20 16:05:17 +00:00
for (const key10009 in arg0) {
let tmp8 = key10009;
let tmp9 = key10009;
let _Object2 = Object;
let tmp10 = arg0;
if (hasOwnProperty.call(obj, key10009)) {
continue;
} else {
let tmp = tmp8;
if ("__type" === tmp9) {
continue;
} else {
let tmp2 = tmp8;
if ("dispose" === tmp9) {
continue;
} else {
let _Object = Object;
let tmp3 = arg0;
let tmp4 = tmp8;
2026-07-23 10:11:24 +00:00
obj = { value: undefined, enumerable: false, configurable: true };
2026-07-20 16:05:17 +00:00
let definePropertyResult = Object.defineProperty(obj, tmp9, obj);
2026-07-23 10:11:24 +00:00
continue;
2026-07-20 16:05:17 +00:00
}
continue;
}
continue;
}
continue;
}
obj = {
value() {
return "[disposed HybridObject]";
2026-07-23 10:11:24 +00:00
},
enumerable: false,
configurable: true
2026-07-20 16:05:17 +00:00
};
Object.defineProperty(obj, "toString", obj);
obj.dispose();
};