call

private fun call(m: Method, receiver: Any?, vararg args: Any?): Any?

receiver is null for the static takeScreenshot. Unwraps like CommandsCompat, so the game's own failure surfaces instead of the reflection wrapper.