//
// cocos2d::CCTextureAtlas::create from 0x800210 to 0x800246 (54 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:19 +0000
//
cocos2d::CCTextureAtlas *__fastcall cocos2d::CCTextureAtlas::create(
cocos2d::CCTextureAtlas *this,
const char *a2,
unsigned int a3)
{
cocos2d::CCTextureAtlas *v5; // r4
v5 = (cocos2d::CCTextureAtlas *)operator new(0x58u);
cocos2d::CCTextureAtlas::CCTextureAtlas(v5);
if ( cocos2d::CCTextureAtlas::initWithFile(v5, (const char *)this, (unsigned int)a2) )
{
cocos2d::CCObject::autorelease(v5);
return v5;
}
else
{
(*(void (__fastcall **)(cocos2d::CCTextureAtlas *))(*(_DWORD *)v5 + 8))(v5);
return nullptr;
}
}