So two coils are grounded. The stator has three coils. The small one is most likely a trigger for the cdi , one of the two coils is the ignition coil that feeds the ht coil and is stepped up in voltage by the "transformer " part of the ht coil ( the thing that has a big fat wire to the spark plug) .
Which one is the lighting coil ?? That is the coil whose other wire is yellow ( I'm assuming the colors are like other stators seeing I've never seen this particular stator before ) one u definitively know which coil is the lighting coil you would need to cut the other end which should be one of those two soldered ends.
Does this stator have a wiring diagram. Plus take a bunch of pics. What I want to make sure is that the ignition coil isn't already floated ( example a vespa ignition coil other end powers the brake light )