// // cocos2d::CCParticleSystem::setTexture from 0x1001960a0 to 0x100196100 (96 bytes) // // 3 xrefs: // > sub_100196100 @ 0x100196104 // > cocos2d::CCParticleSystemQuad::setTextureWithRect @ 0x100253994 // > @ 0x1007a8810 // // 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 __fastcall cocos2d::CCParticleSystem::setTexture(cocos2d::CCParticleSystem *a1, cocos2d::CCTexture2D *a2) { cocos2d::CCTexture2D *m_pTexture; // x0 m_pTexture = a1->m_pTexture; if ( m_pTexture != a2 ) { if ( a2 ) { cocos2d::CCObject::retain(a2); m_pTexture = a1->m_pTexture; } if ( m_pTexture ) cocos2d::CCObject::release(m_pTexture); a1->m_pTexture = a2; ((void (__fastcall *)(cocos2d::CCParticleSystem *))a1->updateBlendFunc)(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source