Mac D2GFX_SetPerspectiveScale: void __cdecl (int32_t nXScale, int32_t nYScale)
The Mac body checks the video mode (halt line 0x61) and that the perspective flag is set (halt 0x62). It then reads [EBP+8] (EBX) and [EBP+0xc] (EDI), stores them into the two perspective-scale globals, and tail-jumps to renderer slot +0x6c with the caller's stack. There are no other arg reads. Called from ViewDraw2 0x0007cb88. Matches the Windows twin 0x004f6670 (nXScale, nYScale; void, same two halts).
Changes 1, applied together
Set prototype
mac 0x002b52cdsignatureundefined D2GFX_SetPerspectiveScale(void)→void D2GFX_SetPerspectiveScale(int32_t nXScale, int32_t nYScale)conventionunknown→__cdecl