//
// cocos2d::CCTextureAtlas::create from 0xda4730 to 0xda47a8 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x51118
//
// 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
//
cocos2d::CCTextureAtlas *__fastcall cocos2d::CCTextureAtlas::create(cocos2d::CCTextureAtlas *this, const char *a2)
{
cocos2d::CCTextureAtlas *v3; // x19
unsigned int v5; // [xsp+28h] [xbp+28h]
v5 = (unsigned int)a2;
v3 = (cocos2d::CCTextureAtlas *)operator new(0x70u);
cocos2d::CCTextureAtlas::CCTextureAtlas(v3);
if ( (unsigned __int8)cocos2d::CCTextureAtlas::initWithFile(v3, (const char *)this, v5) )
{
cocos2d::CCObject::autorelease(v3);
return v3;
}
else
{
(*(void (__fastcall **)(cocos2d::CCTextureAtlas *))(*(_QWORD *)v3 + 16LL))(v3);
return nullptr;
}
}