//
// cocos2d::CCParticleBatchNode::createWithTexture from 0xb020b0 to 0xb02128 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0xad148
//
// 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::CCParticleBatchNode *cocos2d::CCParticleBatchNode::createWithTexture(
cocos2d::CCTexture2D *a1,
unsigned int a2)
{
cocos2d::CCParticleBatchNode *v3; // x19
v3 = (cocos2d::CCParticleBatchNode *)operator new(0x158u);
cocos2d::CCParticleBatchNode::CCParticleBatchNode(v3);
if ( cocos2d::CCParticleBatchNode::initWithTexture(v3, a1, a2) )
{
cocos2d::CCObject::autorelease(v3);
return v3;
}
else
{
v3->~CCParticleBatchNode_0(v3);
return nullptr;
}
}