Color: remove __cdecl in internal function and alloca