REDIVIVUS

Proposals / #1136

Mac AI_Monster_WalkToStoredPositionSlow: cdecl (pGame, pUnit, dwUnused, pPathPos) prototype

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

Mac 0x002a4fbd is "undefined (void)", convention unknown. Reads [EBP+8] (pGame), [EBP+0xc] (pUnit), [EBP+0x14] (path record) and forwards them to AI_Monster_WalkToStoredPosition (CALL 0x002a4eee at 0x002a4ff4); [EBP+0x10] is never read; no ECX/EDX on entry; plain RET at 0x002a5041. Same 4-arg shape as Windows twin 0x005e6e80 and as its callee.

Changes 1, applied together

  1. Set prototype mac 0x002a4fbd

    signatureundefined AI_Monster_WalkToStoredPositionSlow(void)→BOOL AI_Monster_WalkToStoredPositionSlow(D2GameStrc * pGame, D2UnitStrc * pUnit, uint32_t dwUnused, int32_t * pPathPos)
    conventionunknown→__cdecl