// // cocos2d::CCParticleBatchNode::addChildHelper from 0xb02378 to 0xb02474 (252 bytes) // // 2 xrefs: // > cocos2d::CCParticleBatchNode::addChild @ 0xb02954 // > @ 0xae0f0 // // 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 // unsigned int cocos2d::CCParticleBatchNode::addChildHelper( cocos2d::CCParticleBatchNode *a1, cocos2d::CCParticleSystem *a2, int a3, int a4) { unsigned int v8; // w21 unsigned int v9; // w3 cocos2d::CCArray *v11; // x21 a2->getParent(a2); if ( !a1->m_pChildren ) { v11 = (cocos2d::CCArray *)operator new(0x40u); cocos2d::CCArray::CCArray(v11); a1->m_pChildren = v11; cocos2d::CCArray::initWithCapacity(v11, (cocos2d::_ccArray **)&byte_4); } v8 = cocos2d::CCParticleBatchNode::searchNewPositionInChildrenForZ(a1, a3); cocos2d::CCArray::insertObject(a1->m_pChildren, (cocos2d::_ccArray *)a2, (cocos2d::CCObject *)v8, v9); a2->setTag(a2, a4); a2->_setZOrder(a2, a3); a2->setParent(a2, a1); if ( a1->m_bRunning ) { a2->onEnter(a2); a2->onEnterTransitionDidFinish(a2); } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source