//
// cocos2d::CCTextureAtlas::initWithFile from 0x5f4666 to 0x5f468c (38 bytes)
//
// 1 xrefs:
// > cocos2d::CCTextureAtlas::create @ 0x5f46a4
//
// 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 *v6; // r0
cocos2d::CCTexture2D *v7; // r0
v6 = cocos2d::CCTextureCache::sharedTextureCache();
v7 = cocos2d::CCTextureCache::addImage(v6, a2, 0);
if ( v7 )
LOBYTE(v7) = cocos2d::CCTextureAtlas::initWithTexture(a1, v7, a3);
return (char)v7;
}