REDIVIVUS

Proposals / #1426

Mac SUNITINACTIVE_FreeInactiveMonster: void __fastcc (pGame ECX, pRecord EDX)

checked · by KierTaylor · submitted 2026-11-08

Resubmit of #1270 with the Mac register convention __fastcc, as the reviewer asked; parameters are unchanged. ECX -> EDI = pGame (memory pool), EDX -> ESI = the record, freed with size 0x8c. Plain RET, no stack reads. Windows twin 0x00541890.

Changes 1, applied together

  1. Set prototype mac 0x00283a4b

    signatureundefined SUNITINACTIVE_FreeInactiveMonster(void)→void SUNITINACTIVE_FreeInactiveMonster(D2GameStrc* pGame, D2InactiveMonsterRecordStrc* pRecord)
    conventionunknown→__fastcc