
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
In triangle $\triangle ABC$, the sides opposite angles $A$, $B$, and $C$ are denoted by $a$, $b$, and $c$, respectively. It is given that $c \cos B = (2a - b) \cos C$.
1. Find the magnitude of angle $C$.
2. If $AB = 4$, find the maximum value of the area $S$ of $\triangle ABC$.

Present the answer in LaTex format: \boxed{Your answer}
user