REDIVIVUS

Proposals / #1193

Mac Q23_Callback10_PlayerLeavesGame: void __cdecl (pQuestData, pQuestArgs) quest callback

approved · by KierTaylor · submitted 2026-11-05, approved 2026-11-05

Mac 0x002336c1 is "undefined (void)", convention unknown. Its whole body is PUSH EBP; MOV EBP,ESP; POP EBP; JMP 0x00216744, a tail call that hands its stack args unchanged to SetRewardAndFinishFlags (void __cdecl (D2QuestDataStrc* pQuestData, D2QuestArgStrc* pQuestArgs)). So it has that same 2-arg quest-callback signature, matching Windows twin 0x005bc710 void (D2QuestDataStrc* pQuestData, D2QuestArgStrc* pQuestArgs).

Changes 1, applied together

  1. Set prototype mac 0x002336c1

    signatureundefined Q23_Callback10_PlayerLeavesGame(void)→void Q23_Callback10_PlayerLeavesGame(D2QuestDataStrc * pQuestData, D2QuestArgStrc * pQuestArgs)
    conventionunknown→__cdecl