// // cocos2d::CCParticleBatchNode::addChildHelper from 0x180061210 to 0x1800612f2 (226 bytes) // // 3 xrefs: // > cocos2d::CCParticleBatchNode::addChild @ 0x1800611a5 // > @ 0x1801438a8 // > @ 0x1801b3600 // // 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 __int64 __fastcall cocos2d::CCParticleBatchNode::addChildHelper( cocos2d::CCParticleBatchNode *this, struct cocos2d::CCParticleSystem *a2, unsigned int a3, unsigned int a4) { cocos2d::CCArray *v8; // rax unsigned int v9; // esi ((void (__fastcall *)(struct cocos2d::CCParticleSystem *))a2->getParent)(a2); if ( !this->m_pChildren ) { v8 = (cocos2d::CCArray *)operator new(0x40u); if ( v8 ) v8 = cocos2d::CCArray::CCArray(v8); this->m_pChildren = v8; cocos2d::CCArray::initWithCapacity(v8, 4u); } v9 = cocos2d::CCParticleBatchNode::searchNewPositionInChildrenForZ(this, a3); cocos2d::CCArray::insertObject(this->m_pChildren, a2); ((void (__fastcall *)(struct cocos2d::CCParticleSystem *, _QWORD))a2->setTag)(a2, a4); ((void (__fastcall *)(struct cocos2d::CCParticleSystem *, _QWORD))a2->_setZOrder)(a2, a3); ((void (__fastcall *)(struct cocos2d::CCParticleSystem *, cocos2d::CCParticleBatchNode *))a2->setParent)(a2, this); if ( this->m_bRunning ) { ((void (__fastcall *)(struct cocos2d::CCParticleSystem *))a2->onEnter)(a2); ((void (__fastcall *)(struct cocos2d::CCParticleSystem *))a2->onEnterTransitionDidFinish)(a2); } return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source