Port the rest of the function scanning over from PPSSPP
Merge pull request #272 from Kingcom/Scanning

Complete function scanning