In a piece of smali code that I decoded via apktool, I found a method call passes one more argument than these are declared in then method definition. That extra argument is definitely not used at all. But if I remove it, Error occurs when run, saying "expected two, found three" from "verifier". What's going on here?
# method definition
.method public setLatitude(D)V
.locals 1
#(snipped)
.end method
# method call
# v3 is not defined actually
invoke-virtual {v1, v2, v3}, LFoo;->setLongitude(D)V