Find the overlay and underlay flo loaders in the client. From there you can find the definition file. The opcodes used in the file are the same order as the 317 one, so you can use that to rename.
I hadnt really checked the tile blending code in the newer clients. I had just assumed that it was nearly identical.