Since C meets the dual curve of D, there is at least one line L\in C that fails to meet D transversely. Clearly, such L cannot meet D at a point with multiplicity 2; otherwise, the image of C will meet the boundary point of \overline{M}_{0,4}^{\mathop{\mathrm{Sym}}\nolimits}. So for D general, such L can only be a flex line of D. It is also clear that two such distinct curves C_1 and C_2 can only meet at these flex lines.
The map \gamma: {{\mathbb G}}(1,2)\dashrightarrow M_{0,4}^{\mathop{\mathrm{Sym}}\nolimits} is smooth at a line L\in {{\mathbb G}}(1,2) meeting D transversely if and only if we have a surjection
\begin{tikzcd}
H^0(N_{L/{{\mathbb P}}^2}) \ar[two heads]{r} & H^1(T_L(-\log D))
\end{tikzcd}
induced by the exact sequence
\begin{tikzcd}
0 \ar{r} & T_L(-\log D) \ar{r} & T_{{{\mathbb P}}^2}(-\log D) \Big|_L \ar{r} & N_{L/{{\mathbb P}}^2}(\log D) = N_{L/ {{\mathbb P}}^2} \ar{r} & 0.
\end{tikzcd}
This happens if and only if H^1(L, T_{{{\mathbb P}}^2}(-\log D)) = 0, or equivalently,
T_{{{\mathbb P}}^2}(-\log D)\Big|_L = {\mathcal O}_L(-1) \oplus {\mathcal O}_L.
By Lemma 3.15 there are only finitely many such lines L. In conclusion, \gamma is smooth outside of a finite set of points plus the dual curve of D. Therefore, for j general, C is smooth outside of the 24 flex lines. Let us figure out the type of singularity of C at a flex line L.
For simplicity, suppose that C passes through the flex line L = \{y = 0\} of D, where (x,y) are the affine coordinates of {{\mathbb P}}^2. In these coordinates, D is given by the affine equation
y g(x,y) + x^3 + c x^4 = 0,
and we can scale so that g(0,0) = 1. Let (s,t) be local coordinates of {{\mathbb G}}(1,2) at L, so that a deformation of L in {{\mathbb G}}(1,2) is given by
y = sx + t .
Then y = sx + t meets D at the points
x^3 + sx + t + cx^4 + (sx + t)(g(x, sx + t) - 1) = 0 .
The above equation has four roots r_i = r_i(s,t) for i=1,2,3,4, where r_4 \in {{\mathbb C}}[[s,t]] and r_1, r_2, r_3 are algebraic functions in s and t, defined in some finite extension of {{\mathbb C}}[[s,t]]. They satisfy
r_1(0,0) = r_2(0,0) = r_3(0,0) = 0 \text{ and } r_4(0,0) = -\frac{1}c.
The limit of the cross ratio of these four points is
\lambda = \lim_{(s,t)\to (0,0)} \frac{(r_1 - r_2)(r_3 - r_4)}{(r_1 - r_3)(r_2 - r_4)} = \lim_{(s,t)\to (0,0)} \frac{r_1 - r_2}{r_1 - r_3}
Hence j = j(\lambda).
Given the j-invariant j, there exists a pair (a, b) such that if r_1,r_2,r_3 are the three roots of the equation
x^3 + a x + b = 0,
then
j = j\left(\frac{r_1 - r_2}{r_1 - r_3}\right).
The ratio a^3/b^2 uniquely characterizes the pairs (a,b) with this property, so we may regard (a,b) as a point in the corresponding weighted projective line {{\mathbb P}}(2,3).
When a = 0 and b\ne 0, j = j(-e^{2\pi i/3}). When a \ne 0 and b = 0, j = j(2). Suppose that j\ne j(2), j(-e^{2\pi i/3}). Then the corresponding (a,b) satisfies ab \ne 0.
For some fixed local branch C of a component of a fiber of \gamma, let
\left\{
\begin{aligned}
s &= a u^m\\
t &= b u^n + O(u^{n+1})
\end{aligned}\right.
be the local normalization of C at (0,0). Let us consider the roots of
x^3 + (a u^m x + b u^n + O(u^{n+1})) g(x, a u^m x + b u^n + O(u^{n+1})) + c x^4 = 0.
If 3m > 2n, then
\lim_{u\to 0} \frac{r_1 - r_2}{r_1 - r_3} = -e^{2\pi i/3}
after some permuation of r_1, r_2, r_3. This is impossible because we assume that j\ne j(-e^{2\pi i/3}).
Similarly, if 3m < 2n, then
\lim_{u\to 0} \frac{r_1 - r_2}{r_1 - r_3} = 2
after some permuation of r_1, r_2, r_3. This is impossible because we assume that j\ne j(2).
So we necessarily have 3m = 2n. Let us rewrite the normalization as
\left\{
\begin{aligned}
s &= a u^{2l}\\
t &= b u^{3l} (1 + v)
\end{aligned}\right.
where v = O(u) is a function of u. Let us consider the roots of
x^3 + (a u^{2l} x + b u^{3l}(1+v)) g(x, a u^{2l} x + b u^{3l} (1+v)) + c x^4 = 0
in {{\mathbb C}}[[u, v]]. Clearly, all r_1, r_2, r_3, r_4 are functions in u^l and v. Furthermore,
\left\{
\begin{aligned}
r_1 &= u^l (c_1 + d_1v + O(u^l, v^2))\\
r_2 &= u^l (c_2 + d_2v + O(u^l, v^2))\\
r_3 &= u^l (c_3 + d_3v + O(u^l, v^2))\\
r_4 &= -\frac{1}c + O(u^{2l}, u^{3l}(1+v))
\end{aligned}\right.
where c_1, c_2, c_3 are three roots of x^3 + ax + b = 0 and d_1, d_2, d_3 are constants satisfying the equations
\left\{
\begin{aligned}
d_1 + d_2 + d_3 &= 0\\
c_1d_1 + c_2 d_2 + c_3 d_3 &= 0\\
c_3 d_1d_2 + c_1 d_2d_3 + c_2 d_3d_1 &= b
\end{aligned}\right.
Since r_1,r_2, r_3, r_4 have constant j-invariant,
\frac{(r_1 - r_2)(r_3 - r_4)}{(r_1 - r_3)(r_2 - r_4)} \equiv \frac{c_1 - c_2}{c_1 - c_3}
The above equation, viewed as an equation in {{\mathbb C}}[[u,v]], will have non-vanishing coefficient of v provided that
\det \begin{bmatrix}
c_1 - c_2 & d_1 - d_2\\
c_1 - c_3 & d_1 - d_3
\end{bmatrix} \ne 0
which holds provided that j\ne j(-e^{2\pi i/3}). Therefore, we may write
v = v(u^l)
for a function v(w)\in {{\mathbb C}}[[w]] satisfying v(0) = 0. So the normalization of C is
\left\{
\begin{aligned}
s &= a u^{2l}\\
t &= b u^{3l} (1 + v(u^l))
\end{aligned}\right.
Since the normalization of C is birational onto its image, we must have l=1. In conclusion, the normalization of C is given by
\left\{
\begin{aligned}
s &= a u^2\\
t &= b u^3(1 + v(u))
\end{aligned}\right.
for some v(u) \in {{\mathbb C}}[[u]] satisfying v(0) = 0. That is, when ab \ne 0, C has a cusp at L. It follows from the description above that v(u) is uniquely determined by (a,b).
Furthermore, when b\to 0, i.e., j\to j(2), the flat limit of C is simply the image of (s,t) = (au^2, 0), i.e., locally a nonreduced curve supported on a smooth curve with multiplicity 2. This is due to the fact that (?) still holds for j=j(2).
Let us now prove that C passes through all 24 flex lines and \deg C = 12 for j general. To be more precise, we can extend \gamma to a rational map
\begin{tikzcd}
{{\mathbb G}}(1,2)\times |{\mathcal O}_{{{\mathbb P}}^2}(4)| \ar[dashed]{r}{\gamma} & M_{0,4}^{\mathop{\mathrm{Sym}}\nolimits} \times |{\mathcal O}_{{{\mathbb P}}^2}(4)|
\end{tikzcd}
in an obvious way. We claim that the closure \overline{\gamma^{-1}(j, D)} of \gamma^{-1}(j, D) for (j,D) general is an integral curve C of degree 12 passing through all 24 flex lines to D. Note that \overline{\theta^{-1}(j, D)}, a priori, is not necessarily irreducible.
Let F be the set of 24 flex lines to D. Let C_1 be an irreducible component of \overline{\gamma^{-1}(j_1, D)} for (j_1,D) general. Suppose that C_1 passes through a subset F_1 of F. Due to the uniqueness of v(u) in (?), C_1 has only one local branch at each line L\in F_1.
By [Har79], the monodromy group on the 24 flex lines of D is the full symmetric group as D varies. So there is a component C_1^\sigma of \overline{\gamma^{-1}(j_1, D)} passing through \sigma(F_1) for every permutation \sigma of F.
Let C_2 be an irreducible component of \overline{\gamma^{-1}(j_2, D)} for (j_2,D) general and j_2\ne j_1. Suppose that C_2 passes through a subset F_2 of F. Then C_1 and C_2 meet only at L\in F_1\cap F_2 and (C_1.C_2)_L = 6 by (?). Therefore,
C_1 . C_2 = 6 |F_1\cap F_2|
For the same reason, we have
C_1^{\sigma} . C_2 = 6 |\sigma(F_1)\cap F_2|.
Since \deg C_1 = \deg C_1^{\sigma}, we conclude that
|F_1\cap F_2| = |\sigma(F_1)\cap F_2|.
This holds for every permutation \sigma on F. So we necessarily have F_1 = F or F_2 = F. And since j_1 and j_2 are general, this implies that
F_1 = F_2 = F \text{ and } \deg C_1 = \deg C_2 = 12.
That is, every component of \overline{\gamma^{-1}(j, D)} is an integral curve of degree 12 with cusps at L\in F for (j, D) general.
Also \overline{\gamma^{-1}(j, D)} cannot have more than one irreducible component. Otherwise, if C and C' are two distinct irreducible components of \overline{\gamma^{-1}(j, D)}, both curves are locally given by (?) at each flex line L\in F with the same a and b. Hence (C.C')_L > 6 and it follows that C.C' > 144, which contradicts the fact that \deg C = \deg C' = 12.
This proves that for (j,D) general, \overline{\gamma^{-1}(j, D)} is an integral curve of degree 12 with cusps at the 24 flex lines to D and smooth elsewhere. Next, let us prove that this is also true for all j \ne j(2), j(-e^{2\pi i/3}) and D general.
Let \Gamma = \overline{\gamma^{-1}(j, D)} for some j \ne j(2), j(-e^{2\pi i/3}) and D general, where we consider \gamma^{-1}(j, D) as the scheme-theoretical preimage of (j,D). Since \Gamma is the flat limit of C = \overline{\gamma^{-1}(j, D)} for (j, D) general, \Gamma has degree 12 and (\Gamma . C)_L = 6 for all flex lines L\in F. Every irreducible component of \Gamma has a cusp at L if it passes through L\in F. So for every L\in F, there exists a unique irreducible component of \Gamma passing through L. Therefore, \Gamma must be reduced and irreducible; otherwise, two components G_1 and G_2 of \Gamma must be disjoint, which is impossible.
This proves that \overline{\gamma^{-1}(j, D)} is an integral curve of degree 12 with cusps at the 24 flex lines to D for all j \ne j(2), j(-e^{2\pi i/3}) and D general.
Finally, let us deal with the cases j = j(2), j(-e^{2\pi i/3}). Again, we let \Gamma = \overline{\gamma^{-1}(j, D)}. We still have \deg \Gamma = 12 and (\Gamma . C)_L = 6 for all L\in F.
If j=j(2), then b=0. Since the flat limit of (?) as b\to 0 exists, \Gamma is nonreduced with multiplicty 2 at each L\in F. So again, for every L\in F, there exists a unique irreducible component of \Gamma passing through L. Therefore, \Gamma has a unique irreducible component and hence \Gamma = 2G for an integral curve G of degree 6.
If j=j(-e^{2\pi i/3}), then a=0. By (?), \Gamma either is nonreduced with multiplicty 3 or has a singularity of multiplicity 3 at each L\in F. So again, for every L\in F, there exists a unique irreducible component of \Gamma passing through L. Therefore, \Gamma has a unique irreducible component; either \Gamma is reduced and irreducible or \Gamma = 3G for an integral curve G of degree 4. However, in this case, the former is impossible by comparing the arithmetic genus of \Gamma and the \delta-invariants of \Gamma at L\in F: p_a(\Gamma) = 55 < 3\cdot 24.