REDIVIVUS

Proposals / #1238

Mac RewardExperienceFromAncients: void __fastcc (D2GameStrc* pGame ECX, D2UnitStrc* pUnit EDX)

checked · by KierTaylor · submitted 2026-11-05

Resubmit of #1207 per review. Mac 0x00240e51: ESI=ECX (game, byte +0x6d difficulty), EBX=EDX (unit), both passed to QUEST_SendQuestInfoToUnit at 0x00240e68; no stack args. EAX at the RET 0x00240ff0 is only what the last call left (0x00240fe9-0x00240ff0) and neither caller (0x002415af, 0x002448c2) reads it, so the return is void. Windows twin 0x0058c5c0.

Changes 1, applied together

  1. Set prototype mac 0x00240e51

    signatureundefined RewardExperienceFromAncients(void)→void RewardExperienceFromAncients(D2GameStrc * pGame, D2UnitStrc * pUnit)
    conventionunknown→__fastcc