//
// cocos2d::CCSpriteBatchNode::initWithFile from 0xd89824 to 0xd89864 (64 bytes)
//
// 2 xrefs:
// > cocos2d::CCSpriteBatchNode::create @ 0xd89898
// > ??> @ 0xd89a0
//
// 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:14 +0000
//
__int64 __fastcall cocos2d::CCSpriteBatchNode::initWithFile(
cocos2d::CCSpriteBatchNode *this,
const char *a2,
unsigned int a3)
{
cocos2d::CCTextureCache *v5; // x0
cocos2d::CCTexture2D *v6; // x0
v5 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(this);
v6 = (cocos2d::CCTexture2D *)cocos2d::CCTextureCache::addImage(v5, a2, 0);
return cocos2d::CCSpriteBatchNode::initWithTexture(this, v6, a3);
}