https://bugs.winehq.org/show_bug.cgi?id=50246
--- Comment #5 from Esme Povirk madewokherd@gmail.com --- Print statement debugging shows that the first input to the shr instruction is a pointer, not a native int. That implies that one of the inputs to the subtraction is an int, not a pointer.
I'm guessing it's the pointer-type local.