Checks if a given file exists in CCFileUtils search paths.
Function fileExistsInSearchPaths
#include <Geode/utils/cocos.hpp>charconst*filename
)filename
File to check
True if file exists
Examples1
if (fileExistsInSearchPaths("mySprite.png"_spr)) {
CCSprite::create("mySprite.png"_spr);
} else {
CCSprite::create("fallback.png");
}