// // cocos2d::CCParticleBatchNode::addChildHelper from 0x5dd366 to 0x5dd3f0 (138 bytes) // // 1 xrefs: // > cocos2d::CCParticleBatchNode::addChild @ 0x5dd6c2 // // 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) { cocos2d::CCArray *v8; // r6 cocos2d::CCObject *v9; // r6 unsigned int v10; // r3 a2->getParent(a2); if ( !a1->m_pChildren ) { v8 = (cocos2d::CCArray *)operator new(0x38u); cocos2d::CCArray::CCArray(v8); a1->m_pChildren = v8; cocos2d::CCArray::initWithCapacity(v8, (cocos2d::_ccArray **)byte_4); } v9 = (cocos2d::CCObject *)cocos2d::CCParticleBatchNode::searchNewPositionInChildrenForZ(a1, a3); cocos2d::CCArray::insertObject(a1->m_pChildren, (cocos2d::_ccArray *)a2, v9, v10); a2->setTag(a2, a4); a2->_setZOrder(a2, a3); a2->setParent(a2, a1); if ( a1->m_bRunning ) { a2->onEnter(a2); a2->onEnterTransitionDidFinish(a2); } return (unsigned int)v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source