Mac Wnd_FindWindowNeedingPaint: void* __fastcc (void* pWnd ECX)
ECX -> ESI = a window: if its +0x74 update flag is set it returns the window itself. Otherwise it recurses into each child (first child at +0x54, sibling link at +0x58), calling itself with ECX = child (0x0002936c), and returns the first non-NULL result, else 0. There are no stack args. Callers: Msg_GetPendingMessage and its own recursion.
Changes 1, applied together
Set prototype
mac 0x0002934esignatureundefined Wnd_FindWindowNeedingPaint(void)→void* Wnd_FindWindowNeedingPaint(void* pWnd)conventionunknown→__fastcc