//
// cocos2d::CCSpriteBatchNode::initWithFile from 0x18008e600 to 0x18008e648 (72 bytes)
//
// 3 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b600c
// > ??> @ 0x1801b6018
//
// 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
//
bool __fastcall cocos2d::CCSpriteBatchNode::initWithFile(
cocos2d::CCSpriteBatchNode *this,
const char *a2,
unsigned int a3)
{
cocos2d::CCTextureCache *v6; // rax
struct cocos2d::CCTexture2D *v7; // rax
v6 = cocos2d::CCTextureCache::sharedTextureCache();
v7 = cocos2d::CCTextureCache::addImage(v6, a2, 0);
return cocos2d::CCSpriteBatchNode::initWithTexture(this, v7, a3);
}