I'm not sure this is a good precedent to set. if the eula that you agreed to doesn't allow decompilation or reverse-engineering, then github shouldn't allow it.
Conversely, if this is okay to do, then we should be allowed to do this to any code not just TikTok or code that comes from China, even your code even if it means in doing so you might lose some revenue.
There's an argument to be made that all software should be free as in speech, so I won't make the argument here.