//
// cocos2d::CCAtlasNode::create from 0xd3c380 to 0xd3c414 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0xc7df8
//
// 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:07:26 +0000
//
cocos2d::CCAtlasNode *__fastcall cocos2d::CCAtlasNode::create(
cocos2d::CCAtlasNode *this,
const char *a2,
int a3,
unsigned int a4)
{
int v5; // w21
cocos2d::CCAtlasNode *v7; // x19
v5 = (int)a2;
v7 = (cocos2d::CCAtlasNode *)operator new(0x198u);
cocos2d::CCAtlasNode::CCAtlasNode(v7);
if ( (unsigned __int8)cocos2d::CCAtlasNode::initWithTileFile(v7, (const char *)this, v5, a3, a4) )
{
cocos2d::CCObject::autorelease(v7);
return v7;
}
else
{
(*(void (__fastcall **)(cocos2d::CCAtlasNode *))(*(_QWORD *)v7 + 16LL))(v7);
return nullptr;
}
}