mirror of
https://github.com/revanced/smali.git
synced 2025-05-29 20:20:12 +02:00
Fix issue with .param directive when there are parameters of type D
This commit is contained in:
parent
450cdd6c7a
commit
e591eaf779
@ -481,7 +481,7 @@ method_name_and_prototype returns[String name, List<SmaliMethodParameter> parame
|
|||||||
for (String type: $method_prototype.parameters) {
|
for (String type: $method_prototype.parameters) {
|
||||||
$parameters.add(new SmaliMethodParameter(paramRegister++, type));
|
$parameters.add(new SmaliMethodParameter(paramRegister++, type));
|
||||||
char c = type.charAt(0);
|
char c = type.charAt(0);
|
||||||
if (c == 'J' || c == 'J') {
|
if (c == 'D' || c == 'J') {
|
||||||
paramRegister++;
|
paramRegister++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user