//
// cocos2d::CCTextureAtlas::initWithFile from 0xb331b8 to 0xb3320c (84 bytes)
//
// 2 xrefs:
// > cocos2d::CCTextureAtlas::create @ 0xb33240
// > ??> @ 0x8ddc8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool cocos2d::CCTextureAtlas::initWithFile(cocos2d::CCTextureAtlas *a1, const char *a2, unsigned int a3)
{
cocos2d::CCTextureCache *v5; // x0
cocos2d::CCTexture2D *v6; // x1
v5 = cocos2d::CCTextureCache::sharedTextureCache();
v6 = cocos2d::CCTextureCache::addImage(v5, a2, 0);
return v6 && cocos2d::CCTextureAtlas::initWithTexture(a1, v6, a3);
}