//
// cocos2d::CCTextureAtlas::initWithFile from 0xda46dc to 0xda4730 (84 bytes)
//
// 2 xrefs:
// > cocos2d::CCTextureAtlas::create @ 0xda4764
// > ??> @ 0xbbcf0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:08:31 +0000
//
__int64 __fastcall cocos2d::CCTextureAtlas::initWithFile(
cocos2d::CCTextureAtlas *this,
const char *a2,
unsigned int a3)
{
cocos2d::CCTextureCache *v5; // x0
cocos2d::CCTexture2D *v6; // x1
v5 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(this);
v6 = (cocos2d::CCTexture2D *)cocos2d::CCTextureCache::addImage(v5, a2, 0);
if ( v6 )
return cocos2d::CCTextureAtlas::initWithTexture(this, v6, a3);
else
return 0;
}