Mac AI_Monster_WalkToPositionAndFace: cdecl (pGame, pUnit, dwUnused, pPathPos) prototype
Mac 0x002a5069 is "undefined (void)", convention unknown. Reads [EBP+8] (pGame), [EBP+0xc] (pUnit), [EBP+0x14] (path record) and passes them to AI_Monster_WalkToStoredPosition (CALL 0x002a4eee at 0x002a50b4); [EBP+0x10] is never read; no ECX/EDX on entry (the CALL $+5 at 0x002a5072 is the PIC base); plain RET at 0x002a51af. Same 4-arg shape as Windows twin 0x005e6f00.
Changes 1, applied together
Set prototype
mac 0x002a5069signatureundefined AI_Monster_WalkToPositionAndFace(void)→BOOL AI_Monster_WalkToPositionAndFace(D2GameStrc * pGame, D2UnitStrc * pUnit, uint32_t dwUnused, int32_t * pPathPos)conventionunknown→__cdecl