Formula (RTP 99%): take the first 13 hex chars (52 bits) as an integer x, r = x / 2^52, multiplier m = max(1, (1 - 0.01) / (1 - r)).
We compute blake2s256(H_i) and compare it to your Commitment Hash, which was provided as soon as you placed your bet before the round starts.