Changed: move out sprite unpack funcs