Could anyone who is familiar with Java/Kotlin/Android explain how does this work?
I tried decompiling YouTube App on Android to remove the ads some time ago, but I failed to compile it back because some kind of security thing did not allow the app to start.