As this fine French film , written and directed by Olivier Assayas , leapfrogs from Canada to London to Paris to San Francisco , its jangling rhythms reflect the shattered nervous system of its desperate central character , Emily Wang -LRB- Maggie Cheung -RRB- , a recovering heroin addict and aspiring rock singer .