Slowly redrawing the AC detect section of a console power supply on paper and I keep stalling on one little three-legged part. The idea seems simple enough, mains comes in, gets turned into DC and knocked way down through a chain of big resistors, then feeds the LED side of an optocoupler so the main controller knows there's live power coming in.
Problem is I can't confidently match the markings on that part to anything, so I'm torn between two ways forward. Keep hunting datasheets by package and marking code til something clicks, which feels more accurate but could eat a whole weekend, or just work out what the circuit needs electrically and sub in something that behaves the same. So which would you do? If the voltages around it measure sane on the bench, is there any real downside to substituting an equivalent and moving on, or does that feel sloppy for a schematic other people might follow later? Curious where people draw the line between exact identification and good enough.