public TYPE_1 METHOD_1 ( ) { int VAR_1 = TYPE_2 . METHOD_2 ( 0 , INT_1 ) ; int counter = 0 ; for ( java.util.Map.Entry < TYPE_1 , java.lang.Integer > VAR_2 : VAR_3 . METHOD_3 ( ) ) { int value = VAR_2 . getValue ( ) ; float VAR_4 = ( value / ( VAR_5 ) ) * INT_1 ; if ( ( VAR_4 + counter ) >= VAR_1 ) { return VAR_2 . METHOD_4 ( ) ; } else { counter += VAR_4 ; } } return null ; }

public TYPE_1 METHOD_1 ( ) { float VAR_1 = ( ( float ) ( java.lang.Math.random ( ) ) ) ; float counter = 0 ; for ( java.util.Map.Entry < TYPE_1 , java.lang.Integer > VAR_2 : VAR_3 . METHOD_3 ( ) ) { int value = VAR_2 . getValue ( ) ; float VAR_4 = value / ( VAR_5 ) ; if ( ( VAR_4 + counter ) >= VAR_1 ) { return VAR_2 . METHOD_4 ( ) ; } else { counter += VAR_4 ; } } return null ; }
