Line a 9×13-inch pan with parchment paper, leaving overhang for easy removal.
Melt butter in a large saucepan over medium-low heat. Add marshmallows and stir constantly until smooth.
Stir in pistachio butter, salt, and vanilla until fully combined.
Remove from heat and gently fold in cornflakes until coated.
Transfer mixture to prepared pan and gently press into an even layer without packing too tightly.
Melt dark chocolate with coconut oil until smooth. Pour over bars and spread evenly.
Sprinkle generously with flaky sea salt while chocolate is still wet.
Refrigerate 30–45 minutes until set. Lift from pan, slice, and serve.