comefrom: <awangdev>7. Reverse Integer_2.java
code: public int reverse(int x) {
          long rst = 0;
          while (x != 0) {
              rst = rst * 10 + x % 10;
              x /= 10;
              if (rst > Integer.MAX_VALUE || rst < Integer.MIN_VALUE) return 0;
          }
          return (int) rst;
      }
masked: public int sample_funcname ( int var_0 ) {
    long var_1 = 0 ;
    while ( var_0 != 0 ) {
      var_1 = var_1 * 10 + var_0 % 10 ;
      var_0 /= 10 ;
      if ( var_1 > Integer . MAX_VALUE || var_1 < Integer . MIN_VALUE ) return 0 ;
    }
    return ( int ) var_1 ;
  }
  