Posted November 27, 2021
I'm the guy who did this patch, many years ago - it was for Wine on Linux, originally. Yes, this was reverse-engineered using IDA. I don't actually know what exactly the patched code does; it just seemed to be the source of the error message after debugging it. It's some kind of rendering loop that goes out of bounds sometimes, presumably having to do with partially rendered tiles at the edge of the map.