IntelOrca/OpenRCT2 — pull request #394 by jcdavis (2014-09-01 17:16:11+00:00)
Title: Decompile 006EE65A

Quick look shows this is used in a bunch of places, so I threw it in window.c

Code flow is a still a bit awkward though