Need someone that could write up a function in C++ for DLL that will be injected into Unity game (running on Mono, not IL2CPP).
The function will find an instance (component) address so I could then use this instance and call private methods with mono_runtime_invoke.
I already have piece of code that gets address of the GameObject using GameObject.Find() but for the love of dog I can't get the address of a component that is attached to the GameObject.
EXAMPLE OF WHAT I MEAN WHEN I SAY INSTANCES (CHEAT ENGINE)
No signature scanning for data structure, needs to work with most of the games that use mono-2.0-bdwgc.dll.
Example of code I'm looking for
void* FindInstance(void* gameObjectAddress, const char* componentName)
void* FindInstance(any easily obtainable info)
You can send me a message here on MPGH via Birdie (conversation cloud icon under my profile info).