//
// cocos2d::CCSpriteBatchNode::init from 0x18008e5b0 to 0x18008e600 (80 bytes)
//
// 4 xrefs:
// > ??> @ 0x180103cc8
// > ??> @ 0x180105a30
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b600c
//
// 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
//
// Hidden C++ exception states: #wind=1
bool __fastcall cocos2d::CCSpriteBatchNode::init(cocos2d::CCSpriteBatchNode *this)
{
cocos2d::CCTexture2D *v2; // rax
struct cocos2d::CCTexture2D *v3; // rbx
v2 = (cocos2d::CCTexture2D *)operator new(0x68u);
if ( v2 )
v3 = (struct cocos2d::CCTexture2D *)cocos2d::CCTexture2D::CCTexture2D(v2);
else
v3 = nullptr;
cocos2d::CCObject::autorelease(v3);
return cocos2d::CCSpriteBatchNode::initWithTexture(this, v3, 0);
}