private int paramNumberFromMoveParam(NormalSsaInsn ndefInsn) {
    CstInsn origInsn = (CstInsn) ndefInsn.getOriginalRopInsn();

    return ((CstInteger) origInsn.getConstant()).getValue();
  }
Returns the parameter number that this move-param insn refers to

@param ndefInsn a move-param insn (otherwise, exceptions will be thrown)
@return parameter number (offset in the total parameter width)
android/android_framework/dex-maker/src/main/java/com/android/dx/ssa/back/FirstFitAllocator.java