REDIVIVUS

Proposals / #1239

Mac PLAYERSAVE2_LoadOldSavegame_ReturnZero: int __cdecl (D2GameStrc* pGame, int32_t nTmp)

checked · by KierTaylor · submitted 2026-11-05

Resubmit of #1209 per review. Mac 0x0020ac18 is XOR EAX,EAX; RET (returns 0, reads no arguments). Its only caller SEVER_loadFrom_Old_Savegame stores two arguments before the CALL at 0x0020a055: [ESP+4] at 0x0020a04b and [ESP] = its own first parameter pGame at 0x0020a052. Both are ignored by the stub but are part of its shape; the second gets a fallback name. Windows twin 0x00568db0.

Changes 1, applied together

  1. Set prototype mac 0x0020ac18

    signatureundefined PLAYERSAVE2_LoadOldSavegame_ReturnZero(void)→int PLAYERSAVE2_LoadOldSavegame_ReturnZero(D2GameStrc * pGame, int32_t nTmp)
    conventionunknown→__cdecl