Skip to content

Commit

Permalink
Update JingMatrix/LSPosed
Browse files Browse the repository at this point in the history
Dobby dependency is updated (commit 6698efa of JingMatrix/LSPosed)
  • Loading branch information
JingMatrix committed Jul 29, 2024
1 parent 90880f9 commit 9e241ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions patch-loader/src/main/jni/src/patch_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ namespace lspd {
lsplant::InitInfo initInfo {
.inline_hooker = [](auto t, auto r) {
void* bk = nullptr;
return HookFunction(t, r, &bk) == RS_SUCCESS ? bk : nullptr;
return HookFunction(t, r, &bk) == 0 ? bk : nullptr;
},
.inline_unhooker = [](auto t) {
return UnhookFunction(t) == RT_SUCCESS;
return UnhookFunction(t) == 0;
},
.art_symbol_resolver = [](auto symbol) {
return GetArt()->getSymbAddress<void*>(symbol);
Expand Down

0 comments on commit 9e241ea

Please sign in to comment.