Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,104 @@
|
||||
/* Metro module 6404; source: unknown; dependencies: [] */
|
||||
function _fun50196(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#50196, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6582:6, offset: 0x01213a7d, size: 72 bytes, params: 8, frame: 16
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
exports.findFirstVisibleIndex = function(a0, a1, a2) {
|
||||
return binarySearchVisibleIndex(a0, a1, a2, true);
|
||||
};
|
||||
exports.findLastVisibleIndex = function(a0, a1, a2) {
|
||||
return binarySearchVisibleIndex(a0, a1, a2, false);
|
||||
};
|
||||
}
|
||||
|
||||
function binarySearchVisibleIndex(a0, a1, a2, a3) { // fn#50197, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6582:43, offset: 0x01213ac5, size: 192 bytes, params: 5, frame: 26
|
||||
var r1;
|
||||
var r4;
|
||||
var r5;
|
||||
var r16;
|
||||
var r15;
|
||||
var r11;
|
||||
var r12;
|
||||
var r13;
|
||||
var r0;
|
||||
var Math;
|
||||
var floor;
|
||||
var property;
|
||||
var y;
|
||||
var x;
|
||||
var height;
|
||||
var width;
|
||||
var value4;
|
||||
var value5;
|
||||
let value = a0.length - 1;
|
||||
const value2 = -1;
|
||||
const value3 = 0;
|
||||
if (value3 <= value) {
|
||||
r1 = value2;
|
||||
r4 = value3;
|
||||
r5 = value;
|
||||
reducibleLoop1: while (true) {
|
||||
Math = global.Math;
|
||||
floor = Math.floor;
|
||||
value = Reflect.apply(floor, Math, [(r4 + r5) / 2]);
|
||||
property = a0[value];
|
||||
if (a2) {
|
||||
x = property.x;
|
||||
r16 = x;
|
||||
} else {
|
||||
y = property.y;
|
||||
r16 = y;
|
||||
}
|
||||
if (a2) {
|
||||
width = property.width;
|
||||
r15 = width;
|
||||
} else {
|
||||
height = property.height;
|
||||
r15 = height;
|
||||
}
|
||||
if (a3) {
|
||||
reducibleJoin15: while (true) {
|
||||
reducibleJoin14: while (true) {
|
||||
if (r16 >= a1) {
|
||||
break reducibleJoin14;
|
||||
}
|
||||
if (r16 + r15 > a1) {
|
||||
break reducibleJoin14;
|
||||
}
|
||||
value += 1;
|
||||
r11 = r5;
|
||||
r12 = value;
|
||||
r13 = r1;
|
||||
break reducibleJoin15;
|
||||
}
|
||||
value5 = value - 1;
|
||||
r11 = value5;
|
||||
r12 = r4;
|
||||
r13 = value;
|
||||
break reducibleJoin15;
|
||||
}
|
||||
} else if (r16 <= a1) {
|
||||
value4 = value + 1;
|
||||
r11 = r5;
|
||||
r12 = value4;
|
||||
r13 = value;
|
||||
} else {
|
||||
value -= 1;
|
||||
r11 = value;
|
||||
r12 = r4;
|
||||
r13 = r1;
|
||||
}
|
||||
if (r12 <= r11) {
|
||||
r1 = r13;
|
||||
r4 = r12;
|
||||
r5 = r11;
|
||||
continue reducibleLoop1;
|
||||
}
|
||||
r0 = r13;
|
||||
break reducibleLoop1;
|
||||
}
|
||||
} else {
|
||||
r0 = value2;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user