REDIVIVUS

Proposals / #1283

Mac D2GFX_GetScaleFactor: int32_t __cdecl (void)

checked · by KierTaylor · submitted 2026-11-06

The Mac body has no argument reads; it loads the scale-factor global into EAX and does a plain RET. The caller ViewDraw2 0x0007caea uses it right after D2GFX_UpdateScaleFactor. Matches the Windows twin 0x004f65e0 (int32_t (void)).

Changes 1, applied together

  1. Set prototype mac 0x002b528f

    signatureundefined D2GFX_GetScaleFactor(void)→int32_t D2GFX_GetScaleFactor(void)
    conventionunknown→__cdecl