HeroOFYou
Platinian
Hi everyone,
I'm currently working with native libraries using KittyMemory and KittyScanner. I'm trying to locate the `nativeInjectEvent` function within `libunity.so` like this:
```cpp
std::vector<ProcMap> unityMaps = KittyMemory::getMapsByName("libunity.so");
RegisterNativeFn nativeInjectEvent = KittyScanner::findRegisterNativeFn(unityMaps, "nativeInjectEvent");
```
On Android emulators, everything works perfectly and `nativeInjectEvent` is always found. However, on some real Android devices, the function is occasionally not found — even though the game runs fine and `libunity.so` is loaded.
Has anyone encountered this inconsistency before?
Any ideas why `nativeInjectEvent` might be missing or invisible on physical devices but detectable on emulators?
Let me know if you'd like to add specific device models or logs — that can help others give more accurate answers.
I'm currently working with native libraries using KittyMemory and KittyScanner. I'm trying to locate the `nativeInjectEvent` function within `libunity.so` like this:
```cpp
std::vector<ProcMap> unityMaps = KittyMemory::getMapsByName("libunity.so");
RegisterNativeFn nativeInjectEvent = KittyScanner::findRegisterNativeFn(unityMaps, "nativeInjectEvent");
```
On Android emulators, everything works perfectly and `nativeInjectEvent` is always found. However, on some real Android devices, the function is occasionally not found — even though the game runs fine and `libunity.so` is loaded.
Has anyone encountered this inconsistency before?
Any ideas why `nativeInjectEvent` might be missing or invisible on physical devices but detectable on emulators?
Let me know if you'd like to add specific device models or logs — that can help others give more accurate answers.