diff --git a/app/src/main/cpp/deps/UnityResolve/UnityResolve.hpp b/app/src/main/cpp/deps/UnityResolve/UnityResolve.hpp index 3bb6631..9cd69c7 100644 --- a/app/src/main/cpp/deps/UnityResolve/UnityResolve.hpp +++ b/app/src/main/cpp/deps/UnityResolve/UnityResolve.hpp @@ -529,6 +529,9 @@ public: auto xdlAddr = xdl_sym(hmodule_, funcName.c_str(), NULL); if (!xdlAddr) { address_[funcName] = dlsym(hmodule_, funcName.c_str()); + } + else { + address_[funcName] = xdlAddr; } } #endif