(;
AB[od][pg][qg]
AW[ld][qd][oe][qf]
C[In this trick move variation of the "magic sword" joseki, White has made the marked exchange before playing the standard contact play above.

How should Black respond to this trick sequence?

Source:
    Go World #21, pp. 39-40
    "Some Popular Trick Moves", Kato Masao 9p]
TR[qf][qg]
(;
B[ne]
C[Following the regular joseki now with this hane is a mistake.];
W[of]
C[White continues normally to split Black, but now White has gained from the marked exchange.]
TR[qf][qg]
)
    (;
    B[pe]
    C[Black should hane here on the other side, and then ...]
    (;
    W[pf];B[of]
    C[... cut here.];
    W[ne]
    (;
    B[pd]
    C[But following up with this connection is bad.];
    W[qe]
    C[After White plays here, Black is close to collapse.]
    )
        (;
        B[qe]
        C[Atari is the correct follow-up.  Black has refuted White's trick play.]
        (;
        W[pd]
        C[If White blocks on this side, ...];
        B[rf]
        C[... Black captures in sente to take a nice profit.]
        )
            (;
            W[rf]
            C[If White goes all out by extending, ...];
            B[re]
            C[... Black makes an even bigger profit than the previous variation.]
            )
        )
    )
        (;
        W[pd]
        C[White can cut on the other side, but ...];
        B[ne]
        C[... Black is OK after this atari.]
        (;
        W[of];B[pf]
        C[Black has a good result, relative to the normal "magic sword" joseki.]
        )
            (;
            W[oc];B[of]
            C[Black makes a ponnuki, and the marked exchange is now bad for White.]
            TR[qf][qg]
            )
        )
    )
)

