// // cocos2d::CCParticleSystem::updateBlendFunc from 0x100196108 to 0x100196170 (104 bytes) // // 2 xrefs: // > @ 0x1007a8888 // > @ 0x1007cf828 // // 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::updateBlendFunc(cocos2d::CCParticleSystem *a1) { cocos2d::CCTexture2D *m_pTexture; // x0 _BOOL4 hasPremultipliedAlpha; // w0 m_pTexture = a1->m_pTexture; if ( m_pTexture ) { hasPremultipliedAlpha = cocos2d::CCTexture2D::hasPremultipliedAlpha(m_pTexture); a1->m_bOpacityModifyRGB = 0; if ( a1->m_pTexture ) { if ( a1->m_tBlendFunc.src == 1 && a1->m_tBlendFunc.dst == 771 ) { if ( hasPremultipliedAlpha ) a1->m_bOpacityModifyRGB = 1; else a1->m_tBlendFunc = (cocos2d::ccBlendFunc)0x30300000302LL; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source