//
// cocos2d::CCSpriteBatchNode::create from 0x100176520 to 0x1001765b0 (144 bytes)
//
// 9 xrefs:
// > GravityEffectSprite::init @ 0x1000bfb23
// > cocos2d::extension::CCControlColourPicker::init @ 0x100355721
// > BoomScrollLayer::init @ 0x1003a4e3a
// > cocos2d::extension::CCScale9Sprite::initWithFile_3 @ 0x1003f53f2
// > BrowseSmartTemplateLayer::createDots @ 0x1004ea46d
// > GJGroundLayer::init @ 0x1005eacaf
// > GJGroundLayer::init @ 0x1005eae58
// > GJMGLayer::init @ 0x1005ebe83
// > GJMGLayer::init @ 0x1005ec008
//
// 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
//
cocos2d::CCSpriteBatchNode *__fastcall cocos2d::CCSpriteBatchNode::create(const char *a1, unsigned int a2)
{
cocos2d::CCSpriteBatchNode *v2; // rbx
cocos2d::CCTextureCache *v3; // rax
cocos2d::CCTexture2D *v4; // rax
v2 = (cocos2d::CCSpriteBatchNode *)operator new(0x168u);
cocos2d::CCNode::CCNode(v2);
v2->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCSpriteBatchNode_vtbl *)off_1008C2C20;
v2->cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_1008C2FC0;
v2->m_pobTextureAtlas = nullptr;
v2->m_pobDescendants = nullptr;
v2->m_bManualSortChildren = 0;
v3 = cocos2d::CCTextureCache::sharedTextureCache();
v4 = cocos2d::CCTextureCache::addImage(v3, a1, 0);
cocos2d::CCSpriteBatchNode::initWithTexture(v2, v4, a2);
cocos2d::CCObject::autorelease(v2);
return v2;
}