Mac D2GFX_DrawShadowTile: BOOL __cdecl (pTile, nPosX, nPosY, nDrawMode, nScreenPanels)
The Mac body is a tail-jump wrapper (renderer table slot +0xb0, stack untouched). The caller dShadowPass 0x0006317e stores five slots: [ESP]=tile, [ESP+4]/[ESP+8]=x/y, [ESP+0xc]=4 (draw mode), [ESP+0x10]=panels. Matches the Windows twin 0x004f6980 (BOOL; pTile, nPosX, nPosY, nDrawMode, nScreenPanels).
Changes 1, applied together
Set prototype
mac 0x002b56cdsignatureundefined D2GFX_DrawShadowTile(void)→BOOL D2GFX_DrawShadowTile(D2TileLibraryEntryStrc* pTile, int32_t nPosX, int32_t nPosY, int32_t nDrawMode, int32_t nScreenPanels)conventionunknown→__cdecl