//
// cocos2d::CCAtlasNode::initWithTileFile from 0x180001d60 to 0x180001db8 (88 bytes)
//
// 3 xrefs:
// > cocos2d::CCTileMapAtlas::initWithTileFile @ 0x1800ab290
// > ??> @ 0x1801438a8
// > ??> @ 0x1801ad0f0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
char __fastcall cocos2d::CCAtlasNode::initWithTileFile(
cocos2d::CCAtlasNode *this,
const char *a2,
unsigned int a3,
unsigned 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);
}