//
// cocos2d::CCAtlasNode::initWithTileFile from 0x180001d20 to 0x180001d78 (88 bytes)
//
// 3 xrefs:
// > cocos2d::CCTileMapAtlas::initWithTileFile @ 0x1800aea90
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b70fc
//
// This function is hookable on this platform (idp: pc, 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 11:21:15 +0000
//
char __fastcall cocos2d::CCAtlasNode::initWithTileFile(
cocos2d::CCAtlasNode *this,
const char *a2,
int a3,
int a4,
unsigned int a5)
{
cocos2d::CCTextureCache *v9; // rax
struct cocos2d::CCTexture2D *v10; // rax
v9 = cocos2d::CCTextureCache::sharedTextureCache();
v10 = cocos2d::CCTextureCache::addImage(v9, a2, 0);
return cocos2d::CCAtlasNode::initWithTexture(this, v10, a3, a4, a5);
}