diff --git a/androscalpel/src/instructions.rs b/androscalpel/src/instructions.rs index 69a0dfb..a64c401 100644 --- a/androscalpel/src/instructions.rs +++ b/androscalpel/src/instructions.rs @@ -3747,7 +3747,7 @@ impl Move { } #[new] - pub fn new(from: u16, to: u16) -> Self { + pub fn new(to: u16, from: u16) -> Self { Self { from, to } } @@ -3879,7 +3879,7 @@ impl MoveWide { } #[new] - pub fn new(from: u16, to: u16) -> Self { + pub fn new(to: u16, from: u16) -> Self { Self { from, to } }