//
// cocos2d::CCTextureAtlas::createWithTexture from 0xb33140 to 0xb331b8 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x5bf08
//
// 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 *v3; // x19
v3 = (cocos2d::CCTextureAtlas *)operator new(0x70u);
cocos2d::CCTextureAtlas::CCTextureAtlas(v3);
if ( cocos2d::CCTextureAtlas::initWithTexture(v3, a1, a2) )
{
cocos2d::CCObject::autorelease(v3);
return v3;
}
else
{
v3->~CCTextureAtlas_0(v3);
return nullptr;
}
}