REDIVIVUS

Proposals / #1242

Mac INTRONPC_FillInPacketWithIntroNpcIdsInAct: void __cdecl (pGame, pUnit, eAct nActNo)

checked · by KierTaylor · submitted 2026-11-05

Resubmit of #1215 per review, return changed to void. Mac 0x00215e54: cdecl (pGame [EBP+8], pUnit [EBP+0xc], byte act [EBP+0x10] used as a jump-table index). The RET at 0x00215f16 returns only what 0x00215f2c or 0x001b3eb6 left in EAX, and both callers (0x0028c4ed, 0x0028c514) ignore it. Windows twin 0x00545100.

Changes 1, applied together

  1. Set prototype mac 0x00215e54

    signatureundefined INTRONPC_FillInPacketWithIntroNpcIdsInAct(void)→void INTRONPC_FillInPacketWithIntroNpcIdsInAct(D2GameStrc * pGame, D2UnitStrc * pUnit, eAct nActNo)
    conventionunknown→__cdecl