mirror of
https://github.com/revanced/smali.git
synced 2025-05-04 08:34:25 +02:00

In oat files, it's possible that a check-cast is removed based on the register being provably of the type being cast to, based on the result of an instance-of check. Supporting this in general would require more sophisticated static analysis than is currently done. Instead, this adds a special-case specifically for the case of an instance-of followed immediately by an if-eqz