This commit is contained in:
2025-10-14 09:17:56 +08:00
parent 0d0465fad3
commit 6eb4d6a2f9
19 changed files with 854 additions and 240 deletions

View File

@@ -36,13 +36,11 @@ class NativePointer {
}
function add(intoffset) {
this.C_Object = L_sq_I2P(L_sq_P2I(this.C_Object) + intoffset);
return this;
return NativePointer(L_sq_I2P(L_sq_P2I(this.C_Object) + intoffset));
}
function sub(intoffset) {
this.C_Object = L_sq_I2P(L_sq_P2I(this.C_Object) - intoffset);
return this;
return NativePointer(L_sq_I2P(L_sq_P2I(this.C_Object) - intoffset));
}
function writeByteArray(arr) {