
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
Given that $z$ is a complex number, if $z + 2i$ is a real number (where $i$ is the imaginary unit), and $z - 4$ is a pure imaginary number.
(1) Find the complex number $z$.
(2) If the squared complex number $(z + mi)^2$ corresponds to a point in the fourth quadrant of the complex plane, find the range of values for the real number $m$.

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