//
// cocos2d::CCTileMapAtlas::create from 0xdb0b00 to 0xdb0b94 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0xaf768
//
// 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:39 +0000
//
cocos2d::CCTileMapAtlas *__fastcall cocos2d::CCTileMapAtlas::create(
cocos2d::CCTileMapAtlas *this,
const char *a2,
const char *a3,
int a4)
{
int v6; // w20
cocos2d::CCTileMapAtlas *v7; // x19
v6 = (int)a3;
v7 = (cocos2d::CCTileMapAtlas *)operator new(0x1B0u);
cocos2d::CCTileMapAtlas::CCTileMapAtlas(v7);
if ( (unsigned __int8)cocos2d::CCTileMapAtlas::initWithTileFile(v7, (const char *)this, a2, v6, a4) )
{
cocos2d::CCObject::autorelease(v7);
return v7;
}
else
{
(*(void (__fastcall **)(cocos2d::CCTileMapAtlas *))(*(_QWORD *)v7 + 16LL))(v7);
return nullptr;
}
}