mirror of
https://github.com/khanhduytran0/coruna.git
synced 2026-09-27 02:41:45 +02:00
undefined is not a function error in rshift. Fix for PAC bypass breezy15.
This commit is contained in:
Regular → Executable
+10
-3
@@ -263,7 +263,9 @@ let m_57620206d62079baad0e57e6d9ec93120c0f5247 = () => {
|
|||||||
*/
|
*/
|
||||||
class Int64 {
|
class Int64 {
|
||||||
// Wrapper for compatibility with obfuscated modules
|
// Wrapper for compatibility with obfuscated modules
|
||||||
static ut(t) {return Int64.fromNumber(t);}
|
static ut(t) {
|
||||||
|
return Int64.fromNumber(t);
|
||||||
|
}
|
||||||
static ot(t) {return Int64.fromBigInt(t);}
|
static ot(t) {return Int64.fromBigInt(t);}
|
||||||
static st(t) {return Int64.fromUnsigned(t);}
|
static st(t) {return Int64.fromUnsigned(t);}
|
||||||
static L(t) {return Int64.fromDouble(t);}
|
static L(t) {return Int64.fromDouble(t);}
|
||||||
@@ -387,6 +389,11 @@ let m_57620206d62079baad0e57e6d9ec93120c0f5247 = () => {
|
|||||||
return new Int64(this.it >>> t | this.et << 32 - t, this.et >>> t);
|
return new Int64(this.it >>> t | this.et << 32 - t, this.et >>> t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Logical right shift (alias for dt). */
|
||||||
|
rshift(t) {
|
||||||
|
return this.dt(t);
|
||||||
|
}
|
||||||
|
|
||||||
toString() {
|
toString() {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
@@ -737,9 +744,9 @@ let m_57620206d62079baad0e57e6d9ec93120c0f5247 = () => {
|
|||||||
r.Xt = r.encodeLEB128 = function encodeLEB128(arr, n, value) {
|
r.Xt = r.encodeLEB128 = function encodeLEB128(arr, n, value) {
|
||||||
var byte;
|
var byte;
|
||||||
for (;;) {
|
for (;;) {
|
||||||
byte = value.lo % 128; // 1466329413 ^ 1466329541
|
byte = value.it % 128; // 1466329413 ^ 1466329541
|
||||||
value = value.sub(Int64.fromInt32(byte));
|
value = value.sub(Int64.fromInt32(byte));
|
||||||
if (0 === value.hi && 0 === value.lo) {
|
if (0 === value.et && 0 === value.it) {
|
||||||
|
|
||||||
// Last byte: no continuation bit
|
// Last byte: no continuation bit
|
||||||
} else {byte |= 128; // 1416853561 ^ 1416853689 (continuation)
|
} else {byte |= 128; // 1416853561 ^ 1416853689 (continuation)
|
||||||
|
|||||||
Reference in New Issue
Block a user