LED lightbulb schematic

I had a bit of time to test out the PCB from that LED light bulb. I’ve just been using continuity tester and ohm-meter for this. Here’s the LED logic. High-side transistors but I haven’t quite figured out how the resistors are wired. I’ve also established the A/C side of the switching regulator but I’m having trouble figuring out the output. Similar to the example in the datasheet but not quite the same.

essential