//
// cocos2d::CCSpriteBatchNode::create from 0x1001558d0 to 0x100155960 (144 bytes)
//
// 9 xrefs:
// > GravityEffectSprite::init @ 0x10008dec3
// > cocos2d::extension::CCControlColourPicker::init @ 0x100340e31
// > BoomScrollLayer::init @ 0x10038e45a
// > cocos2d::extension::CCScale9Sprite::initWithFile_3 @ 0x1003e25d2
// > BrowseSmartTemplateLayer::createDots @ 0x1004e4f2d
// > GJGroundLayer::init @ 0x1006bdd3f
// > GJGroundLayer::init @ 0x1006bdee8
// > GJMGLayer::init @ 0x1006bef13
// > GJMGLayer::init @ 0x1006bf098
//
// 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 12:25:04 +0000
//
_QWORD *__fastcall cocos2d::CCSpriteBatchNode::create(__int64 a1, unsigned int a2)
{
_QWORD *v3; // rdi
__int64 v4; // rax
__int64 v5; // rax
v3 = operator new(0x168u);
cocos2d::CCNode::CCNode(v3);
*v3 = off_100AC64B0;
v3[40] = off_100AC6860;
v3[41] = 0;
v3[43] = 0;
*((_BYTE *)v3 + 352) = 0;
v4 = cocos2d::CCTextureCache::sharedTextureCache(v3);
v5 = cocos2d::CCTextureCache::addImage(v4, a1, 0);
cocos2d::CCSpriteBatchNode::initWithTexture((__int64)v3, v5, a2);
cocos2d::CCObject::autorelease(v3);
return v3;
}