il2cpp: cannot invoke non-static method <Awake>b__25_7 as it must be invoked throught a Il2Cpp.Object, not a Il2Cpp.Class #510
Unanswered
IrvanWijayaSardam
asked this question in
Q&A
Replies: 1 comment
-
Updates, it work, but it need the parent of class to call it, and i still cant call the function direcly, is it possible to call b__25_7 inside implementation OnBackButton ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
how do i call a non-static method like this ? sorry for the basic question, i'm still learning
il2cpp: cannot invoke non-static method <Awake>b__25_7 as it must be invoked throught a Il2Cpp.Object, not a Il2Cpp.Class at invoke (il2cpp/structs/method.ts:214) at <anonymous> (src/index.ts:30) at call (native) at <anonymous> (il2cpp/structs/method.ts:328)
this is my frida script
and this is the awake function from dnSpy
private void b__25_7() {}
Beta Was this translation helpful? Give feedback.
All reactions