Mac AITHINK_Fn1_ShadowWarrior: void __cdecl (pGame, pUnit, pAiParam) AI-think prototype
Mac 0x002a9cfe is "undefined (void)", convention unknown. Body reads [EBP+8] (pGame, 0x002a9d32), [EBP+0xc] (pUnit, 0x002a9d2b) and [EBP+0x10] (pAiParam, 0x002a9d10) throughout, never above +0x10; no ECX/EDX on entry; plain RET at 0x002a9f9a. It is an AI Fn1 think handler, same slot type as Mac AI_Fn1_Npc 0x002a53d3 (void __cdecl pGame, pUnit, D2AiParamStrc*), and matches its Windows twin 0x005eafa0 void (pGame, pUnit, D2AiParamStrc* pAiParam).
Changes 1, applied together
Set prototype
mac 0x002a9cfesignatureundefined AITHINK_Fn1_ShadowWarrior(void)→void AITHINK_Fn1_ShadowWarrior(D2GameStrc * pGame, D2UnitStrc * pUnit, D2AiParamStrc * pAiParam)conventionunknown→__cdecl