// // cocos2d::CCParticleSystem::setBatchNode from 0xafd438 to 0xafd474 (60 bytes) // // 3 xrefs: // > cocos2d::CCParticleSystemQuad::setBatchNode @ 0xb03b48 // > @ 0x39858 // > @ 0x1216b08 // // 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 // void cocos2d::CCParticleSystem::setBatchNode(cocos2d::CCParticleSystem *a1, cocos2d::CCParticleBatchNode *a2) { unsigned int m_uTotalParticles; // w2 cocos2d::tCCParticle *m_pParticles; // x1 float v4; // w0 cocos2d::sCCParticle::$D631DC10D9180B16F31D0A61BBB718E6 *p_modeA; // x1 if ( a1->m_pBatchNode != a2 ) { a1->m_pBatchNode = a2; if ( a2 ) { m_uTotalParticles = a1->m_uTotalParticles; if ( m_uTotalParticles ) { m_pParticles = a1->m_pParticles; v4 = 0.0; p_modeA = &m_pParticles->modeA; do { p_modeA->dir.x = v4; p_modeA = (cocos2d::sCCParticle::$D631DC10D9180B16F31D0A61BBB718E6 *)((char *)p_modeA + 148); ++LODWORD(v4); } while ( LODWORD(v4) != m_uTotalParticles ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source