Skip to content

Commit

Permalink
Bump version to 0.7.10
Browse files Browse the repository at this point in the history
  • Loading branch information
vfsfitvnm committed Mar 20, 2022
1 parent 19f8aed commit a05a348
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,31 @@ However, only Android and Linux are tested: expect breakage if you are using ano

## Changelog

### 0.7.10
- Add `Il2Cpp.Reference::to` to easily create a `Il2Cpp.Reference`:
```ts
Il2Cpp.perform(() => {
const TryParse = Il2Cpp.Image.corlib.class("System.Boolean").method("TryParse");

const value = Il2Cpp.Reference.to(false);

console.log(value); // ->false
TryParse.invoke(Il2Cpp.String.from("TrUe"), value);
console.log(value); // ->true
});
```
A `Il2Cpp.Type` is required when creating a reference to a `number` or `NativePointer` in order to disambiguate their representation:
```ts
const value = Il2Cpp.Reference.to(1355, Il2Cpp.Image.corlib.class("System.UInt16").type);
```
- Make `Il2Cpp.Object::unbox` directly return a `Il2Cpp.ValueType`:
```ts
// old
const valueType = new Il2Cpp.ValueType(object.unbox(), object.class.type);
// new
const valueType = object.unbox();
```

### 0.7.9
- Minor things.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frida-il2cpp-bridge",
"version": "0.7.9",
"version": "0.7.10",
"description": "A Frida module to dump, trace or hijack any Il2Cpp application at runtime, without needing the global-metadata.dat file.",
"keywords": [
"frida",
Expand Down

0 comments on commit a05a348

Please sign in to comment.