Is possible to replace libUE4.so with another one of another game apk?

Hi, I got a abnormal behavior of a release game app on Android. It stuck at splash page when the game starts, no exceptional log promoted. Now, I found something goes wrong in libUE4.so , but I’m not sure which line of code cause the problem. So I have an idea that replacing the original libUE4.so with debug log enabled one, and check the output log. So I want to know is it possible to replace libUE4.so under rooted android device?