Mac D2GFX_DrawLight: void __cdecl (DWORD* pLight, DWORD* pPlayerLight, int32_t nXpos, int32_t nYpos)
The Mac body is a tail-jump wrapper (renderer table slot +0xd8, stack untouched). The caller DrawLight 0x000625a3 stores four slots: [ESP] and [ESP+4] are LEAs of two global light buffers, [ESP+8]/[ESP+0xc] the position. Matches the Windows twin 0x004f68b0 (pLight, pPlayerLight, nXpos, nYpos; void).
Changes 1, applied together
Set prototype
mac 0x002b524asignatureundefined D2GFX_DrawLight(void)→void D2GFX_DrawLight(DWORD* pLight, DWORD* pPlayerLight, int32_t nXpos, int32_t nYpos)conventionunknown→__cdecl