Comments (4)
IL2CPP::ResolveCall is used only for predefined Unity Engine class functions and not custom C# Classes.
You gonna need to find class and fetch method as:
Unity::il2cppClass* m_pCharacterManager = IL2CPP::Class::Find("CharacterManager");
void* m_pGetCharacterByFid = IL2CPP::Class::Utils::GetMethodPointer(m_pCharacterManager , "GetCharacterByFid");
from il2cpp_resolver.
IL2CPP::ResolveCall is used only for predefined Unity Engine class functions and not custom C# Classes.
You gonna need to find class and fetch method as:
thx
from il2cpp_resolver.
IL2CPP::ResolveCall is used only for predefined Unity Engine class functions and not custom C# Classes.
You gonna need to find class and fetch method as:
Unity::il2cppClass* m_pCharacterManager = IL2CPP::Class::Find("CharacterManager"); void* m_pGetCharacterByFid = IL2CPP::Class::Utils::GetMethodPointer(m_pCharacterManager , "GetCharacterByFid");
sorry for stupid question, how find instance/s of class?
from il2cpp_resolver.
sorry for stupid question, how find instance/s of class?
You can either hook constructor of class or any class function that gets called and just save the pointer.
Simplest way to get class instance is find some component of gameobject that is currently using the class.
from il2cpp_resolver.
Related Issues (20)
- this program not support x64 applications HOT 5
- CallMethod results in a crash HOT 1
- Better W2S Function name? (Not fully tested) HOT 1
- Is this still working ? HOT 4
- closed HOT 2
- Improving the documentation HOT 6
- How do I include this into my project? HOT 1
- Game crash when calling some methods HOT 11
- How can I obtain a singleton from a parent class HOT 7
- Problem with Unity version 2022 HOT 2
- Crash when try to access GetName() HOT 5
- Game deadlock on exit when using thread HOT 5
- Issue finding methods and method name HOT 3
- Access violation when trying to get field value HOT 14
- wish support android arm IL2CPP::Callback::Initialize
- Calling any of game functions?
- Dealing with Unicode obfuscated class names HOT 1
- Crash on GetTransform
- Crash On FindObjectsOfType HOT 5
- Android??
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from il2cpp_resolver.