Where can I find a proper documentation for all types of parameters and return values? #456
Unanswered
RevealedSoulEven
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Like
{"type":"error","description":"\u001b[0m\u001b[38;5;9mil2cpp\u001b[0m: \u001b[0mcannot invoke non-static method SetGameOver as it must be invoked throught a Il2Cpp.Object, not a Il2Cpp.Class","stack":"\u001b[0m\u001b[38;5;9mil2cpp\u001b[0m: \u001b[0mcannot invoke non-static method SetGameOver as it must be invoked throught a Il2Cpp.Object, not a Il2Cpp.Class\u001b[3m\u001b[2m\n at invoke (il2cpp/structs/method.ts:215)\n at <anonymous> (index.ts:13)\n at call (native)\n at <anonymous> (il2cpp/structs/method.ts:354)\u001b[0m","fileName":"utils/console.ts","lineNumber":3,"columnNumber":1}
I'm getting this error while returning a boolean value. I know I'm doing it wrong and foolish, but I did many tries, but I can't get to achieve it
`import "frida-il2cpp-bridge";
Il2Cpp.perform(function(){
const assemblyc = Il2Cpp.domain.assembly("Assembly-CSharp").image;
const gamecontroller = assemblyc.class("GameController");
const setgameover = gamecontroller.method("SetGameOver");
});`
Original class
public Void SetGameOver(Boolean allowRevive) { }
Beta Was this translation helpful? Give feedback.
All reactions