//
// cocos2d::CCTextureAtlas::createWithTexture from 0x5f4630 to 0x5f4666 (54 bytes)
//
// 0 xrefs:
//
// 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
//
cocos2d::CCTextureAtlas *cocos2d::CCTextureAtlas::createWithTexture(cocos2d::CCTexture2D *a1, unsigned int a2)
{
cocos2d::CCTextureAtlas *v4; // r4
v4 = (cocos2d::CCTextureAtlas *)operator new(0x58u);
cocos2d::CCTextureAtlas::CCTextureAtlas(v4);
if ( cocos2d::CCTextureAtlas::initWithTexture(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
return v4;
}
else
{
v4->~CCTextureAtlas_0(v4);
return nullptr;
}
}